/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 20 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
    --app-font-sans: "Be Vietnam Pro", "Segoe UI", Tahoma, Arial, sans-serif;
}

.student-google-page,
.student-google-admin {
    width: 100%;
    display: grid;
    gap: 18px;
}

.student-google-head,
.student-google-admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #d6e3f4;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b5aa0, #0d8a76);
    color: #fff;
}

.student-youtube-head {
    background: linear-gradient(135deg, #b91c1c, #0f766e);
}

.student-google-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: .9;
}

.student-google-head h1,
.student-google-admin-head h1 {
    margin: 4px 0;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.15;
    color: inherit;
}

.student-google-head p,
.student-google-admin-head p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, .88);
}

.student-google-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 16px;
    align-items: start;
}

.student-google-card {
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 45, 84, .06);
}

.student-google-card h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #062b52;
}

.student-google-card p {
    color: #4b5f7b;
}

.student-google-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.student-google-card-head p {
    margin: 0;
}

.student-google-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
}

.student-google-status-ok {
    color: #047857;
    background: #d1fae5;
}

.student-google-status-error {
    color: #b91c1c;
    background: #fee2e2;
}

.student-google-status-warning {
    color: #9a3412;
    background: #ffedd5;
}

.student-google-status-neutral {
    color: #475569;
    background: #e2e8f0;
}

.student-google-meta {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .92rem;
}

.student-google-meta strong {
    color: #0b2f55;
}

.student-google-key-state {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #dbe6f5;
    color: #475569;
    font-size: .92rem;
    min-width: 0;
}

.student-google-key-state-ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.student-google-key-state-warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

.student-google-key-state-error {
    background: #fff1f2;
    border-color: #fecdd3;
}

.student-google-label {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.student-google-key-mask {
    display: block;
    max-width: 100%;
    color: #0b2f55;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: .92rem;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-google-alert {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.student-google-alert strong {
    color: #7c2d12;
}

.student-google-alert span {
    font-weight: 500;
}

.student-google-key-form,
.student-google-search-form {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.student-google-update-key {
    margin-top: 14px;
}

.student-google-update-key summary {
    cursor: pointer;
    font-weight: 800;
    color: #0b5aa0;
}

.student-google-key-form label {
    font-weight: 700;
    color: #0b2f55;
}

.student-google-key-row {
    display: flex;
    gap: 10px;
}

.student-google-key-row .form-control {
    min-height: 42px;
}

.student-google-key-row .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.student-google-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.student-google-danger-zone {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff7f7;
}

.student-google-danger-zone p {
    margin: 0;
    color: #7f1d1d;
    font-size: .88rem;
}

.student-google-guide-modal .modal-title {
    color: #0b2f55;
    font-weight: 800;
}

.student-google-guide-modal .modal-body {
    color: #243b5a;
}

.student-google-guide-callout {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
}

.student-google-guide-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding-left: 22px;
}

.student-google-guide-steps li {
    padding-left: 4px;
}

.student-google-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.student-google-guide-grid > div {
    padding: 12px;
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #f8fafc;
}

.student-google-guide-grid h6 {
    margin: 0 0 8px;
    color: #0b2f55;
    font-weight: 800;
}

.student-google-guide-grid ul {
    margin: 0;
    padding-left: 18px;
}

.student-google-guide-grid li + li {
    margin-top: 6px;
}

.student-google-note,
.student-google-search-note {
    margin: 12px 0 0;
    font-size: .9rem;
    color: #64748b;
}

.student-google-run-form {
    margin-bottom: 14px;
}

.student-google-result {
    padding: 14px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #0f2744;
    line-height: 1.65;
}

.student-google-empty {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    overflow-wrap: anywhere;
}

.student-youtube-results {
    display: grid;
    gap: 12px;
}

.student-youtube-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    padding: 12px;
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #fff;
}

.student-youtube-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}

.student-youtube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-youtube-thumb span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.student-youtube-body h2 {
    margin: 0 0 7px;
    font-size: 1.04rem;
    line-height: 1.35;
}

.student-youtube-body h2 a {
    color: #082f56;
    text-decoration: none;
}

.student-youtube-body h2 a:hover {
    text-decoration: underline;
}

.student-youtube-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #64748b;
    font-size: .9rem;
}

.student-youtube-body p {
    margin: 8px 0 0;
    color: #475569;
}

.student-google-admin-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.student-google-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #cfe0f6;
    border-radius: 8px;
    background: #f8fbff;
    font-weight: 700;
}

.student-google-admin-submit {
    margin-top: 16px;
}

.student-google-class-help {
    margin-top: 16px;
    color: #334155;
}

.student-google-class-help summary {
    cursor: pointer;
    font-weight: 800;
    color: #0b2f55;
}

.student-google-class-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.student-google-class-list span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b2f55;
}

.student-google-admin-table {
    overflow-x: auto;
}

.student-google-admin-detail {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 16px;
    margin: 0;
}

.student-google-admin-detail dt {
    color: #64748b;
    font-weight: 800;
}

.student-google-admin-detail dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .student-google-grid,
    .student-youtube-item {
        grid-template-columns: 1fr;
    }

    .student-youtube-thumb {
        max-width: 420px;
    }
}

@media (max-width: 576px) {
    .student-google-page,
    .student-google-admin {
        gap: 12px;
    }

    .student-google-head,
    .student-google-admin-head {
        display: grid;
        padding: 14px;
    }

    .student-google-head h1,
    .student-google-admin-head h1 {
        font-size: 1.32rem;
    }

    .student-google-card {
        padding: 14px;
    }

    .student-google-card-head {
        display: grid;
        gap: 8px;
    }

    .student-google-key-row {
        display: grid;
    }

    .student-google-key-row .btn,
    .student-google-actions .btn,
    .student-google-actions form,
    .student-google-run-form .btn {
        width: 100%;
    }

    .student-youtube-results {
        gap: 10px;
    }

    .student-youtube-item {
        padding: 10px;
    }

    .student-google-admin-options,
    .student-google-actions {
        display: grid;
    }

    .student-google-danger-zone .btn {
        width: 100%;
    }

    .student-google-guide-grid {
        grid-template-columns: 1fr;
    }

    .student-google-admin-detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.sidebar-notification-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.student-notification-page {
    width: 100%;
}

.student-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(22, 49, 86, .06);
    margin-bottom: 16px;
}

.student-notification-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b5a9a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.student-notification-header h1 {
    margin: 6px 0 6px;
    color: #073763;
    font-size: 30px;
    font-weight: 800;
}

.student-notification-header p {
    margin: 0;
    color: #5f6f84;
}

.student-notification-read-all {
    white-space: nowrap;
}

.student-notification-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.student-notification-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 38px 20px;
    border: 1px dashed #cbd9e8;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.student-notification-empty i {
    font-size: 38px;
    color: #7a8ba3;
}

.student-notification-empty h2 {
    margin: 0;
    color: #17324d;
    font-size: 22px;
    font-weight: 800;
}

.student-notification-empty p {
    margin: 0;
    color: #64748b;
}

.student-notification-list {
    display: grid;
    gap: 10px;
}

.student-notification-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    background: #fff;
}

.student-notification-item.is-unread {
    border-left: 4px solid #0d6efd;
    background: #f8fbff;
}

.student-notification-item.is-important {
    border-left-color: #c2410c;
}

.student-notification-item.is-important .student-notification-icon {
    background: #fff7ed;
    color: #c2410c;
}

.student-notification-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6ff;
    color: #0b5a9a;
    font-size: 20px;
}

.student-notification-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.student-notification-title-row h2 {
    margin: 0;
    color: #073763;
    font-size: 18px;
    font-weight: 800;
}

.student-notification-content p {
    margin: 5px 0 7px;
    color: #334155;
    line-height: 1.55;
}

.student-notification-unread-dot {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #0b5ed7;
    font-size: 12px;
    font-weight: 800;
}

.student-notification-type,
.student-notification-priority {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #33509f;
    font-size: 12px;
    font-weight: 800;
}

.student-notification-priority {
    background: #ffedd5;
    color: #9a3412;
}

.student-notification-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13px;
}

.student-notification-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.student-notification-pagination {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .student-notification-header {
        padding: 16px;
        display: grid;
    }

    .student-notification-header h1 {
        font-size: 24px;
    }

    .student-notification-read-all {
        width: 100%;
    }

    .student-notification-header-actions,
    .student-notification-header-actions .btn,
    .student-notification-header-actions form {
        width: 100%;
    }

    .student-notification-item {
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: start;
        padding: 13px;
        gap: 10px;
    }

    .student-notification-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .student-notification-action {
        grid-column: 1 / -1;
    }

    .student-notification-action .btn {
        width: 100%;
    }
}

.manual-notification-page {
    width: 100%;
}

.manual-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(22, 49, 86, .06);
    margin-bottom: 14px;
}

.manual-notification-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b5a9a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.manual-notification-header h1 {
    margin: 6px 0 6px;
    color: #073763;
    font-size: 28px;
    font-weight: 800;
}

.manual-notification-header p {
    margin: 0;
    color: #64748b;
}

.manual-notification-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.manual-notification-card {
    padding: 18px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 14px;
}

.manual-notification-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.manual-notification-preview {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #f8fbff;
}

.manual-notification-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.manual-notification-preview-header h2,
.manual-notification-section-title {
    margin: 0;
    color: #073763;
    font-size: 20px;
    font-weight: 800;
}

.manual-notification-preview-header span {
    color: #0b5ed7;
    font-weight: 800;
}

.manual-notification-preview-line {
    margin-bottom: 8px;
    color: #334155;
}

.manual-notification-recipient-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.manual-notification-recipient-list span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbeafe;
    color: #17324d;
    font-size: 13px;
}

.manual-notification-empty {
    padding: 18px;
    border: 1px dashed #cbd9e8;
    border-radius: 10px;
    color: #64748b;
    text-align: center;
}

.manual-notification-grant-form {
    margin: 0;
}

.manual-notification-table th {
    color: #073763;
    font-weight: 800;
}

.manual-notification-pagination {
    margin-top: 14px;
}

@media (max-width: 768px) {
    .manual-notification-header {
        display: grid;
        padding: 16px;
    }

    .manual-notification-header h1 {
        font-size: 23px;
    }

    .manual-notification-actions,
    .manual-notification-actions .btn,
    .manual-notification-form-actions,
    .manual-notification-form-actions .btn {
        width: 100%;
    }

    .manual-notification-card {
        padding: 14px;
    }

    .manual-notification-preview-header {
        display: grid;
    }
}

.sls-hero,
.sls-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #073b7a, #0f766e);
    color: #fff;
    box-shadow: 0 16px 38px rgba(15, 33, 66, .16);
    margin-bottom: 18px;
}

.sls-hero h1,
.sls-page-header h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0;
}

.sls-hero p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .84);
}

.sls-page-header .text-muted {
    color: rgba(255, 255, 255, .82) !important;
}

.sls-eyebrow {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #bdf4e5;
    letter-spacing: 0;
}

.sls-hero-actions {
    flex: 0 0 auto;
}

.sls-card {
    border: 1px solid #e5edf7;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 33, 66, .06);
}

.sls-card .card-title {
    color: #082f55;
    font-weight: 700;
    letter-spacing: 0;
}

.sls-card .grid-view {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sls-card .grid-view > table {
    margin-bottom: 0;
}

.sls-fixed-field {
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-fixed-field span {
    display: block;
    margin-bottom: 6px;
    color: #6b7d90;
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sls-fixed-field strong {
    display: block;
    color: #082f55;
    font-size: 1rem;
    line-height: 1.35;
}

body:has(.sls-page-header) .section.dashboard > .row {
    margin-left: 0;
    margin-right: 0;
}

body:has(.sls-legacy-workspace) .section.dashboard > .row {
    margin-left: 0;
    margin-right: 0;
}

body:has(.sls-card) .section.dashboard > .row {
    margin-left: 0;
    margin-right: 0;
}

.sls-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.sls-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0a477a;
    font-size: .88rem;
    font-weight: 600;
}

.sls-student-index-head {
    margin-bottom: 12px;
}

.sls-student-index-head h1 {
    margin: 0;
    color: #082f55;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0;
}

.sls-student-index-head p {
    margin: 4px 0 0;
    color: #667085;
}

.sls-student-course-card .card-body {
    padding: 16px;
}

.sls-student-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.sls-student-course-card h5 {
    margin: 0;
    color: #082f55;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.32;
}

.sls-student-course-date {
    margin-top: 6px;
    color: #475467;
    font-size: .92rem;
}

.sls-student-course-assignment {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    color: #334e68;
    font-size: .9rem;
}

.sls-student-course-assignment span {
    overflow-wrap: anywhere;
}

.sls-student-course-actions {
    margin-top: 14px;
}

.sls-student-progress {
    height: 19px;
    margin: 14px 0 16px;
    background: #e9eef4;
    border-radius: 5px;
}

.sls-student-progress .progress-bar {
    font-size: .78rem;
    font-weight: 700;
}

.sls-student-journal-actions {
    margin-bottom: 12px;
}

.sls-student-journal-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sls-student-journal-table {
    min-width: 760px;
    background: #fff;
}

.sls-student-journal-table th {
    background: #f8fafc;
    text-align: center;
    color: #111827;
    font-weight: 700;
}

.sls-student-journal-table td {
    vertical-align: top;
}

.sls-student-journal-table tr.is-empty td {
    background: #fbf5e9;
    border-bottom: 2px solid #8d7a56;
}

.sls-student-journal-table tr.is-weekend td {
    background: #f3f6f9;
}

.sls-student-journal-table tr.is-today td {
    background: #eef6ff;
}

.sls-student-journal-table tr.has-report td {
    background: #fff;
}

.sls-journal-date {
    width: 32%;
    color: #1f2937;
}

.sls-journal-date-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.sls-journal-date-text {
    min-width: 0;
}

.sls-journal-state-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 1px solid #d8e3ef;
    border-radius: 999px;
    background: #f8fbff;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.sls-journal-state-pill.is-approved {
    border-color: #a8dfbf;
    background: #ecfdf3;
    color: #087443;
}

.sls-journal-state-pill.is-revision {
    border-color: #f5c56f;
    background: #fff7e8;
    color: #9a5b00;
}

.sls-journal-state-pill.is-resubmitted {
    border-color: #b8d4ff;
    background: #eff6ff;
    color: #0b62d6;
}

.sls-journal-state-pill.is-pending {
    border-color: #d8e3ef;
    background: #f4f7fb;
    color: #475569;
}

.sls-journal-report-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 31%);
    gap: 12px;
    align-items: start;
}

