/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
.partner-logo {
    max-height: 100px; /* Adjust the height as needed */
    margin: 0 auto; /* Center the logo */
}

/* Requirements Section Styling */
.requirements-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.requirements-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.requirements-box h3 i {
    margin-right: 10px;
}

.requirements-list {
    font-size: 14px;
    line-height: 1.6;
    counter-reset: item;
    padding-left: 0;
    list-style: none;
}

.requirements-list > li {
    display: block;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    counter-increment: item;
}

.requirements-list > li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 16px;
}

.requirements-list ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.requirements-list ul li {
    margin-bottom: 5px;
}

.requirements-list strong {
    font-weight: 600;
}

/* Hide on desktop (screens larger than 991px) */
@media (min-width: 992px) {
    .hidden_desktop {
        display: none !important;
    }
}

/* Hide number input spinner buttons */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.semester-scores .col-md-2 {
    padding: 0 5px;
}

.semester-scores input[readonly] {
    background-color: #f8f9fa;
    font-weight: bold;
    border: 2px solid #dee2e6;
}

.subject-header {
    background: #f8f9fa;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
}

.grade-input {
    text-align: center;
    font-weight: normal;
}

.average-field {
    background: #f8f9fa !important;
    color: #333 !important;
    text-align: center;
    font-weight: 500;
    border: 1px solid #dee2e6 !important;
}

.overall-average {
    background: #f8f9fa !important;
    color: #333 !important;
    text-align: center;
    font-size: 1em !important;
    font-weight: 500 !important;
    border: 1px solid #dee2e6 !important;
}

/* Auto-save notification styling */
.auto-save-notification {
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* FilePond custom styling */
.filepond--root {
    margin-bottom: 15px;
}

.filepond--drop-label {
    color: #666;
    font-size: 14px;
}

.filepond--label-action {
    color: #007bff;
    text-decoration: underline;
}

.filepond--panel-root {
    background-color: #fafafa;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.filepond--panel-root:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.filepond--item-panel {
    background-color: #f8f9fa;
    border-radius: 6px;
}

.filepond--file-action-button {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
}

.filepond--file-action-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Progress indicator for file uploads */
.filepond--file-status {
    font-size: 12px;
    font-weight: 500;
}

/* File preview styling */
.filepond--image-preview {
    border-radius: 6px;
}

/* Custom styling for file input containers */
.file-upload-container {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-container .form-label {
    margin-bottom: 8px;
    font-weight: 500;
}

.file-upload-container .help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Draft status indicator */
.draft-indicator {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(255, 193, 7, 0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.draft-indicator i {
    margin-right: 5px;
}

/* Custom file upload styling */
.file-upload-wrapper {
    margin-bottom: 15px;
}

.file-drop-zone {
    border: 2px dashed #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    background: #fafafa !important;
    margin-bottom: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.file-drop-zone:hover {
    border-color: #007bff !important;
    background-color: #f0f8ff !important;
}

.file-drop-zone i {
    font-size: 24px !important;
    color: #666 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.file-drop-zone p {
    margin: 0 !important;
    color: #666 !important;
    font-weight: 500 !important;
}

.file-drop-zone small {
    color: #999 !important;
    font-size: 12px !important;
    display: block !important;
    margin-top: 5px !important;
}

.file-info {
    padding: 10px !important;
    background: #e8f5e8 !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
    border: 1px solid #c3e6c3 !important;
}

.file-info.error {
    background: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.file-name {
    font-weight: 500 !important;
    color: #333 !important;
}

.file-name a {
    color: #007bff !important;
    text-decoration: none !important;
}

.file-name a:hover {
    text-decoration: underline !important;
}

.file-status {
    float: right !important;
    font-weight: 500 !important;
}

/* Hide original file inputs */
input[type="file"] {
    display: none !important;
}

/* File category labels */
.file-category-label {
    font-weight: 600 !important;
    color: #495057 !important;
    text-transform: uppercase !important;
    font-size: 0.9em !important;
    letter-spacing: 0.5px !important;
}

/* Main question titles styling */
.main_question {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.main_question::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Semester scores responsive layout */
@media (max-width: 767px) {
    .semester-scores.row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        margin: 0 !important;
    }

    .semester-scores .col-md-2 {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        padding: 0 2px !important;
        margin-bottom: 10px !important;
    }

    .semester-scores .col-md-2:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
    }

    .semester-scores input {
        font-size: 14px !important;
        padding: 8px !important;
    }

    .semester-scores label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
}

@media (max-width: 767.98px) {
    .d-flex.justify-content-between.align-items-center.flex-wrap.flex-md-nowrap {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .d-flex.justify-content-between.align-items-center.flex-wrap.flex-md-nowrap
        form {
        margin-top: 1rem !important;
        width: 100%;
    }
}
.bg_color_3 {
    background-color: #c44242;
}
.margin_45_45 {
    padding-top: 45px;
    padding-bottom: 45px;
}
@media (max-width: 991px) {
    .margin_45_45 {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}
@media (max-width: 575px) {
    .margin_45_45 {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}