/* Role-Based Feedback System Styles */

/* Instructor Section */
.instructor-section {
    border: 2px solid #bf4f17;
    background-color: rgba(191, 79, 23, 0.2);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.instructor-readonly-section {
    border: 2px solid #bf4f17;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: rgba(191, 79, 23, 0.2);
}

.instructor-section h5,
.instructor-readonly-section h5 {
    color: #bf4f17;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* Assessor Section */
.assessor-section {
    border: 2px solid #8c0304;
    background-color: rgba(140, 3, 4, 0.2);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.assessor-readonly-section {
    border: 2px solid #8c0304;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: rgba(140, 3, 4, 0.2);
}

.assessor-section h5,
.assessor-readonly-section h5 {
    color: #8c0304;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* IQA Section */
.iqa-section {
    border: 2px solid #00642e;
    background-color: rgba(0, 100, 46, 0.2);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.iqa-readonly-section {
    border: 2px solid #00642e;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: rgba(0, 100, 46, 0.2);
}

.iqa-section h5,
.iqa-readonly-section h5 {
    color: #00642e;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* LIQA Section */
.liqa-section {
    border: 2px solid #3a0456;
    background-color: rgba(58, 4, 86, 0.2);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.liqa-readonly-section {
    border: 2px solid #3a0456;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: rgba(58, 4, 86, 0.2);
}

.liqa-section h5,
.liqa-readonly-section h5 {
    color: #3a0456;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* Read-only content display */
.readonly-content {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Assessment criteria list styling */
.assessment-criteria-list {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    border-radius: 0 4px 4px 0;
}

.assessment-criteria-list strong {
    display: inline-block;
    margin-bottom: 5px;
    color: #495057;
    font-size: 14px;
}

.assessment-criteria-list span {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

/* Role-specific styling for assessment criteria in read-only sections */
.instructor-readonly-section .assessment-criteria-list {
    border-left-color: #bf4f17;
}

.instructor-readonly-section .assessment-criteria-list strong {
    color: #bf4f17;
}

.assessor-readonly-section .assessment-criteria-list {
    border-left-color: #8c0304;
}

.assessor-readonly-section .assessment-criteria-list strong {
    color: #8c0304;
}

.iqa-readonly-section .assessment-criteria-list {
    border-left-color: #00642e;
}

.iqa-readonly-section .assessment-criteria-list strong {
    color: #00642e;
}

.liqa-readonly-section .assessment-criteria-list {
    border-left-color: #3a0456;
}

.liqa-readonly-section .assessment-criteria-list strong {
    color: #3a0456;
}

/* Custom field labels with role colors */
.instructor-section .custom-field-label {
    color: #bf4f17;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.assessor-section .custom-field-label {
    color: #8c0304;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.iqa-section .custom-field-label {
    color: #00642e;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.liqa-section .custom-field-label {
    color: #3a0456;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Custom field groups */
.custom-field-group {
    margin-bottom: 20px;
}

/* Conditional fields */
.conditional-field {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-top: 10px;
}

.conditional-field textarea {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

/* Checkbox and radio groups */
.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox-item input,
.radio-item input {
    margin-right: 8px;
}

/* Textarea styling */
.liqa-section textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
}

/* Save button containers */
.save-button-container {
    text-align: right;
    margin-top: 15px;
}

/* Save button styling to match MasterStudy */
.save-button-container .masterstudy-button {
    cursor: pointer;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: white!important;
}

/* Role-specific save button colors */
.instructor-section .masterstudy-button {
    background-color: #bf4f17!important;
    border: 2px solid #bf4f17!important;
}

.assessor-section .masterstudy-button {
    background-color: #8c0304!important;
    border: 2px solid #8c0304!important;
}

.iqa-section .masterstudy-button {
    background-color: #00642e!important;
    border: 2px solid #00642e!important;
}

.liqa-section .masterstudy-button {
    background-color: #3a0456!important;
    border: 2px solid #3a0456!important;
}

/* Role-specific save button colors */
.instructor-section button:hover {
    background-color: #ffffff!important;
    border-color: #bf4f17!important;
    color: #bf4f17!important;
}

.assessor-section button:hover {
    background-color: #ffffff!important;
    border-color: #8c0304!important;
    color: #8c0304!important;
}

.iqa-section button:hover {
    background-color: #ffffff!important;
    border-color: #00642e!important;
    color: #00642e!important;
}

.liqa-section button:hover {
    background-color: #ffffff!important;
    border-color: #3a0456!important;
    color: #3a0456!important;
}





/* Assessment Summary header */
.assessment-summary-header {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