.sls-journal-main,
.sls-journal-side {
    min-width: 0;
}

.sls-journal-site-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sls-journal-indicators {
    color: #2f7d32;
    line-height: 1.45;
}

.sls-journal-note {
    margin-top: 6px;
    color: #111827;
    line-height: 1.45;
}

.sls-journal-section-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 5px;
    color: #0b355f;
    font-weight: 700;
}

.sls-journal-section-label small {
    color: #667085;
    font-size: .78rem;
    font-weight: 600;
}

.sls-journal-file-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
}

.sls-journal-file-thumb {
    display: block;
    width: 74px;
    cursor: zoom-in;
}

.sls-journal-file-thumb img {
    display: block;
    width: 74px;
    height: 54px;
    object-fit: cover;
    border: 1px solid #dbe7f3;
    border-radius: 6px;
    background: #f8fbff;
}

.sls-journal-feedback {
    padding: 8px 10px;
    border: 1px solid #dbe7f3;
    border-left-width: 4px;
    border-radius: 7px;
    background: #f8fbff;
}

.sls-journal-feedback.is-approved {
    border-left-color: #198754;
    background: #f3fbf7;
}

.sls-journal-feedback.is-revision {
    border-left-color: #d88a00;
    background: #fff8ed;
}

.sls-journal-feedback.is-resubmitted {
    border-left-color: #0d6efd;
    background: #f3f8ff;
}

.sls-journal-feedback.is-pending {
    border-left-color: #8a9bb0;
}

.sls-journal-feedback-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #0b355f;
    font-size: .9rem;
}

.sls-journal-feedback-head i {
    font-size: .96rem;
}

.sls-journal-feedback.is-approved .sls-journal-feedback-head i {
    color: #198754;
}

.sls-journal-feedback.is-revision .sls-journal-feedback-head i {
    color: #b36b00;
}

.sls-journal-feedback-head span {
    width: 100%;
    color: #667085;
    font-size: .82rem;
    font-weight: 600;
}

.sls-journal-feedback-comment {
    margin-top: 5px;
    color: #3b2a12;
    line-height: 1.45;
}

.sls-journal-updated {
    margin-top: 6px;
    color: #667085;
    font-size: .84rem;
    font-style: italic;
}

.sls-journal-row-actions {
    margin-top: 8px;
}

.sls-empty-text {
    display: block;
    color: #dc2626;
    text-align: center;
}

.sls-student-info-card {
    margin-top: 18px;
}

.sls-student-info-form {
    max-width: 920px;
}

.sls-student-indicator-table td:nth-child(2),
.sls-student-indicator-table td:nth-child(3) {
    font-weight: 600;
}

.sls-student-indicator-table tr.is-met td {
    background: #ecfdf3;
}

.sls-student-indicator-table tr.is-exceeded td {
    background: #e8f7ff;
}

.sls-indicator-required {
    color: #475569;
}

.sls-indicator-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #334155;
    background: #f1f5f9;
    font-weight: 800;
    line-height: 1.1;
}

.sls-indicator-result.is-progress {
    border-color: #fde68a;
    color: #92400e;
    background: #fffbeb;
}

.sls-indicator-result.is-met {
    border-color: #9ee6b8;
    color: #047343;
    background: #dff8e9;
}

.sls-indicator-result.is-exceeded {
    border-color: #047857;
    color: #ffffff;
    background: #07835f;
    box-shadow: 0 0 0 2px rgba(7, 131, 95, .12);
}

.sls-student-teacher-log-list {
    display: grid;
    gap: 10px;
}

.sls-student-teacher-log-item {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.sls-student-teacher-log-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fbff;
    border-bottom: 1px solid #e5edf7;
}

.sls-student-teacher-log-head strong,
.sls-student-teacher-log-head span {
    display: block;
}

.sls-student-teacher-log-head strong {
    color: #082f55;
}

.sls-student-teacher-log-head span {
    color: #667085;
    font-size: .9rem;
}

.sls-student-teacher-log-item .sls-note {
    border: 0;
    border-radius: 0;
}

.sls-table th {
    background: #f3f7fb;
    color: #17324d;
    font-weight: 700;
    vertical-align: middle;
}

.sls-table td {
    vertical-align: middle;
}

.sls-info-box {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbff;
    min-height: 78px;
}

.sls-info-box span {
    display: block;
    color: #667085;
    font-size: .86rem;
    margin-bottom: 4px;
}

.sls-info-box strong {
    color: #102a43;
}

.sls-note {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
    min-height: 52px;
    overflow-wrap: anywhere;
}

.sls-log-confirm,
.sls-config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.sls-log-confirm:last-child,
.sls-config-item:last-child {
    border-bottom: 0;
}

.sls-config-list {
    margin-top: 16px;
}

.sls-config-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
    max-width: 100%;
}

.sls-config-item > div:first-child {
    min-width: 0;
}

.sls-order-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sls-order-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sls-order-btn:disabled {
    opacity: .38;
}

.sls-excel-import-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.sls-excel-import-box h6 {
    color: #082f55;
    font-weight: 700;
}

.sls-import-stat {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbff;
    min-height: 76px;
}

.sls-import-stat span {
    display: block;
    color: #667085;
    font-size: .82rem;
    font-weight: 600;
}

.sls-import-stat strong {
    display: block;
    margin-top: 4px;
    color: #082f55;
    font-size: 1.35rem;
}

.sls-import-table {
    min-width: 760px;
}

.sls-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 8px 0 12px;
}

.sls-section-heading h4 {
    margin: 0;
    color: #082f55;
    font-weight: 700;
}

.sls-section-heading p {
    margin: 4px 0 0;
    color: #667085;
}

.sls-section-heading > span {
    color: #475467;
    font-weight: 700;
    white-space: nowrap;
}

.sls-legacy-workspace {
    margin-bottom: 18px;
}

.sls-legacy-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.sls-legacy-title-row h1 {
    margin: 0;
    color: #2b3037;
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0;
}

.sls-legacy-date {
    margin-top: 4px;
    color: #667085;
    font-size: .95rem;
}

.sls-legacy-title-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sls-legacy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #d9e1ea;
}

.sls-legacy-tabs .nav-link {
    border-radius: 6px 6px 0 0;
    color: #0d6efd;
    font-size: 1rem;
    padding: 10px 18px;
}

.sls-legacy-tabs .nav-link.active {
    color: #2b3037;
    background: #fff;
    border-color: #d9e1ea #d9e1ea #fff;
}

.sls-legacy-mobile-nav {
    display: none;
}

.sls-legacy-context {
    margin-top: 22px;
    color: #1f2937;
    line-height: 1.55;
}

.sls-legacy-context strong {
    color: #2f7d32;
}

.sls-legacy-note {
    color: #9a6a3a;
    font-style: italic;
}

.sls-student-top-note {
    margin-top: 10px;
    padding: 8px 10px;
    border-left: 3px solid #d08b42;
    border-radius: 6px;
    background: #fff9f1;
    line-height: 1.45;
}

.sls-student-top-note strong {
    color: #7a4b1e;
}

.sls-filter-hint {
    color: #1f2937;
    font-style: italic;
}

.sls-log-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sls-log-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sls-log-view-head {
    align-items: flex-start;
}

.sls-log-view-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sls-compact-card-title {
    margin-bottom: 12px;
}

.sls-log-summary {
    margin: 0 0 14px;
    color: #475467;
    font-weight: 600;
}

.sls-teacher-log-list {
    display: grid;
    gap: 14px;
}

.sls-teacher-log-item {
    border: 1px solid #cbdff5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.sls-teacher-log-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: linear-gradient(90deg, #e8f2ff, #f6faff);
    border-bottom: 1px solid #cbdff5;
    box-shadow: inset 4px 0 0 #0d6efd;
}

.sls-teacher-log-meta {
    display: grid;
    grid-template-columns: minmax(82px, .55fr) minmax(200px, 1.25fr) minmax(170px, 1fr);
    gap: 8px 16px;
    flex: 1 1 auto;
}

.sls-teacher-log-meta div,
.sls-teacher-log-status {
    min-width: 0;
}

.sls-teacher-log-meta span,
.sls-teacher-log-status span {
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sls-teacher-log-meta strong {
    display: block;
    color: #101828;
    font-weight: 700;
    line-height: 1.35;
}

.sls-teacher-log-status {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-direction: row;
    gap: 6px;
}

.sls-teacher-log-status > span {
    margin-bottom: 0;
    white-space: nowrap;
}

.sls-teacher-log-status .btn {
    padding: 2px 8px;
    line-height: 1.25;
}

.sls-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1;
}

.sls-confirm-icon.is-complete {
    color: #fff;
    background: #198754;
}

.sls-confirm-icon.is-pending {
    color: #8a5a00;
    background: #ffc107;
}

.sls-confirm-icon.is-empty {
    color: #667085;
    background: #e5e7eb;
}

.sls-teacher-log-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.sls-teacher-log-content {
    padding: 14px 16px;
}

.sls-teacher-log-confirms {
    padding: 14px 16px;
    border-left: 1px solid #eef2f6;
    background: #fcfdff;
    font-size: .86rem;
    text-align: right;
}

.sls-teacher-log-content h5,
.sls-teacher-log-confirms h5 {
    margin: 0 0 10px;
    color: #082f55;
    font-size: .9rem;
    font-weight: 700;
}

.sls-teacher-log-content .sls-note {
    overflow-wrap: anywhere;
}

.sls-teacher-log-confirms ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sls-teacher-log-confirms li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px 10px;
    padding: 6px 8px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    font-size: .82rem;
    line-height: 1.32;
    text-align: right;
}

.sls-teacher-log-confirms li strong {
    color: #082f55;
}

.sls-teacher-log-confirms li span {
    color: #475467;
    font-weight: 600;
}

.sls-teacher-log-confirms li em,
.sls-teacher-log-confirms p {
    margin: 0;
    color: #667085;
    font-size: .82rem;
    line-height: 1.35;
}

.sls-legacy-filter {
    max-width: 780px;
}

.sls-legacy-table-title {
    margin: 0 0 18px;
    color: #2f7fd7;
    font-size: 1.7rem;
    font-weight: 300;
    text-align: center;
}

.sls-indicator-note {
    margin: -6px 0 12px;
    padding: 10px 12px;
    border: 1px solid #cfe3f7;
    border-radius: 8px;
    background: #f8fbff;
    color: #344054;
    font-size: .92rem;
    line-height: 1.45;
}

.sls-indicator-note strong {
    color: #082f55;
}

.sls-indicator-metric-main {
    color: #082f55;
    font-weight: 700;
    line-height: 1.2;
}

.sls-indicator-metric-detail {
    margin-top: 3px;
    color: #667085;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
}

.sls-legacy-data-table th {
    color: #101828;
    font-weight: 700;
}

.sls-report-summary {
    margin: 0 0 10px;
    color: #475467;
    font-size: .9rem;
    font-weight: 600;
}

.sls-student-report-list {
    display: grid;
    gap: 12px;
}

.sls-student-report-card {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.sls-student-report-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(90deg, #edf6ff, #f8fbff);
    border-bottom: 1px solid #dbe7f3;
    box-shadow: inset 4px 0 0 #0d6efd;
}

.sls-student-report-title {
    display: grid;
    grid-template-columns: minmax(86px, .45fr) minmax(160px, .95fr) minmax(170px, 1fr);
    gap: 8px 14px;
}

.sls-student-report-title div {
    min-width: 0;
}

.sls-student-report-title span,
.sls-student-report-status span {
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.sls-student-report-title strong {
    display: block;
    color: #101828;
    font-weight: 750;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.sls-student-report-title em {
    display: block;
    color: #667085;
    font-size: .82rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25;
}

.sls-student-report-body {
    padding: 12px;
}

.sls-student-report-main h5 {
    margin: 0 0 8px;
    color: #082f55;
    font-size: .92rem;
    font-weight: 750;
}

.sls-report-status-box {
    display: grid;
    justify-items: end;
    gap: 3px;
    min-width: 170px;
    text-align: right;
}

.sls-report-status-box strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.25;
}

.sls-report-status-approved {
    background: #dcfce7;
    color: #047857;
}

.sls-report-status-revision {
    background: #fff7ed;
    color: #c2410c;
}

.sls-report-status-pending {
    background: #eaf2ff;
    color: #1d4ed8;
}

.sls-report-status-meta {
    color: #667085;
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.3;
}

.sls-report-indicator-text {
    padding: 8px 10px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
    color: #243b53;
    font-size: .92rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.sls-report-indicator-text strong {
    color: #082f55;
    font-weight: 800;
}

.sls-report-indicator-separator {
    color: #667085;
}

.sls-report-card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
}

.sls-report-card-actions form {
    margin: 0;
}

.sls-student-report-note {
    padding: 10px 12px;
    min-height: 44px;
}

.sls-report-card-files {
    margin-top: 8px;
}

.sls-report-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sls-report-file-thumb {
    display: block;
    width: 128px;
    color: #344054;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: zoom-in;
}

.sls-report-file-thumb img {
    display: block;
    width: 128px;
    height: 92px;
    object-fit: cover;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-report-file-thumb span,
.sls-report-file-name {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sls-image-preview-open {
    overflow: hidden;
}

.sls-image-preview-overlay[hidden] {
    display: none !important;
}

.sls-image-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 30, 66, .72);
}

.sls-image-preview-dialog {
    display: flex;
    flex-direction: column;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 22, 55, .35);
}

.sls-image-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2ebf5;
    color: #0b355f;
}

