/* Modal Styles */





/* Inline content styling */
.zuwad-direct-content {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    min-width: 250px;
}





.zuwad-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: flex; /* Ensure this is added */
}

.zuwad-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    /* height: 90vh; */
  max-height: 90vh;
  overflow: auto;
}

.zuwad-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.zuwad-close-modal:hover {
    color: #000;
}

/* Search Bar */
.zuwad-search-bar {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.zuwad-search-results {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    /* margin-top: 40px; */
    border-radius: 5px;
    position: absolute;
    background-color: #fff;
    z-index: 2000;

}



.student-result {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.student-result:hover {
    background-color: #f9f9f9;
}

/* Form Styles */
.zuwad-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.class-time {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zuwad-day-picker,
.zuwad-time-picker {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.zuwad-add-button,
.zuwad-submit-button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.zuwad-add-button {
    background-color: #d09b11;
    color: #fff;
        width: 50%;
}

.zuwad-submit-button {
    background-color: var(--primary-color);
    color: #fff;
}

.zuwad-add-button:hover {
    background-color: #b7870b;
}








.zuwad-remove-class {
    width: 54px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    padding: 0;
    margin-bottom: 15px;
}

.zuwad-remove-class:hover {
    background-color: #c90e0e;
}