/* Survey Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.course-survey-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.course-survey-modal-close:hover,
.course-survey-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#course-survey-form .form-group {
    margin-bottom: 20px;
}

#course-survey-form .form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#course-survey-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Add styles for radio buttons */
#course-survey-form .radio-group {
    margin-top: 8px;
}

#course-survey-form .radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

#course-survey-form .radio-option input[type="radio"] {
    margin-right: 8px;
}

/* Error state for form fields */
#course-survey-form .form-control.error,
#course-survey-form .radio-group.error {
    border-color: #dc3545;
}

/* Make textareas a bit taller */
#course-survey-form textarea.form-control {
    min-height: 80px;
}

.survey-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.survey-modal-content {
    background-color: #fefefe;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}

.survey-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.survey-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.survey-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.survey-modal-close:hover,
.survey-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.survey-modal-body {
    padding: 20px 0;
    max-height: 70vh;
    overflow-y: auto;
}

.survey-modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

#course-survey-form label {
    display: block;
    margin: 10px 0;
    font-weight: 500;
    color: #333;
}

#course-survey-form input[type="checkbox"] {
    margin-right: 10px;
}

#course-survey-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    height: 40px;
    margin-top: 5px;
}

#course-survey-form select:focus {
    border-color: #004868;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 72, 104, 0.1);
}

#course-survey-form select.error {
    border-color: #dc3545;
} 