.sls-image-preview-head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sls-image-preview-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background: #f8fbff;
    color: #334155;
    font-size: 1.45rem;
    line-height: 1;
}

.sls-image-preview-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 12px;
    background: #0f172a;
}

.sls-image-preview-body img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 132px);
    object-fit: contain;
    border-radius: 4px;
}

.sls-report-upload-panel {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-report-upload-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 8px;
}

.sls-report-upload-head h5 {
    margin: 0;
    color: #082f55;
    font-size: .98rem;
    font-weight: 750;
}

.sls-report-upload-head span {
    color: #667085;
    font-size: .82rem;
    font-weight: 700;
}

.sls-report-teacher-comment {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e6d4aa;
    border-radius: 8px;
    background: #fffbf1;
    color: #533f03;
    font-size: .9rem;
}

.sls-report-teacher-comment strong {
    display: block;
    margin-bottom: 4px;
}

.sls-report-teacher-comment span {
    display: block;
    margin-top: 5px;
    color: #7a5b08;
    font-size: .78rem;
    font-weight: 650;
}

.sls-student-report-form-card .card-body {
    padding: 16px;
}

.sls-student-report-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sls-student-report-form-head h4 {
    margin: 0 0 3px;
    color: #082f55;
    font-size: 1.18rem;
    font-weight: 800;
}

.sls-student-report-form-head p {
    margin: 0;
    color: #5f6f86;
    font-size: .92rem;
}

.sls-report-location-note {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
    gap: 10px 14px;
    padding: 12px;
    border: 1px solid #cfe2f3;
    border-radius: 8px;
    background: #f6fbff;
}

.sls-report-location-note div {
    min-width: 0;
}

.sls-report-location-note span {
    display: block;
    color: #667085;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sls-report-location-note strong {
    display: block;
    margin-top: 2px;
    color: #082f55;
    font-size: 1rem;
    line-height: 1.35;
}

.sls-report-location-note p {
    grid-column: 1 / -1;
    margin: 0;
    color: #49627d;
    font-size: .88rem;
    line-height: 1.45;
}

.sls-report-window-note {
    margin: 12px 0;
    padding: 9px 11px;
    font-size: .9rem;
}

.sls-report-field-block {
    margin-top: 14px;
}

.sls-report-field-block textarea {
    resize: vertical;
}

.sls-report-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.sls-report-section-head h5 {
    margin: 0 0 2px;
    color: #082f55;
    font-size: 1rem;
    font-weight: 800;
}

.sls-report-section-head p {
    margin: 0;
    color: #667085;
    font-size: .84rem;
}

.sls-report-indicator-list {
    display: grid;
    gap: 8px;
}

.sls-report-indicator-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #ffffff;
}

.sls-report-indicator-main {
    min-width: 0;
}

.sls-report-indicator-main strong {
    display: block;
    color: #082f55;
    font-weight: 800;
    line-height: 1.35;
}

.sls-report-indicator-main span {
    color: #667085;
    font-size: .82rem;
    font-weight: 650;
}

.sls-report-indicator-quantity {
    color: #344054;
    font-size: .88rem;
    white-space: nowrap;
}

.sls-report-indicator-quantity strong {
    color: #047857;
    font-size: 1.08rem;
    font-weight: 850;
}

.sls-report-indicator-actions {
    display: flex;
    gap: 6px;
}

.sls-report-empty {
    padding: 10px 11px;
    border: 1px dashed #cfe2f3;
    border-radius: 8px;
    background: #fbfdff;
    color: #667085;
    font-size: .9rem;
}

.sls-report-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.sls-report-review-form textarea {
    min-height: 92px;
    resize: vertical;
}

.sls-report-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 8px;
}

.sls-report-modal .modal-body h6 {
    margin: 0 0 8px;
    color: #082f55;
    font-size: .94rem;
    font-weight: 800;
}

.sls-report-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 16px;
}

.sls-report-modal-status {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-report-history {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sls-report-history-item {
    padding: 8px 10px;
    border: 1px solid #e5edf7;
    border-left-width: 4px;
    border-radius: 8px;
    background: #fff;
}

.sls-report-history-item.is-approved {
    border-left-color: #059669;
}

.sls-report-history-item.is-revision {
    border-left-color: #f59e0b;
}

.sls-report-history-item.is-student {
    border-left-color: #2563eb;
}

.sls-report-history-item div {
    display: grid;
    gap: 2px;
}

.sls-report-history-item strong {
    color: #082f55;
    font-size: .9rem;
}

.sls-report-history-item span {
    color: #667085;
    font-size: .78rem;
    font-weight: 650;
}

.sls-report-history-item p {
    margin: 6px 0 0;
    color: #475467;
    font-size: .84rem;
    line-height: 1.4;
}

.sls-report-modal-footer {
    display: block;
}

.sls-modal-review-form {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.sls-modal-review-form textarea {
    resize: vertical;
}

.sls-legacy-data-table td,
.sls-legacy-data-table th {
    border-color: #dbe1e8;
    vertical-align: middle;
}

.sls-sticky-table-wrap {
    max-height: calc(100vh - 112px);
    overflow: auto;
    border: 1px solid #dbe1e8;
    border-radius: 8px;
    background: #fff;
}

.sls-sticky-table-wrap .sls-sticky-header-table {
    margin-bottom: 0;
}

.sls-sticky-header-table thead th {
    position: sticky;
    top: 0;
    z-index: 6;
    background: #f3f7fb;
    box-shadow: inset 0 -1px 0 #dbe1e8, 0 2px 6px rgba(15, 33, 66, .08);
}

.sls-sticky-header-table thead th:first-child {
    z-index: 8;
}

.sls-attention-cell {
    background: #cbd1d8 !important;
}

.sls-subject-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

@media (max-width: 767.98px) {
    body:has(.sls-legacy-workspace) #main {
        padding: 10px 2px 12px;
    }

    body:has(.sls-legacy-workspace) .pagetitle {
        margin-bottom: 6px;
    }

    body:has(.sls-legacy-workspace) .breadcrumb {
        margin-bottom: 4px;
        font-size: .76rem;
    }

    body:has(.sls-legacy-workspace) .section.dashboard > .row > .col-12 {
        padding-left: 5px;
        padding-right: 5px;
    }

    body:has(.sls-legacy-workspace) .sls-card .card-body {
        padding: 10px 8px;
    }

    body:has(.sls-legacy-workspace) .sls-card {
        border-radius: 6px;
    }

    body:has(.sls-legacy-workspace) .sls-card .card-title {
        font-size: 1rem;
    }

    .sls-legacy-table-title {
        margin-bottom: 8px;
        font-size: 1.08rem;
        line-height: 1.28;
        text-align: left;
    }

    .sls-indicator-note {
        margin: 0 0 8px;
        padding: 8px 9px;
        font-size: .8rem;
        line-height: 1.42;
    }

    .sls-indicator-metric-main {
        font-size: .9rem;
    }

    .sls-indicator-metric-detail {
        margin-top: 1px;
        font-size: .68rem;
        line-height: 1.25;
    }

    .sls-legacy-title-row {
        display: block;
        margin-bottom: 8px;
    }

    .sls-legacy-title-row h1 {
        font-size: 1.28rem;
        font-weight: 650;
        line-height: 1.25;
    }

    .sls-legacy-title-actions {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .sls-legacy-title-actions .btn {
        width: 100%;
        min-height: 40px;
    }

    .sls-legacy-date {
        font-size: .84rem;
    }

    .sls-legacy-tabs {
        display: none;
    }

    .sls-legacy-mobile-nav {
        display: block;
        margin-top: 12px;
    }

    .sls-legacy-mobile-nav .dropdown-toggle {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        text-align: left;
    }

    .sls-legacy-mobile-nav .dropdown-toggle span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sls-legacy-mobile-nav .dropdown-menu {
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
    }

    .sls-legacy-context {
        margin-top: 14px;
        font-size: .92rem;
        line-height: 1.42;
    }

    .sls-legacy-note,
    .sls-filter-hint {
        margin-bottom: 8px;
        font-size: .86rem;
        line-height: 1.4;
    }

    .sls-student-top-note {
        margin-top: 8px;
        padding: 7px 8px;
    }

    .sls-log-card-head {
        gap: 8px;
        margin-bottom: 8px;
    }

    .sls-log-summary {
        margin-bottom: 8px;
        font-size: .86rem;
    }

    .sls-teacher-log-list {
        gap: 8px;
    }

    .sls-teacher-log-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 7px;
        padding: 7px 8px;
    }

    .sls-teacher-log-meta {
        grid-template-columns: auto minmax(44px, .6fr) minmax(0, 1fr);
        align-items: center;
        gap: 6px 10px;
    }

    .sls-teacher-log-meta span,
    .sls-teacher-log-status span {
        display: none;
    }

    .sls-teacher-log-meta strong {
        font-size: .86rem;
        line-height: 1.2;
    }

    .sls-teacher-log-status {
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
    }

    .sls-confirm-icon {
        width: 26px;
        height: 26px;
    }

    .sls-teacher-log-status .btn {
        padding: 2px 6px;
        font-size: .78rem;
    }

    .sls-log-card-head,
    .sls-log-card-actions {
        display: grid;
        justify-content: stretch;
    }

    .sls-log-card-actions .btn,
    .sls-log-card-actions .dropdown,
    .sls-log-card-actions .dropdown-toggle {
        width: 100%;
    }

    .sls-log-view-head {
        display: grid !important;
        gap: 10px;
    }

    .sls-log-view-actions {
        display: grid;
        justify-content: stretch;
        width: 100%;
    }

    .sls-log-view-actions .btn {
        width: 100%;
    }

    .sls-teacher-log-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .sls-teacher-log-confirms {
        padding: 10px;
        border-top: 1px solid #eef2f6;
        border-left: 0;
        font-size: .78rem;
        text-align: left;
    }

    .sls-teacher-log-content {
        padding: 10px;
    }

    .sls-teacher-log-content h5,
    .sls-teacher-log-confirms h5 {
        margin-bottom: 7px;
        font-size: .82rem;
    }

    .sls-note {
        min-height: 0;
        padding: 8px 9px;
        font-size: .92rem;
        line-height: 1.42;
    }

    .sls-teacher-log-confirms li {
        justify-content: flex-start;
        text-align: left;
        padding: 6px 7px;
        font-size: .76rem;
        line-height: 1.3;
    }

    .sls-teacher-log-confirms li em,
    .sls-teacher-log-confirms p {
        font-size: .76rem;
    }

    .sls-compact-card-title {
        margin-bottom: 8px;
    }

    .sls-compact-filter,
    .sls-legacy-filter {
        margin-bottom: 10px !important;
    }

    .sls-compact-filter .form-label,
    .sls-legacy-filter .form-label {
        margin-bottom: 3px;
        color: #667085;
        font-size: .74rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .sls-compact-filter .form-control,
    .sls-compact-filter .form-select,
    .sls-legacy-filter .form-control,
    .sls-legacy-filter .form-select {
        min-height: 38px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: .9rem;
    }

    .sls-compact-filter .btn {
        width: 100%;
        min-height: 38px;
    }
}

.sls-subject-card-head h5 {
    margin: 0 0 4px;
    color: #082f55;
    font-weight: 700;
}

.sls-subject-card .card-body {
    padding: 14px 16px;
}

.sls-subject-card .sls-subject-card-head {
    gap: 10px;
}

.sls-subject-card .sls-subject-card-head h5 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.sls-subject-card .sls-subject-card-head .badge {
    align-self: flex-start;
    white-space: nowrap;
}

.sls-subject-classes {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    background: #f8fbff;
    color: #334e68;
    min-height: 46px;
}

.sls-subject-info-block {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-subject-info-block h5,
.sls-subject-info-block h6 {
    margin: 0;
    color: #082f55;
    font-weight: 700;
    letter-spacing: 0;
}

.sls-teacher-info-block {
    background: #fff;
}

.sls-subject-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.sls-subject-metrics div {
    border: 1px solid #e5edf7;
    border-radius: 8px;
    padding: 9px 10px;
    background: #fff;
}

.sls-teacher-info-block .sls-subject-metrics div {
    background: #f8fbff;
}

.sls-subject-metrics span {
    display: block;
    color: #667085;
    font-size: .78rem;
    font-weight: 600;
}

.sls-subject-metrics strong {
    color: #082f55;
    font-size: 1.2rem;
}

.sls-subject-card .sls-subject-info-block {
    margin-top: 10px;
    padding: 9px;
}

.sls-subject-card .sls-subject-info-block h6 {
    font-size: .92rem;
}

.sls-subject-card .sls-subject-classes {
    min-height: 0;
    margin-top: 8px;
    padding: 7px 9px;
    gap: 7px;
    font-size: .9rem;
}

.sls-subject-card .sls-subject-metrics {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 5px;
    margin-top: 8px;
}

.sls-subject-card .sls-subject-metrics div {
    display: block;
    min-height: 0;
    padding: 5px 7px;
    border-radius: 7px;
}

.sls-subject-card .sls-subject-metrics span {
    font-size: .72rem;
    line-height: 1.25;
}

.sls-subject-card .sls-subject-metrics strong {
    display: block;
    margin-top: 2px;
    font-size: .98rem;
    line-height: 1;
}

.sls-subject-card .sls-subject-actions {
    margin-top: 10px;
}

.sls-subject-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.sls-assigned-sites {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-assigned-sites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.sls-assigned-sites-head h5 {
    margin: 0;
    color: #082f55;
    font-weight: 700;
}

.sls-assigned-sites-head p {
    margin: 4px 0 0;
    color: #667085;
}

.sls-assigned-site-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.sls-assigned-site-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    background: #fff;
}

.sls-assigned-site-item i {
    color: #0f766e;
    margin-top: 2px;
}

.sls-assigned-site-item strong,
.sls-assigned-site-item span {
    display: block;
}

.sls-assigned-site-item strong {
    color: #082f55;
}

.sls-assigned-site-item span {
    color: #667085;
    font-size: .88rem;
    margin-top: 2px;
}

.sls-subject-workspace {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.sls-subject-workspace .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    font-weight: 700;
}

.sls-subject-assignment {
    border-top: 1px solid #e5edf7;
    padding-top: 18px;
    margin-top: 18px;
}

.sls-subject-assignment:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.sls-subject-assignment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sls-subject-assignment-head h5 {
    margin: 0;
    color: #082f55;
    font-weight: 700;
}

.sls-site-assignment-table {
    border-color: #d8e6f5;
}

.sls-site-assignment-table th {
    background: #edf6ff;
    color: #0b3d69;
}

.sls-site-assignment-table tbody tr {
    --sls-site-accent: #2563eb;
    --sls-site-soft: #eff6ff;
    --sls-site-border: #bfdbfe;
}

.sls-site-assignment-table tbody tr.sls-site-row-owned {
    --sls-site-accent: #059669;
    --sls-site-soft: #ecfdf5;
    --sls-site-border: #a7f3d0;
}

.sls-site-assignment-table tbody tr > td:first-child {
    box-shadow: inset 4px 0 0 var(--sls-site-accent);
}

.sls-site-name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.sls-site-name-line strong,
.sls-site-teacher-list {
    color: #082f55;
    font-weight: 750;
}

.sls-site-address {
    margin-top: 4px;
    color: #667085;
    font-size: .88rem;
    line-height: 1.45;
}

.sls-site-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid var(--sls-site-border);
    border-radius: 999px;
    background: var(--sls-site-soft);
    color: var(--sls-site-accent);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.2;
}

.sls-site-teacher-empty {
    color: #9a3412;
    font-weight: 700;
}

.sls-site-action-form {
    margin: 0;
}

.sls-site-assignment-table .sls-site-action-join {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.sls-site-assignment-table .sls-site-action-join:hover,
.sls-site-assignment-table .sls-site-action-join:focus {
    background: #0d635d;
    border-color: #0d635d;
    color: #fff;
}

.sls-site-assignment-table .sls-site-action-leave {
    background: #fff7f7;
    border-color: #fda29b;
    color: #b42318;
}

.sls-site-assignment-table .sls-site-action-leave:hover,
.sls-site-assignment-table .sls-site-action-leave:focus {
    background: #fee4e2;
    border-color: #f97066;
    color: #912018;
}

.sls-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px 14px;
    max-height: 260px;
    overflow: auto;
    padding: 12px;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #f8fbff;
}

.sls-check-grid label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
    color: #243b53;
}

@media (max-width: 767.98px) {
    .sls-hero,
    .sls-page-header {
        display: grid;
        padding: 18px;
    }

    .sls-hero h1,
    .sls-page-header h2 {
        font-size: 1.35rem;
    }

    .sls-hero-actions,
    .sls-hero-actions .btn,
    .sls-page-header .btn {
        width: 100%;
    }

    .sls-meta {
        display: grid;
    }

    .sls-table {
        min-width: 720px;
    }

    .sls-student-index-head {
        margin-bottom: 8px;
    }

    .sls-student-index-head h1 {
        font-size: 1.28rem;
    }

    .sls-student-index-head p {
        font-size: .9rem;
        line-height: 1.35;
    }

    .sls-student-course-card .card-body {
        padding: 12px;
    }

    .sls-student-course-top {
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .sls-student-course-card h5 {
        font-size: .98rem;
    }

    .sls-student-course-date,
    .sls-student-course-assignment {
        font-size: .84rem;
    }

    .sls-student-course-actions {
        margin-top: 10px;
    }

    .sls-student-progress {
        height: 17px;
        margin: 10px 0 12px;
    }

    .sls-student-journal-actions .btn {
        width: 100%;
    }

    .sls-student-journal-wrap {
        margin-left: -2px;
        margin-right: -2px;
    }

    .sls-student-journal-table {
        min-width: 0;
        font-size: .9rem;
    }

    .sls-student-journal-table,
    .sls-student-journal-table thead,
    .sls-student-journal-table tbody,
    .sls-student-journal-table tr,
    .sls-student-journal-table td {
        display: block;
    }

    .sls-student-journal-table thead {
        display: none;
    }

    .sls-student-journal-table tr {
        margin-bottom: 8px;
        border: 1px solid #dbe7f3;
        border-radius: 7px;
        overflow: hidden;
    }

    .sls-student-journal-table td {
        width: 100%;
        border: 0;
    }

    .sls-journal-date {
        padding: 8px 10px;
        font-weight: 700;
        background: #f8fbff !important;
        border-bottom: 1px solid #e5edf7 !important;
    }

    .sls-journal-date-head {
        align-items: center;
    }

    .sls-journal-state-pill {
        padding: 3px 7px;
        font-size: .74rem;
    }

    .sls-journal-content {
        padding: 9px 10px;
    }

    .sls-student-journal-table tr.is-empty .sls-journal-content {
        background: #fbf5e9;
    }

    .sls-empty-text {
        text-align: left;
    }

    .sls-journal-report-layout {
        display: block;
    }

    .sls-journal-site-row {
        align-items: flex-start;
        display: grid;
        gap: 6px;
    }

    .sls-journal-section-label {
        margin-top: 7px;
    }

    .sls-journal-file-grid {
        gap: 6px;
    }

    .sls-journal-file-thumb {
        width: 68px;
    }

    .sls-journal-file-thumb img {
        width: 68px;
        height: 50px;
    }

    .sls-journal-feedback {
        margin-top: 8px;
        padding: 7px 8px;
    }

    .sls-journal-feedback-head {
        align-items: flex-start;
        font-size: .86rem;
    }

    .sls-journal-feedback-head span {
        width: 100%;
        font-size: .78rem;
    }

    .sls-student-info-card {
        margin-top: 12px;
    }

    .sls-student-info-form .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 8px;
    }

    .sls-student-indicator-wrap {
        margin-left: -5px;
        margin-right: -5px;
        padding: 0 5px 6px;
    }

    .sls-student-indicator-table {
        min-width: 560px;
        font-size: .86rem;
    }

    .sls-student-teacher-log-head {
        display: grid;
        gap: 8px;
        padding: 9px 10px;
    }

    .sls-student-teacher-log-head form,
    .sls-student-teacher-log-head .btn {
        width: 100%;
    }

    .sls-legacy-table-title {
        margin-bottom: 10px;
        font-size: 1.08rem;
        font-weight: 650;
        text-align: left;
    }

    .sls-wide-table-wrap {
        margin-left: -8px;
        margin-right: -8px;
        padding: 0 8px 6px;
    }

    .sls-wide-data-table {
        min-width: 760px;
        font-size: .8rem;
    }

    .sls-wide-data-table td,
    .sls-wide-data-table th {
        padding: .42rem .48rem;
    }

    .sls-wide-data-table th:first-child,
    .sls-wide-data-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        max-width: 180px;
        background: #fff;
        box-shadow: 1px 0 0 #dbe1e8;
    }

    .sls-wide-data-table th:first-child {
        background: #f3f7fb;
        z-index: 3;
    }

    .sls-sticky-table-wrap {
        max-height: calc(100vh - 128px);
        border-radius: 6px;
    }

    .sls-sticky-header-table thead th {
        top: 0;
        z-index: 7;
    }

    .sls-sticky-header-table thead th:first-child {
        z-index: 9;
    }

    .sls-site-assignment-table,
    .sls-student-summary-table {
        min-width: 0;
        border: 0;
    }

    .sls-subject-assignment {
        margin-top: 12px;
        padding-top: 12px;
    }

    .sls-subject-assignment-head {
        margin-bottom: 8px;
    }

    .sls-subject-assignment-head h5 {
        font-size: 1.06rem;
        line-height: 1.28;
    }

    .sls-subject-assignment .table-responsive {
        overflow: visible;
    }

    .sls-site-assignment-table thead,
    .sls-student-summary-table thead {
        display: none;
    }

    .sls-site-assignment-table,
    .sls-site-assignment-table tbody,
    .sls-site-assignment-table tr,
    .sls-site-assignment-table td,
    .sls-student-summary-table,
    .sls-student-summary-table tbody,
    .sls-student-summary-table tr,
    .sls-student-summary-table td {
        display: block;
        width: 100%;
    }

    .sls-site-assignment-table tr,
    .sls-student-summary-table tr,
    .sls-report-grid tbody tr {
        margin-bottom: 8px;
        border: 1px solid #dbe7f3;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }

    .sls-site-assignment-table tr {
        border-color: var(--sls-site-border);
        background: linear-gradient(180deg, #fff 0, #f8fbff 100%);
        box-shadow: 0 8px 18px rgba(15, 33, 66, .07);
    }

    .sls-site-assignment-table tr.sls-site-row-owned {
        background: linear-gradient(180deg, #fff 0, #f2fff8 100%);
    }

    .sls-site-assignment-table td,
    .sls-student-summary-table td,
    .sls-report-grid tbody td {
        display: grid;
        grid-template-columns: minmax(86px, .42fr) minmax(0, 1fr);
        gap: 8px;
        align-items: start;
        padding: 8px 9px;
        border-width: 0 0 1px;
        font-size: .9rem;
    }

    .sls-site-assignment-table td {
        border-color: rgba(8, 47, 85, .12);
        background: transparent;
    }

    .sls-site-assignment-table td:first-child {
        background: linear-gradient(90deg, var(--sls-site-soft), rgba(255, 255, 255, .84));
        border-bottom-color: var(--sls-site-border);
        box-shadow: inset 4px 0 0 var(--sls-site-accent);
    }

    .sls-site-assignment-table td:nth-child(3) {
        align-items: center;
        background: rgba(255, 255, 255, .58);
    }

    .sls-site-assignment-table td:last-child,
    .sls-student-summary-table td:last-child,
    .sls-report-grid tbody td:last-child {
        border-bottom: 0;
    }

    .sls-site-assignment-table td::before,
    .sls-student-summary-table td::before,
    .sls-report-grid tbody td::before {
        color: #667085;
        font-size: .72rem;
        font-weight: 800;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .sls-site-assignment-table td::before {
        color: #1d4ed8;
    }

    .sls-site-assignment-table tr.sls-site-row-owned td::before {
        color: #047857;
    }

    .sls-site-assignment-table td:nth-child(1)::before {
        content: "Địa điểm";
    }

    .sls-site-assignment-table td:nth-child(2)::before {
        content: "GV phụ trách";
    }

    .sls-site-assignment-table td:nth-child(3)::before {
        content: "Thao tác";
    }

    .sls-site-assignment-table td .btn,
    .sls-report-grid tbody td .btn {
        width: 100%;
    }

    .sls-site-name-line {
        align-items: flex-start;
        gap: 4px;
    }

    .sls-site-name-line strong,
    .sls-site-teacher-list,
    .sls-site-teacher-empty {
        font-size: .96rem;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .sls-site-address {
        margin-top: 4px;
        font-size: .82rem;
        line-height: 1.38;
        overflow-wrap: anywhere;
    }

    .sls-site-status {
        min-height: 20px;
        padding: 2px 7px;
        font-size: .67rem;
    }

    .sls-site-action-form {
        width: 100%;
    }

    .sls-site-assignment-table td .btn {
        min-height: 38px;
        border-radius: 7px;
        font-size: .94rem;
        font-weight: 750;
    }

    .sls-report-grid .summary {
        margin-bottom: 8px;
        color: #475467;
        font-size: .86rem;
        font-weight: 600;
    }

    .sls-report-grid table,
    .sls-report-grid thead,
    .sls-report-grid tbody,
    .sls-report-grid tr,
    .sls-report-grid td {
        display: block;
        width: 100%;
    }

    .sls-report-grid table {
        min-width: 0;
        border: 0;
    }

    .sls-report-grid thead {
        display: none;
    }

    .sls-report-grid-subject tbody td:nth-child(1)::before,
    .sls-report-grid-all tbody td:nth-child(1)::before {
        content: "Ngày";
    }

    .sls-report-grid-subject tbody td:nth-child(2)::before,
    .sls-report-grid-all tbody td:nth-child(2)::before {
        content: "Sinh viên";
    }

    .sls-report-grid-subject tbody td:nth-child(3)::before {
        content: "Địa điểm";
    }

    .sls-report-grid-subject tbody td:nth-child(4)::before {
        content: "Trạng thái";
    }

    .sls-report-grid-subject tbody td:nth-child(5)::before {
        content: "Quyền";
    }

    .sls-report-grid-subject tbody td:nth-child(6)::before {
        content: "Thao tác";
    }

    .sls-report-grid-all tbody td:nth-child(3)::before {
        content: "Môn";
    }

    .sls-report-grid-all tbody td:nth-child(4)::before {
        content: "Địa điểm";
    }

    .sls-report-grid-all tbody td:nth-child(5)::before {
        content: "Trạng thái";
    }

    .sls-report-grid-all tbody td:nth-child(6)::before {
        content: "Quyền";
    }

    .sls-report-grid-all tbody td:nth-child(7)::before {
        content: "Thao tác";
    }

    .sls-report-summary {
        margin-bottom: 8px;
        font-size: .84rem;
    }

    .sls-student-report-list {
        gap: 9px;
    }

    .sls-student-report-head {
        display: block;
        padding: 8px 9px;
    }

    .sls-student-report-title {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 6px 10px;
    }

    .sls-student-report-title span,
    .sls-student-report-status span {
        margin-bottom: 2px;
        font-size: .68rem;
    }

    .sls-student-report-title strong {
        font-size: .94rem;
        line-height: 1.25;
    }

    .sls-report-status-box {
        justify-items: start;
        min-width: 0;
        margin-top: 8px;
        text-align: left;
    }

    .sls-student-report-body {
        display: block;
        padding: 9px;
    }

    .sls-student-report-main h5 {
        margin-bottom: 6px;
        font-size: .86rem;
    }

    .sls-report-indicator-text {
        padding: 7px 8px;
        font-size: .88rem;
    }

    .sls-report-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 8px;
    }

    .sls-report-card-actions .btn,
    .sls-report-card-actions form {
        width: 100%;
    }

    .sls-report-modal .modal-dialog {
        margin: 6px;
    }

    .sls-report-modal-grid {
        display: block;
    }

    .sls-report-modal-status {
        margin-top: 10px;
    }

    .sls-report-modal-footer > .btn,
    .sls-modal-review-form .btn {
        width: 100%;
    }

    .sls-student-report-note,
    .sls-note {
        padding: 8px 9px;
    }

    .sls-report-files {
        gap: 8px;
    }

    .sls-report-file-thumb {
        width: calc(50% - 4px);
        font-size: .74rem;
    }

    .sls-report-file-thumb img {
        width: 100%;
        height: 88px;
        border-radius: 7px;
    }

    .sls-image-preview-overlay {
        padding: 10px;
    }

    .sls-image-preview-dialog {
        max-height: calc(100vh - 20px);
        border-radius: 8px;
    }

    .sls-image-preview-head {
        padding: 8px 9px;
        font-size: .9rem;
    }

    .sls-image-preview-body {
        padding: 8px;
    }

    .sls-image-preview-body img {
        max-height: calc(100vh - 100px);
    }

    .sls-report-upload-panel {
        margin-top: 10px;
        padding: 9px;
    }

    .sls-student-report-form-card .card-body {
        padding: 10px;
    }

    .sls-student-report-form-head {
        gap: 8px;
        margin-bottom: 10px;
    }

    .sls-student-report-form-head h4 {
        font-size: 1.04rem;
    }

    .sls-student-report-form-head p {
        font-size: .84rem;
    }

    .sls-report-location-note {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 8px;
    }

    .sls-report-location-note p {
        font-size: .82rem;
    }

    .sls-report-window-note {
        font-size: .84rem;
    }

    .sls-report-section-head {
        display: grid;
        gap: 8px;
    }

    .sls-report-section-head .btn {
        width: 100%;
    }

    .sls-report-indicator-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 9px;
    }

    .sls-report-indicator-quantity {
        white-space: normal;
    }

    .sls-report-indicator-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .sls-report-form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sls-report-form-actions .btn {
        width: 100%;
    }

    .sls-report-review-form textarea {
        min-height: 82px;
    }

    .sls-report-actions {
        justify-content: stretch;
        gap: 6px;
    }

    .sls-report-actions .btn {
        flex: 1 1 auto;
    }

    .sls-student-summary-table td:nth-child(1)::before {
        content: "Sinh viên";
    }

    .sls-student-summary-table td:nth-child(2)::before {
        content: "Chỉ tiêu";
    }

    .sls-student-summary-table td:nth-child(3)::before {
        content: "Tỉ lệ";
    }

    .sls-student-summary-table td:nth-child(4)::before {
        content: "Ngày tuần";
    }

    .sls-student-summary-table td:nth-child(5)::before {
        content: "Cuối tuần";
    }

    .sls-student-summary-table td:nth-child(6)::before {
        content: "Cần báo cáo lại";
    }

    .sls-student-summary-table td:nth-child(7)::before {
        content: "Chờ xác nhận";
    }

    .sls-log-confirm,
    .sls-config-item {
        display: grid;
    }

    .sls-config-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sls-section-heading {
        display: grid;
        align-items: start;
    }

    .sls-assigned-sites-head {
        display: grid;
    }

    .sls-subject-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sls-subject-card .card-body {
        padding: 10px;
    }

    .sls-subject-card .sls-subject-card-head h5 {
        font-size: 1rem;
    }

    .sls-subject-card .sls-subject-info-block {
        margin-top: 8px;
        padding: 8px;
    }

    .sls-subject-card .sls-subject-metrics div {
        padding: 4px 6px;
    }

    .sls-subject-card .sls-subject-metrics strong {
        font-size: .95rem;
    }

    .sls-subject-card .sls-subject-actions .btn {
        width: 100%;
    }
}

body {
    font-family: var(--app-font-sans);
    background: #f6f9ff;
    color: #444444;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--app-font-sans);
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 15px 5px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: var(--app-font-sans);
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: var(--app-font-sans);
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: var(--app-font-sans);
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: var(--app-font-sans);
}

.logo {
    min-width: 0;
    max-width: 220px;
    text-decoration: none;
}

.logo .logo-text-full,
.logo .logo-text-short {
    overflow: hidden;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo .logo-text-short {
    display: none;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

@media (max-width: 575px) {
    .header {
        padding-left: 12px;
    }

    .logo {
        max-width: 86px;
    }

    .logo span {
        font-size: 22px;
    }

    .logo .logo-text-full {
        display: none;
    }

    .logo .logo-text-short {
        display: inline-block;
    }

    .header .toggle-sidebar-btn {
        padding-left: 8px;
        font-size: 30px;
    }
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    flex: 1 0 auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3;
    padding: 10px 15px;
    border-radius: 4px;
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
}

.sidebar-nav .active .nav-link {
    background: #f6f9ff;
    color: #4154f1;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}

.sidebar-user-panel {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.sidebar-user-card {
    border: 1px solid #e6edf7;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 24px rgba(1, 41, 112, 0.07);
}

.sidebar-account-link {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #012970;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
}

.sidebar-account-link:hover,
.sidebar-account-link.active {
    color: #064b7e;
    background: #eef7ff;
}

.sidebar-user-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0b6f68;
    background: #e6f7f5;
    font-size: 24px;
}

.sidebar-user-main {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.sidebar-user-name {
    overflow: hidden;
    color: #012970;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b6f68;
    font-size: 0.82rem;
    font-weight: 700;
}

.sidebar-user-chevron {
    flex: 0 0 auto;
    color: #899bbd;
    font-size: 14px;
}

.sidebar-user-meta {
    display: grid;
    gap: 6px;
    padding: 0 12px 12px;
    color: #5f6f89;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

.sidebar-user-meta span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.sidebar-user-meta i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #899bbd;
}

.sidebar-logout-form {
    margin: 10px 0 0;
}

.sidebar-logout-button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e8eef7;
    border-radius: 8px;
    color: #5f6f89;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.sidebar-logout-button:hover {
    color: #bb2d3b;
    border-color: #f4c2c8;
    background: #fff7f8;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #dbe7f6;
    background: #fff;
}

.footer-inner {
    width: min(1120px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
    color: #012970;
}

.footer-brand,
.footer-support {
    min-width: 0;
}

.footer-system {
    color: #012970;
    font-weight: 600;
}

.footer-school {
    margin-top: 3px;
    color: #66768d;
    font-size: 13px;
}

.footer-support {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 14px;
    color: #5f6f89;
    font-size: 13px;
}

.footer-support a {
    color: #0b6f68;
    font-weight: 700;
    text-decoration: none;
}

.footer-support a:hover {
    color: #064b7e;
    text-decoration: underline;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}

@media (max-width: 767px) {
    .footer {
        padding: 18px 0 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .footer-support {
        justify-content: flex-start;
    }
}

/*--------------------------------------------------------------
# Legal pages
--------------------------------------------------------------*/
.legal-page {
    width: min(1060px, 100%);
    margin: 0 auto;
    color: #1f2d3d;
}

.legal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: stretch;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(230, 247, 245, 0.94), rgba(255, 250, 244, 0.88)),
        #fff;
    box-shadow: 0 18px 48px rgba(1, 41, 112, 0.08);
}

.legal-hero-terms {
    background:
        linear-gradient(135deg, rgba(235, 244, 255, 0.94), rgba(236, 250, 245, 0.9)),
        #fff;
}

.legal-kicker {
    margin: 0 0 10px;
    color: #0b6f68;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    color: #012970;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.14;
    font-weight: 700;
}

.legal-lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: #4f6078;
    font-size: 1rem;
    line-height: 1.75;
}

.legal-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(11, 111, 104, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.legal-summary span {
    color: #66768d;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-summary strong {
    margin-top: 8px;
    color: #012970;
    font-size: 1.45rem;
}

.legal-summary small {
    margin-top: 10px;
    color: #5f6f89;
    overflow-wrap: anywhere;
}

.legal-section {
    margin-top: 18px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid #e1eaf5;
    border-radius: 8px;
    background: #fff;
}

.legal-section h2 {
    margin: 0 0 12px;
    color: #012970;
    font-size: 1.12rem;
    font-weight: 700;
}

.legal-section p {
    margin: 0;
    color: #3f4f63;
    line-height: 1.78;
}

.legal-section p + p {
    margin-top: 12px;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #3f4f63;
    line-height: 1.7;
}

.legal-contact {
    border-color: rgba(11, 111, 104, 0.22);
    background: #f7fbfb;
}

.legal-contact a {
    color: #0b6f68;
    font-weight: 700;
}

@media (max-width: 767px) {
    .legal-hero {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        min-height: auto;
    }

    .legal-section {
        margin-top: 14px;
    }
}

/*--------------------------------------------------------------
# Support page
--------------------------------------------------------------*/
.support-page {
    width: min(1120px, 100%);
    margin: 0 auto;
    color: #1f2d3d;
}

.support-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(230, 247, 245, 0.9), rgba(255, 250, 244, 0.86)),
        #fff;
    box-shadow: 0 18px 48px rgba(1, 41, 112, 0.08);
}

.support-kicker {
    margin: 0 0 10px;
    color: #0b6f68;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
}

.support-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #012970;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.14;
    font-weight: 700;
}

.support-lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4f6078;
    font-size: 1.02rem;
    line-height: 1.72;
}

.support-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(11, 111, 104, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.support-contact-label {
    color: #66768d;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.support-contact-card strong {
    color: #012970;
    font-size: 1.18rem;
}

.support-email-link {
    color: #0b6f68;
    font-weight: 700;
    text-decoration: none;
}

.support-email-link:hover {
    color: #064b7e;
    text-decoration: underline;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.support-block {
    padding: 22px;
    border: 1px solid #e3ebf6;
    border-radius: 8px;
    background: #fff;
}

.support-block-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: #0b6f68;
    background: #e6f7f5;
    font-size: 22px;
}

.support-block h2,
.support-instructions h2 {
    margin: 0 0 10px;
    color: #012970;
    font-size: 1.16rem;
    font-weight: 700;
}

.support-block p {
    margin: 0;
    color: #56677f;
    line-height: 1.68;
}

.support-instructions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: center;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #e3ebf6;
    border-radius: 8px;
    background: #f8fbff;
}

.support-instructions ul {
    margin: 0;
    padding-left: 18px;
    color: #56677f;
    line-height: 1.75;
}

.support-actions {
    display: grid;
    gap: 10px;
}

.support-primary-action,
.support-secondary-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.support-primary-action {
    color: #fff;
    background: #0b6f68;
}

.support-primary-action:hover {
    color: #fff;
    background: #064b7e;
}

.support-secondary-action {
    color: #064b7e;
    border: 1px solid #cddfff;
    background: #fff;
}

.support-secondary-action:hover {
    color: #0b6f68;
    border-color: #9ed7d1;
    background: #f1fbfa;
}

@media (max-width: 991px) {
    .support-hero,
    .support-instructions {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }
}
.customcss tr.bg-warning>td {
    background-color: rgb(255, 221, 159);
}
.customcss tr.bg-success>td {
    background-color: rgba(0, 123, 255, 0.8);
}
td.bg-success {
    color: white;
}
td.bg-secondary {
    color: white;
}
h1.thongtintc {
    font-size: 1.8rem;
    font-weight: bolder;
}
.dangky-tinchi .card-header {
    font-size: 1.2rem; /* Tăng kích thước font */
    font-weight: bold; /* Đậm hơn */
    color: #423c3c; /* Màu chữ */
    background-color: #fff3cd; /* Nền màu xanh */
    text-align: center; /* Canh giữa nội dung */
    padding: 10px 10px; /* Khoảng cách trong */
    border-bottom: 2px solid #f1e1ad; /* Đường viền dưới */
}

.dangky-tinchi .card-title {
    font-size: 1rem; /* Nhỏ hơn tiêu đề header */
    font-weight: 600; /* Đậm vừa phải */
    margin-bottom: 5px; /* Thêm khoảng cách phía dưới */
    padding: 10px 15px 0;
    color: #333; /* Màu chữ đậm */
}

.dangky-tinchi .card-text {
    font-size: 1rem; /* Kích thước tiêu chuẩn */
    color: #555; /* Màu xám nhạt hơn */
    line-height: 1.6; /* Tăng khoảng cách dòng */
    padding: 3px 15px 0;
}
.dangky-tinchi .card-body {
    padding: 0 5px 10px 5px;
}

/* Auth pages */
.auth-body {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background-color: #eef7fb;
    background-image:
        linear-gradient(122deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 248, 249, 0.8) 48%, rgba(255, 247, 238, 0.88) 100%),
        url("../img/cdytbn/logo.jpg");
    background-repeat: no-repeat;
    background-size: cover, min(86vmin, 760px);
    background-position: center, calc(100% + 170px) calc(100% + 160px);
    background-attachment: fixed, fixed;
    font-family: "Be Vietnam Pro", sans-serif;
}

.auth-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 121, 111, 0.08), transparent 34%, rgba(255, 112, 44, 0.08)),
        repeating-linear-gradient(135deg, rgba(1, 41, 112, 0.045) 0 1px, transparent 1px 18px);
}

.auth-body::after {
    content: "";
    position: fixed;
    top: -150px;
    left: -140px;
    z-index: -1;
    width: 430px;
    height: 430px;
    pointer-events: none;
    background: url("../img/cdytbn/logo_512_2.png") center/contain no-repeat;
    opacity: 0.1;
}

.auth-body #main {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
    min-height: 100dvh;
}

.auth-body .pagetitle {
    display: none;
}

.auth-body .section.dashboard {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 58px) 18px;
}

.auth-body .section.dashboard > .row {
    width: 100%;
    margin: 0;
}

.auth-body .section.dashboard > .row:first-child {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 5;
    width: min(560px, calc(100% - 32px));
    transform: translateX(-50%);
}

.auth-body .section.dashboard > .row:last-child {
    justify-content: center;
}

.auth-page {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 26px 70px rgba(1, 41, 112, 0.18),
        0 0 0 1px rgba(1, 41, 112, 0.05);
    backdrop-filter: blur(14px);
}

.auth-brand {
    position: relative;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    padding: 46px;
    background:
        linear-gradient(145deg, rgba(6, 75, 126, 0.96) 0%, rgba(8, 121, 111, 0.94) 58%, rgba(47, 132, 75, 0.96) 100%);
    color: #fff;
}

.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 22px);
}

.auth-brand::after {
    content: "";
    position: absolute;
    right: -122px;
    bottom: -116px;
    width: 420px;
    height: 420px;
    background: url("../img/cdytbn/logo_512_2.png") center/contain no-repeat;
    opacity: 0.18;
}

.auth-brand > * {
    position: relative;
    z-index: 1;
}

.auth-brand-mark {
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.auth-brand-mark img {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.auth-brand-kicker {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-brand h1 {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1.16;
    font-weight: 700;
}

.auth-brand p {
    max-width: 470px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    line-height: 1.65;
}

.auth-brand-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-brand-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 7px;
    padding: 8px 13px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    border-style: solid;
    border-width: 1px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

.auth-panel {
    display: flex;
    align-items: center;
    padding: 52px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 252, 255, 0.94) 100%);
}

.auth-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.auth-card-header {
    margin-bottom: 30px;
}

.auth-card-title {
    margin: 0;
    color: #05356f;
    font-size: 1.86rem;
    line-height: 1.24;
    font-weight: 700;
}

.auth-card-subtitle {
    max-width: 380px;
    margin: 8px 0 0;
    color: #63748a;
    font-size: 0.96rem;
    line-height: 1.55;
}

.auth-info-box {
    display: flex;
    gap: 12px;
    margin: 0 0 22px;
    padding: 13px 14px;
    color: #064b7e;
    border: 1px solid #bdd8f0;
    border-radius: 8px;
    background: #eef7ff;
}

.auth-info-box > i {
    margin-top: 2px;
    color: #0b75bc;
    font-size: 1.14rem;
}

.auth-info-box strong,
.auth-info-box span {
    display: block;
}

.auth-info-box strong {
    margin-bottom: 3px;
    font-size: 0.92rem;
}

.auth-info-box span {
    color: #405c78;
    font-size: 0.88rem;
    line-height: 1.45;
}

.auth-form .form-label {
    margin-bottom: 8px;
    color: #203449;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #0b75bc;
    font-size: 1.08rem;
    transform: translateY(-50%);
}

.auth-form .form-control {
    height: 54px;
    padding-left: 48px;
    color: #1f3047;
    border-color: #d6e2ec;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    box-shadow: none;
}

.auth-form .form-control:hover {
    border-color: #b9ccd9;
}

.auth-form .form-control:focus {
    border-color: #08796f;
    box-shadow: 0 0 0 4px rgba(8, 121, 111, 0.13);
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .form-control {
    padding-right: 54px;
}

.password-field-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #60748a;
    border: 0;
    border-radius: 8px;
    background: transparent;
    line-height: 1;
    transform: translateY(-50%);
}

.password-field-toggle:hover {
    color: #0b75bc;
    background: #eef6fb;
}

.password-field-toggle:focus-visible {
    color: #08796f;
    outline: 3px solid rgba(8, 121, 111, 0.2);
    outline-offset: 1px;
}

.password-field-toggle i {
    font-size: 1.05rem;
    pointer-events: none;
}

.auth-input-wrap.password-field-wrap .form-control {
    padding-right: 54px;
}

.auth-captcha {
    margin-bottom: 18px;
}

.auth-captcha .form-label {
    margin-bottom: 8px;
    color: #203449;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-captcha-box {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.auth-captcha-image {
    width: 150px;
    height: 54px;
    object-fit: cover;
    border: 1px solid #d6e2ec;
    border-radius: 8px;
    background: #fff;
}

.auth-captcha-input .form-control {
    padding-left: 16px;
}

.auth-form .invalid-feedback,
.auth-form .help-block {
    display: block;
    margin-top: 7px;
    color: #c93535;
    font-size: 0.86rem;
}

.auth-form .form-check {
    min-height: 1.4rem;
    margin: 0;
}

.auth-form .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.18rem;
    border-color: #b8c7d8;
}

.auth-form .form-check-label {
    color: #5f6f86;
    font-size: 0.92rem;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 24px;
}

.auth-link {
    color: #08796f;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    color: #075b54;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b75bc 0%, #08796f 58%, #2f844b 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(8, 121, 111, 0.24);
}

.auth-submit:hover,
.auth-submit:focus {
    background: linear-gradient(135deg, #09629d 0%, #076b63 58%, #28713f 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(8, 121, 111, 0.26);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 16px;
    color: #77889a;
    font-size: 0.84rem;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: #dfe8f1;
}

.auth-google {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 12px;
    padding: 0 64px;
    color: #17304a;
    border: 1px solid #cfe0ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    box-shadow: 0 12px 26px rgba(1, 41, 112, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.auth-google-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3edf7;
    border-radius: 10px;
    background: #fff;
    transform: translateY(-50%);
    box-shadow: 0 6px 14px rgba(1, 41, 112, 0.07);
}

.auth-google-icon img,
.auth-google-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.auth-google-label {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.auth-google:hover,
.auth-google:focus {
    color: #012970;
    border-color: #8fb7df;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    box-shadow: 0 16px 30px rgba(1, 41, 112, 0.13);
    transform: translateY(-1px);
}

.auth-google:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.18);
    outline-offset: 3px;
}

.auth-google-note {
    margin: 10px 0 0;
    color: #6d7d8f;
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.auth-secondary-action {
    margin-top: 22px;
    text-align: center;
}

.auth-secondary-action .auth-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auth-warning-box {
    display: flex;
    gap: 12px;
    margin: 0 0 18px;
    padding: 13px 14px;
    color: #62430d;
    border: 1px solid #f2d48a;
    border-radius: 8px;
    background: #fff8e6;
}

.auth-warning-box > i {
    margin-top: 2px;
    color: #b98212;
    font-size: 1.14rem;
}

.auth-warning-box strong,
.auth-warning-box span {
    display: block;
}

.auth-warning-box strong {
    margin-bottom: 3px;
    font-size: 0.92rem;
}

.auth-warning-box span {
    color: #73551d;
    font-size: 0.88rem;
    line-height: 1.45;
}

.auth-policy-list {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.auth-policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #49627d;
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-policy-list i {
    margin-top: 1px;
    color: #08796f;
}

.auth-logo-mobile {
    display: none;
}

.auth-body #yii-debug-toolbar,
.auth-body #yii-debug-toolbar-logo {
    display: none !important;
    visibility: hidden !important;
}

@media (max-width: 991.98px) {
    .auth-body {
        background-size: cover, min(78vmin, 560px);
        background-position: center, calc(100% + 150px) calc(100% + 150px);
    }

    .auth-body .section.dashboard {
        align-items: center;
        padding: 20px 14px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-brand {
        min-height: 220px;
        padding: 30px 30px 28px;
        justify-content: flex-end;
    }

    .auth-brand::after {
        right: -64px;
        bottom: -84px;
        width: 260px;
        height: 260px;
        opacity: 0.2;
    }

    .auth-brand-mark,
    .auth-brand p,
    .auth-brand-meta {
        display: none;
    }

    .auth-brand h1 {
        max-width: min(460px, calc(100% - 100px));
        font-size: 1.72rem;
    }

    .auth-panel {
        padding: 32px 28px 34px;
    }

    .auth-card {
        max-width: 470px;
    }

    .auth-card-subtitle {
        max-width: none;
    }

    .auth-logo-mobile {
        width: 78px;
        height: 78px;
        display: block;
        margin: -72px auto 20px;
        background: #fff;
        border-width: 6px;
        border-style: solid;
        border-color: #fff;
        border-radius: 50%;
        box-shadow: 0 10px 28px rgba(1, 41, 112, 0.14);
    }
}

@media (max-width: 575.98px) {
    .auth-body {
        background-attachment: scroll, scroll;
        background-size: cover, 430px;
        background-position: center, calc(100% + 160px) calc(100% + 170px);
    }

    .auth-body::after {
        top: -120px;
        left: -150px;
        width: 320px;
        height: 320px;
        opacity: 0.08;
    }

    .auth-body .section.dashboard {
        padding: 0;
    }

    .auth-body .section.dashboard > .row:first-child {
        top: 12px;
        width: calc(100% - 24px);
    }

    .auth-shell {
        width: 100%;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-brand {
        min-height: 176px;
        padding: 24px 20px 28px;
    }

    .auth-brand h1 {
        max-width: calc(100% - 86px);
        font-size: 1.34rem;
    }

    .auth-brand-kicker {
        font-size: 0.73rem;
    }

    .auth-panel {
        align-items: flex-start;
        padding: 28px 18px 34px;
    }

    .auth-card {
        max-width: none;
    }

    .auth-card-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .auth-card-title {
        font-size: 1.52rem;
    }

    .auth-card-subtitle {
        font-size: 0.92rem;
    }

    .auth-logo-mobile {
        width: 72px;
        height: 72px;
        margin: 0 0 18px;
    }

    .auth-form .form-control,
    .auth-submit,
    .auth-google {
        min-height: 56px;
    }

    .auth-form .form-control {
        font-size: 0.94rem;
    }

    .auth-captcha-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .auth-captcha-image {
        width: 150px;
        max-width: 100%;
    }

    .auth-options {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .auth-link {
        width: fit-content;
    }
}

/* Account settings */
.settings-body .section.dashboard > .row {
    margin-left: 0;
    margin-right: 0;
}

.settings-body #yii-debug-toolbar,
.settings-body #yii-debug-toolbar-logo {
    display: none !important;
    visibility: hidden !important;
}

.settings-page {
    width: 100%;
}

.settings-page > .row,
.settings-page .row {
    margin-left: 0;
    margin-right: 0;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.settings-sidebar,
.settings-card {
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(1, 41, 112, 0.06);
}

.settings-sidebar {
    position: sticky;
    top: 86px;
    overflow: hidden;
}

.settings-user {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #edf2f7;
    background: linear-gradient(135deg, #f7fbff 0%, #eef8f6 100%);
}

.settings-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(1, 41, 112, 0.12);
}

.settings-user-main {
    min-width: 0;
}

.settings-user-name {
    overflow: hidden;
    color: #17324d;
    font-size: 0.98rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-user-code {
    margin-top: 3px;
    color: #6b7d90;
    font-size: 0.86rem;
    font-weight: 600;
}

.settings-user-meta {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid #edf2f7;
}

.settings-user-meta div {
    min-width: 0;
}

.settings-user-meta dt {
    color: #7a8b9c;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.settings-user-meta dd {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    color: #263b52;
    font-size: 0.9rem;
    font-weight: 600;
}

.settings-nav {
    display: grid;
    gap: 4px;
    padding: 10px;
}

.settings-nav-link {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #44586e;
    border-radius: 7px;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.settings-nav-link i {
    color: #0b75bc;
    font-size: 1.05rem;
}

.settings-nav-link:hover {
    color: #063f6f;
    background: #f1f7fb;
}

.settings-nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #0b75bc 0%, #08796f 100%);
}

.settings-nav-link.active i {
    color: #fff;
}

.settings-content {
    min-width: 0;
}

.settings-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.settings-header h1 {
    margin: 0;
    color: #17324d;
    font-size: 1.42rem;
    line-height: 1.28;
    font-weight: 800;
}

.settings-header p {
    margin: 5px 0 0;
    color: #627388;
    font-size: 0.94rem;
}

.settings-status {
    min-height: 34px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: #08796f;
    border: 1px solid #bfe1da;
    border-radius: 7px;
    background: #f2fbf8;
    font-size: 0.84rem;
    font-weight: 800;
}

.settings-card {
    padding: 22px;
}

.settings-content .settings-card + .settings-card {
    margin-top: 16px;
}

.settings-form {
    display: grid;
    gap: 22px;
}

.settings-section {
    min-width: 0;
    scroll-margin-top: 96px;
}

.settings-section + .settings-section {
    padding-top: 22px;
    border-top: 1px solid #edf2f7;
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #17324d;
    font-size: 1rem;
    font-weight: 800;
}

.settings-section-title i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b75bc;
    border-radius: 7px;
    background: #eef7fd;
}

.settings-email-badge {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 800;
}

.settings-email-badge.confirmed {
    color: #08796f;
    border: 1px solid #bfe1da;
    background: #f2fbf8;
}

.settings-email-badge.unconfirmed {
    color: #9d5a00;
    border: 1px solid #f0d3a1;
    background: #fff8e8;
}

.settings-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.settings-info-item {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.settings-info-item span {
    display: block;
    margin-bottom: 5px;
    color: #7a8b9c;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-info-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #17324d;
    font-size: 0.96rem;
    font-weight: 800;
}

.settings-email-warning {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 14px;
    color: #794600;
    border: 1px solid #f0d3a1;
    border-radius: 8px;
    background: #fffaf0;
}

.settings-email-warning i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #c47a00;
}

.settings-email-warning strong,
.settings-email-warning span {
    display: block;
}

.settings-email-warning strong {
    margin-bottom: 3px;
    color: #6e3f00;
    font-weight: 800;
}

.settings-email-warning span {
    line-height: 1.55;
}

.settings-email-state,
.settings-pending-email {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 13px 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.settings-email-state span {
    display: block;
    color: #7a8b9c;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-email-state strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #17324d;
}

.settings-email-state-note {
    max-width: 280px;
    color: #9d5a00;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
}

.settings-pending-email {
    color: #794600;
    border-color: #f0d3a1;
    background: #fffaf0;
}

.settings-pending-email > div {
    display: flex;
    min-width: 0;
    gap: 9px;
    align-items: center;
}

.settings-pending-email strong {
    overflow-wrap: anywhere;
}

.settings-pending-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.settings-pending-cancel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a43a3a;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.settings-pending-cancel-link:hover,
.settings-pending-cancel-link:focus {
    color: #862d2d;
    text-decoration: underline;
}

.settings-mini-action {
    flex: 0 0 auto;
    white-space: nowrap;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.settings-field {
    margin-bottom: 16px;
}

.settings-grid .settings-field {
    margin-bottom: 0;
}

.settings-form .form-label {
    margin-bottom: 7px;
    color: #33475f;
    font-size: 0.86rem;
    font-weight: 800;
}

.settings-form .form-control,
.settings-form .form-select {
    min-height: 46px;
    color: #263b52;
    border-color: #d9e4ee;
    border-radius: 8px;
    background-color: #fff;
    font-size: 0.96rem;
    box-shadow: none;
}

.settings-form textarea.form-control {
    min-height: 128px;
}

.settings-form .form-control:hover,
.settings-form .form-select:hover {
    border-color: #bed0df;
}

.settings-form .form-control:focus,
.settings-form .form-select:focus {
    border-color: #08796f;
    box-shadow: 0 0 0 4px rgba(8, 121, 111, 0.12);
}

.settings-readonly,
.settings-form .form-control[readonly] {
    color: #526477;
    background-color: #f6f9fc;
}

.settings-form .invalid-feedback,
.settings-form .help-block {
    display: block;
    margin-top: 6px;
    color: #c93535;
    font-size: 0.84rem;
}

.settings-form .hint-block {
    margin-top: 6px;
    color: #748599;
    font-size: 0.84rem;
}

.settings-form .hint-block a {
    color: #08796f;
    font-weight: 700;
    text-decoration: none;
}

.settings-form .hint-block a:hover {
    text-decoration: underline;
}

.settings-link {
    color: #08796f;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.settings-link:hover,
.settings-link:focus {
    color: #075b54;
    text-decoration: underline;
}

.settings-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.settings-submit {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b75bc 0%, #08796f 100%);
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(8, 121, 111, 0.2);
}

.settings-submit:hover,
.settings-submit:focus {
    color: #fff;
    background: linear-gradient(135deg, #09629d 0%, #076b63 100%);
}

.settings-secondary-button,
.settings-outline-danger,
.settings-mini-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.settings-secondary-button {
    color: #063f6f;
    border: 1px solid #bdd7eb;
    background: #eef7fd;
}

.settings-secondary-button:hover,
.settings-secondary-button:focus {
    color: #04365f;
    border-color: #93c0df;
    background: #e2f1fb;
}

.settings-outline-danger {
    color: #b73232;
    border: 1px solid #f0c9c9;
    background: #fff7f7;
}

.settings-outline-danger:hover,
.settings-outline-danger:focus {
    color: #9b2727;
    border-color: #e5a8a8;
    background: #fff0f0;
}

.settings-table-card {
    overflow: hidden;
    padding: 0;
}

.settings-table-card .grid-view {
    overflow-x: auto;
}

.settings-table {
    min-width: 680px;
    margin: 0;
    color: #263b52;
}

.settings-table > :not(caption) > * > * {
    padding: 13px 16px;
    border-color: #edf2f7;
}

.settings-table thead th {
    color: #33475f;
    background: #f7fbff;
    font-size: 0.84rem;
    font-weight: 800;
}

.settings-table tbody tr:hover {
    background: #fbfdff;
}

.settings-table-summary {
    padding: 11px 16px 14px;
    color: #748599;
    border-top: 1px solid #edf2f7;
    font-size: 0.84rem;
}

.settings-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.settings-action-box {
    min-width: 0;
    padding: 18px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.settings-action-box p,
.settings-muted-note {
    margin: 0 0 16px;
    color: #627388;
    font-size: 0.94rem;
    line-height: 1.55;
}

.settings-action-box-danger {
    background: #fffafa;
}

.settings-muted-note {
    padding: 16px 16px 0;
}

.settings-network-icon {
    width: 48px;
}

.settings-network-action {
    width: 160px;
    text-align: right;
}

.settings-mini-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
}

.settings-standalone {
    min-height: calc(100dvh - 160px);
    display: grid;
    place-items: center;
    padding: 24px 0;
}

.settings-standalone-card {
    width: min(560px, 100%);
}

.settings-consent-box {
    padding: 16px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.settings-consent-box .form-check {
    margin: 0;
}

.settings-consent-box .form-check-label {
    color: #33475f;
    font-weight: 700;
    line-height: 1.55;
}

.settings-consent-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.settings-danger-copy {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 13px 14px;
    color: #9b2727;
    border: 1px solid #f0c9c9;
    border-radius: 8px;
    background: #fff7f7;
    font-weight: 700;
}

.settings-danger-copy i {
    flex: 0 0 auto;
}

.settings-actions-split {
    justify-content: space-between;
}

.footer-email-confirmation {
    display: flex;
    width: fit-content;
    max-width: min(760px, 100%);
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 auto 10px;
    padding: 9px 13px;
    color: #794600;
    border: 1px solid #f0d3a1;
    border-radius: 8px;
    background: #fffaf0;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.footer-email-confirmation a {
    color: #08796f;
    font-weight: 800;
    text-decoration: none;
}

.footer-email-confirmation a:hover {
    text-decoration: underline;
}

.grade-page {
    display: grid;
    gap: 18px;
    color: #102a43;
}

.grade-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 22px 24px;
    border: 1px solid #dbe8f3;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    box-shadow: 0 16px 38px rgba(15, 44, 73, 0.08);
}

.grade-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #08796f;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.grade-header h1 {
    margin: 0;
    color: #082f5f;
    font-size: 1.8rem;
    font-weight: 800;
}

.grade-header p {
    max-width: 720px;
    margin: 8px 0 0;
    color: #60748a;
    font-size: 0.98rem;
}

.grade-student {
    display: grid;
    gap: 3px;
    min-width: 230px;
    padding: 13px 15px;
    border: 1px solid #dce9f4;
    border-radius: 8px;
    background: #ffffff;
}

.grade-student-label {
    color: #6c7f94;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.grade-student strong {
    color: #082f5f;
    font-size: 1rem;
}

.grade-student span:last-child {
    color: #60748a;
    font-size: 0.9rem;
    font-weight: 700;
}

.grade-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
}

.grade-summary-card {
    display: grid;
    gap: 6px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid #dbe8f3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 44, 73, 0.06);
}

.grade-summary-card span {
    color: #6c7f94;
    font-size: 0.83rem;
    font-weight: 800;
    text-transform: uppercase;
}

.grade-summary-card strong {
    color: #082f5f;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.grade-summary-card small {
    margin-left: 4px;
    color: #60748a;
    font-size: 0.95rem;
    font-weight: 800;
}

.grade-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.grade-note,
.grade-alert {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.grade-note {
    flex: 1 1 auto;
    border: 1px solid #cfe5f4;
    background: #f4fbff;
    color: #255c7a;
}

.grade-note i {
    color: #0b75bc;
}

.grade-alert {
    border: 1px solid #f2c5c5;
    background: #fff7f7;
    color: #9f2f2f;
}

.grade-alert i {
    color: #c43d3d;
}

.grade-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #cdddea;
    border-radius: 8px;
    background: #ffffff;
    color: #24455f;
    font-weight: 800;
    white-space: nowrap;
}

.grade-secondary-action:hover,
.grade-secondary-action:focus {
    border-color: #08796f;
    background: #effaf8;
    color: #08796f;
}

.grade-table-shell {
    overflow: hidden;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 44, 73, 0.08);
}

.grade-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.grade-table thead th {
    padding: 13px 12px;
    border-bottom: 1px solid #d9e6f1;
    background: #f4f8fc;
    color: #415a73;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.grade-table tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid #edf3f8;
    color: #263b52;
    vertical-align: top;
}

.grade-table tbody tr:last-child td {
    border-bottom: 0;
}

.grade-table tbody tr:hover td {
    background: #fbfdff;
}

.grade-row-failed td {
    background: #fffafa;
}

.grade-course-name {
    color: #082f5f;
    font-weight: 800;
}

.grade-course-code {
    margin-top: 3px;
    color: #6c7f94;
    font-size: 0.83rem;
    font-weight: 700;
}

.grade-detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.grade-detail-list span {
    display: inline-flex;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f6fb;
    color: #4f647a;
    font-size: 0.78rem;
}

.grade-letter,
.grade-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.grade-letter {
    min-width: 40px;
    background: #eef6fb;
    color: #0b5b92;
}

.grade-letter-a,
.grade-letter-bplus,
.grade-letter-b {
    background: #ecfdf5;
    color: #08796f;
}

.grade-letter-cplus,
.grade-letter-c {
    background: #fff8e8;
    color: #9a5700;
}

.grade-letter-dplus,
.grade-letter-d,
.grade-letter-f {
    background: #fff1f1;
    color: #b13333;
}

.grade-status-passed {
    background: #ecfdf5;
    color: #08796f;
}

.grade-status-failed {
    background: #fff1f1;
    color: #b13333;
}

.grade-status-eligible {
    background: #eef6ff;
    color: #0b5b92;
}

.grade-status-pending {
    background: #f1f5f9;
    color: #4f647a;
}

.grade-muted {
    color: #8a9aad;
    font-weight: 800;
}

.grade-mobile-list {
    display: none;
}

.grade-mobile-card {
    display: grid;
    gap: 12px;
    padding: 15px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 44, 73, 0.07);
}

.grade-mobile-head {
    display: grid;
    gap: 10px;
}

.grade-mobile-head h2 {
    margin: 0;
    color: #082f5f;
    font-size: 1rem;
    font-weight: 800;
}

.grade-mobile-head span {
    color: #60748a;
    font-size: 0.86rem;
    font-weight: 700;
}

.grade-mobile-head .grade-status {
    width: fit-content;
}

.grade-mobile-score {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.grade-mobile-score div {
    display: grid;
    gap: 4px;
    min-height: 70px;
    padding: 10px;
    border-radius: 8px;
    background: #f5f9fd;
}

.grade-mobile-score span {
    color: #6c7f94;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.grade-mobile-score strong {
    color: #082f5f;
    font-size: 1.22rem;
    font-weight: 900;
}

.grade-mobile-meta,
.grade-mobile-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.grade-mobile-meta span,
.grade-mobile-detail span {
    display: inline-flex;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f6fb;
    color: #4f647a;
    font-size: 0.8rem;
}

.grade-empty,
.grade-requirements {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.grade-empty i {
    color: #8aa0b5;
    font-size: 2.2rem;
}

.grade-empty h2 {
    margin: 0;
    color: #082f5f;
    font-size: 1.25rem;
    font-weight: 800;
}

.grade-empty p {
    margin: 0;
    color: #60748a;
    font-weight: 700;
}

.grade-requirements {
    border-color: #f0d3a1;
    background: #fffaf0;
}

.grade-requirements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9a5700;
    font-size: 1.1rem;
    font-weight: 800;
}

.grade-requirements-grid {
    display: grid;
    gap: 14px;
}

.cumulative-page {
    display: grid;
    gap: 18px;
    color: #102a43;
}

.cumulative-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 22px 24px;
    border: 1px solid #dbe8f3;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    box-shadow: 0 16px 38px rgba(15, 44, 73, 0.08);
}

.cumulative-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #08796f;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cumulative-header h1 {
    margin: 0;
    color: #082f5f;
    font-size: 1.8rem;
    font-weight: 800;
}

.cumulative-header p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #60748a;
    font-size: 0.98rem;
}

.cumulative-student {
    display: grid;
    gap: 3px;
    min-width: 230px;
    padding: 13px 15px;
    border: 1px solid #dce9f4;
    border-radius: 8px;
    background: #ffffff;
}

.cumulative-student-label {
    color: #6c7f94;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cumulative-student strong {
    color: #082f5f;
    font-size: 1rem;
}

.cumulative-student span:last-child {
    color: #60748a;
    font-size: 0.9rem;
    font-weight: 700;
}

.cumulative-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #cfe5f4;
    border-radius: 8px;
    background: #f4fbff;
    color: #255c7a;
}

.cumulative-note i {
    margin-top: 2px;
    color: #0b75bc;
    font-size: 1.05rem;
}

.cumulative-note div {
    display: grid;
    gap: 4px;
}

.cumulative-note strong {
    color: #082f5f;
    font-size: 0.98rem;
}

.cumulative-note span {
    font-weight: 700;
    line-height: 1.55;
}

.cumulative-rules {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 44, 73, 0.06);
}

.cumulative-rules h2 {
    margin: 0 0 7px;
    color: #082f5f;
    font-size: 1.08rem;
    font-weight: 800;
}

.cumulative-rules p {
    margin: 0;
    color: #60748a;
    font-weight: 700;
    line-height: 1.5;
}

.cumulative-rule-table-wrap {
    overflow: hidden;
    border: 1px solid #dbe8f3;
    border-radius: 8px;
}

.cumulative-rule-table,
.cumulative-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.cumulative-rule-table th,
.cumulative-rule-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf3f8;
    color: #263b52;
    font-weight: 700;
}

.cumulative-rule-table thead th {
    background: #f4f8fc;
    color: #415a73;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cumulative-rule-table tbody tr:last-child td {
    border-bottom: 0;
}

.cumulative-table-shell {
    overflow: hidden;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 44, 73, 0.08);
}

.cumulative-table thead th {
    padding: 13px 12px;
    border-bottom: 1px solid #d9e6f1;
    background: #f4f8fc;
    color: #415a73;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.cumulative-table tbody td,
.cumulative-table tfoot th {
    padding: 13px 12px;
    border-bottom: 1px solid #edf3f8;
    color: #263b52;
    vertical-align: middle;
}

.cumulative-table tbody tr:last-child td {
    border-bottom: 0;
}

.cumulative-table tbody tr:hover td {
    background: #fbfdff;
}

.cumulative-table th:first-child,
.cumulative-table td:first-child,
.cumulative-table th:nth-child(n+3),
.cumulative-table td:nth-child(n+3) {
    text-align: center;
}

.cumulative-table tfoot th {
    border-top: 1px solid #d9e6f1;
    border-bottom: 0;
    background: #f4fbf7;
    color: #0b5f55;
    font-weight: 900;
}

.cumulative-course-name {
    color: #082f5f;
    font-weight: 800;
}

.cumulative-course-code {
    margin-top: 3px;
    color: #6c7f94;
    font-size: 0.83rem;
    font-weight: 700;
}

.cumulative-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef6fb;
    color: #0b5b92;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.cumulative-letter-a,
.cumulative-letter-bplus,
.cumulative-letter-b {
    background: #ecfdf5;
    color: #08796f;
}

.cumulative-letter-cplus,
.cumulative-letter-c {
    background: #fff8e8;
    color: #9a5700;
}

.cumulative-letter-dplus,
.cumulative-letter-d,
.cumulative-letter-f {
    background: #fff1f1;
    color: #b13333;
}

.cumulative-mobile-list {
    display: none;
}

.cumulative-mobile-card {
    display: grid;
    gap: 12px;
    padding: 15px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 44, 73, 0.07);
}

.cumulative-mobile-head {
    display: grid;
    gap: 3px;
}

.cumulative-mobile-head span {
    color: #08796f;
    font-size: 0.78rem;
    font-weight: 900;
}

.cumulative-mobile-head h2 {
    margin: 0;
    color: #082f5f;
    font-size: 1rem;
    font-weight: 800;
}

.cumulative-mobile-head small {
    color: #60748a;
    font-size: 0.84rem;
    font-weight: 700;
}

.cumulative-mobile-score {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.cumulative-mobile-score div {
    display: grid;
    gap: 4px;
    min-height: 68px;
    padding: 10px;
    border-radius: 8px;
    background: #f5f9fd;
}

.cumulative-mobile-score span {
    color: #6c7f94;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cumulative-mobile-score strong {
    color: #082f5f;
    font-size: 1.08rem;
    font-weight: 900;
}

.cumulative-mobile-total {
    display: grid;
    gap: 10px;
    padding: 15px;
    border: 1px solid #bfdfd7;
    border-radius: 8px;
    background: #f4fbf7;
    color: #0b5f55;
}

.cumulative-mobile-total > span {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cumulative-mobile-total div {
    display: grid;
    gap: 6px;
}

.cumulative-mobile-total strong {
    color: #082f5f;
    font-size: 1rem;
}

.cumulative-empty,
.cumulative-requirements {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.cumulative-empty i {
    color: #8aa0b5;
    font-size: 2.2rem;
}

.cumulative-empty h2 {
    margin: 0;
    color: #082f5f;
    font-size: 1.25rem;
    font-weight: 800;
}

.cumulative-empty p {
    margin: 0;
    color: #60748a;
    font-weight: 700;
}

.cumulative-requirements {
    border-color: #f0d3a1;
    background: #fffaf0;
}

.cumulative-requirements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9a5700;
    font-size: 1.1rem;
    font-weight: 800;
}

.cumulative-requirements-grid {
    display: grid;
    gap: 14px;
}

.schedule-page {
    display: grid;
    gap: 18px;
    color: #102a43;
}

.schedule-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 22px 24px;
    border: 1px solid #dbe8f3;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    box-shadow: 0 16px 38px rgba(15, 44, 73, 0.08);
}

.schedule-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #08796f;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.schedule-header h1 {
    margin: 0;
    color: #082f5f;
    font-size: 1.8rem;
    font-weight: 800;
}

.schedule-header p {
    max-width: 720px;
    margin: 8px 0 0;
    color: #60748a;
    font-size: 0.98rem;
}

.schedule-student {
    display: grid;
    gap: 3px;
    min-width: 230px;
    padding: 13px 15px;
    border: 1px solid #dce9f4;
    border-radius: 8px;
    background: #ffffff;
}

.schedule-student-label {
    color: #6c7f94;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.schedule-student strong {
    color: #082f5f;
    font-size: 1rem;
}

.schedule-student span:last-child {
    color: #60748a;
    font-size: 0.9rem;
    font-weight: 700;
}

.schedule-notice {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #cfe5f4;
    border-radius: 8px;
    background: #f4fbff;
    color: #255c7a;
    font-weight: 700;
}

.schedule-notice i {
    color: #0b75bc;
    font-size: 1.05rem;
}

.schedule-list {
    display: grid;
    gap: 18px;
}

.schedule-panel {
    overflow: hidden;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 44, 73, 0.08);
}

.schedule-panel:fullscreen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
}

.schedule-panel:fullscreen .schedule-frame-shell {
    height: auto;
    min-height: 0;
    border-radius: 0;
}

.schedule-panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #e2edf6;
    background: #ffffff;
}

.schedule-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid #cbe9e4;
    border-radius: 999px;
    background: #effaf8;
    color: #08796f;
    font-size: 0.78rem;
    font-weight: 800;
}

.schedule-panel h2 {
    margin: 8px 0 4px;
    color: #082f5f;
    font-size: 1.15rem;
    font-weight: 800;
}

.schedule-panel p {
    margin: 0;
    color: #60748a;
    font-size: 0.92rem;
}

.schedule-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.schedule-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #cdddea;
    border-radius: 8px;
    background: #ffffff;
    color: #24455f;
    font-weight: 800;
    line-height: 1.1;
}

.schedule-action:hover,
.schedule-action:focus {
    border-color: #0b75bc;
    background: #f0f7fc;
    color: #0b75bc;
}

.schedule-action-primary {
    border-color: #08796f;
    background: #08796f;
    color: #ffffff;
}

.schedule-action-primary:hover,
.schedule-action-primary:focus {
    border-color: #07665e;
    background: #07665e;
    color: #ffffff;
}

.schedule-frame-shell {
    height: min(78vh, 820px);
    min-height: 620px;
    background: #f5f8fb;
}

.schedule-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.schedule-requirements {
    display: grid;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #f0d3a1;
    border-radius: 8px;
    background: #fffaf0;
}

.schedule-requirements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9a5700;
    font-size: 1.1rem;
    font-weight: 800;
}

.schedule-requirements-grid {
    display: grid;
    gap: 14px;
}

@media (max-width: 991.98px) {
    .grade-header {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 18px;
    }

    .grade-student {
        min-width: 0;
    }

    .grade-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .grade-toolbar {
        display: grid;
    }

    .grade-secondary-action {
        width: fit-content;
    }

    .cumulative-header {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 18px;
    }

    .cumulative-student {
        min-width: 0;
    }

    .cumulative-rules {
        grid-template-columns: 1fr;
    }

    .cumulative-rule-table-wrap {
        overflow-x: auto;
    }

    .schedule-header {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 18px;
    }

    .schedule-student {
        min-width: 0;
    }

    .schedule-panel-head {
        grid-template-columns: 1fr;
    }

    .schedule-actions {
        justify-content: flex-start;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-sidebar {
        position: static;
    }

    .settings-user-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px;
    }

    .settings-nav-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .settings-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .grade-page {
        gap: 14px;
    }

    body:has(.grade-page) .section.dashboard > .row {
        margin-left: 0;
        margin-right: 0;
    }

    body:has(.grade-page) .section.dashboard > .row > .col-12 {
        padding-left: 0;
        padding-right: 0;
    }

    body:has(.cumulative-page) .section.dashboard > .row {
        margin-left: 0;
        margin-right: 0;
    }

    body:has(.cumulative-page) .section.dashboard > .row > .col-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .grade-header {
        padding: 15px;
    }

    .grade-header h1 {
        font-size: 1.45rem;
    }

    .grade-header p {
        font-size: 0.92rem;
    }

    .grade-summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .grade-summary-card {
        min-height: 92px;
        padding: 13px;
    }

    .grade-summary-card span {
        font-size: 0.72rem;
    }

    .grade-summary-card strong {
        font-size: 1.45rem;
    }

    .grade-note,
    .grade-alert {
        align-items: flex-start;
        font-size: 0.88rem;
    }

    .grade-secondary-action {
        width: 100%;
    }

    .grade-table-shell {
        display: none;
    }

    .grade-mobile-list {
        display: grid;
        gap: 12px;
    }

    .grade-mobile-score {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grade-mobile-score strong {
        font-size: 1.08rem;
    }

    .grade-mobile-meta span,
    .grade-mobile-detail span {
        font-size: 0.76rem;
    }

    .cumulative-page {
        gap: 14px;
    }

    .cumulative-header {
        padding: 15px;
    }

    .cumulative-header h1 {
        font-size: 1.45rem;
    }

    .cumulative-header p,
    .cumulative-note span,
    .cumulative-rules p {
        font-size: 0.9rem;
    }

    .cumulative-note {
        padding: 13px;
    }

    .cumulative-rules {
        padding: 14px;
    }

    .cumulative-table-shell {
        display: none;
    }

    .cumulative-mobile-list {
        display: grid;
        gap: 12px;
    }

    .cumulative-mobile-score {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cumulative-mobile-score strong {
        font-size: 1.04rem;
    }

    .schedule-page {
        gap: 14px;
    }

    .schedule-header {
        padding: 15px;
    }

    .schedule-header h1 {
        font-size: 1.45rem;
    }

    .schedule-header p {
        font-size: 0.92rem;
    }

    .schedule-notice {
        align-items: flex-start;
        font-size: 0.9rem;
    }

    .schedule-panel-head {
        padding: 14px;
    }

    .schedule-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .schedule-action {
        width: 100%;
    }

    .schedule-frame-shell {
        height: calc(100vh - 228px);
        min-height: 540px;
    }

    .settings-layout {
        gap: 14px;
    }

    .settings-user {
        padding: 15px;
    }

    .settings-user-meta {
        grid-template-columns: 1fr;
        padding: 12px 15px;
    }

    .settings-header {
        display: grid;
        gap: 10px;
    }

    .settings-header h1 {
        font-size: 1.22rem;
    }

    .settings-status {
        width: fit-content;
    }

    .settings-card {
        padding: 16px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .settings-info-grid {
        grid-template-columns: 1fr;
    }

    .settings-email-warning,
    .settings-email-state,
    .settings-pending-email,
    .footer-email-confirmation {
        display: grid;
        gap: 8px;
        justify-items: center;
        text-align: center;
    }

    .settings-mini-action {
        width: 100%;
    }

    .settings-email-state-note {
        max-width: none;
        text-align: center;
    }

    .settings-pending-actions {
        width: 100%;
        display: grid;
        justify-items: center;
    }

    .settings-actions {
        display: grid;
    }

    .settings-submit {
        width: 100%;
    }

    .settings-consent-actions,
    .settings-actions-split {
        display: grid;
        gap: 12px;
    }

    .settings-header .settings-outline-danger {
        width: 100%;
    }

    .settings-table {
        min-width: 620px;
    }
}
