/* Sqooler admin fallback theme. Build gerektirmeden özel panel görünümlerini taşır. */
:root {
    --sq-primary: #0f766e;
    --sq-primary-soft: #f0fdfa;
    --sq-border: #e2e8f0;
    --sq-muted: #64748b;
    --sq-panel: #ffffff;
    --sq-bg: #f8fafc;
    --sq-text: #0f172a;
    --sq-radius: 12px;
}

.sqooler-form-control {
    width: 100%;
    min-height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: .5rem;
    background: #fff;
    padding: .5rem .75rem;
    color: #111827;
    font-size: .875rem;
    line-height: 1.25rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.sqooler-form-control::placeholder {
    color: #9ca3af;
}

.sqooler-form-control:hover {
    border-color: #9ca3af;
}

.sqooler-form-control:focus {
    border-color: var(--sq-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgb(20 184 166 / 18%);
}

.sqooler-form-control:disabled,
.sqooler-form-control[readonly] {
    cursor: not-allowed;
    background: #f9fafb;
    color: #6b7280;
}

.sqooler-form-textarea {
    min-height: 5rem;
    resize: vertical;
}

.sqooler-form-checkbox-input {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    border-radius: .25rem;
    border-color: #d1d5db;
    color: var(--sq-primary);
}

.sqooler-form-checkbox-input:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgb(20 184 166 / 18%);
}

.dark .sqooler-form-control {
    border-color: #374151;
    background: #111827;
    color: #f9fafb;
}

.dark .sqooler-form-control::placeholder {
    color: #6b7280;
}

.dark .sqooler-form-control:hover {
    border-color: #4b5563;
}

.dark .sqooler-form-control:disabled,
.dark .sqooler-form-control[readonly] {
    background: #0f172a;
    color: #9ca3af;
}

.dark .sqooler-form-checkbox-input {
    border-color: #4b5563;
    background: #111827;
}

.fi-no {
    display: none !important;
}

.sqooler-form-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgb(15 23 42 / 55%);
    padding: .75rem;
}

.sqooler-form-modal-panel {
    display: flex;
    width: 100%;
    max-height: 85vh;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 24px 60px rgb(15 23 42 / 28%);
}

.sqooler-form-modal-panel-dar {
    max-width: 36rem;
}

.sqooler-form-modal-panel-orta {
    max-width: 42rem;
}

.sqooler-form-modal-panel-genis {
    max-width: 56rem;
}

.sqooler-form-modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 1.25rem;
}

.sqooler-form-modal-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.25rem;
}

.sqooler-form-modal-footer {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: .5rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    padding: 1rem 1.25rem;
}

.dark .sqooler-form-modal-panel {
    border-color: rgb(255 255 255 / 10%);
    background: #030712;
}

.dark .sqooler-form-modal-header,
.dark .sqooler-form-modal-footer {
    border-color: rgb(255 255 255 / 10%);
}

.dark .sqooler-form-modal-footer {
    background: rgb(17 24 39 / 70%);
}

.sq-finance-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    align-items: end;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(248 250 252 / 96%));
    padding: .875rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.sq-finance-filter-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .35rem;
}

.sq-finance-filter-field span {
    color: #475569;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
}

.sq-finance-filter-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: .5rem;
}

.sq-finance-filter-bar--gelecek-odemeler .sq-finance-filter-actions {
    grid-column: 1 / -1;
}

.sq-finance-cash-card {
    position: relative;
    min-height: 10.5rem;
    overflow: hidden;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: var(--sq-panel);
    padding: 1rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.sq-finance-cash-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgb(15 23 42 / 8%);
}

.sq-finance-cash-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
}

.sq-finance-cash-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.sq-finance-cash-card-kicker {
    color: var(--sq-muted);
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1rem;
    text-transform: uppercase;
}

.sq-finance-cash-card h3 {
    margin-top: .125rem;
    color: var(--sq-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35rem;
}

.sq-finance-cash-card-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: .625rem;
}

.sq-finance-cash-card-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.sq-finance-cash-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem;
    margin-top: 1rem;
}

.sq-finance-cash-card-grid div {
    min-width: 0;
    border-radius: .5rem;
    background: rgb(248 250 252 / 86%);
    padding: .625rem;
}

.sq-finance-cash-card-grid dt,
.sq-finance-cash-card-balance span {
    color: var(--sq-muted);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
}

.sq-finance-cash-card-grid dd {
    margin-top: .125rem;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.25rem;
}

.sq-finance-cash-card-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .875rem;
    border-top: 1px solid var(--sq-border);
    padding-top: .875rem;
}

.sq-finance-cash-card-balance strong {
    color: var(--sq-text);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35rem;
    text-align: right;
}

.sq-finance-cash-card-pozitif .sq-finance-cash-card-balance strong {
    color: #047857;
}

.sq-finance-cash-card-negatif .sq-finance-cash-card-balance strong {
    color: #dc2626;
}

.sq-finance-cash-card-notr .sq-finance-cash-card-balance strong {
    color: #475569;
}

.sq-finance-cash-card-teal::before,
.sq-finance-cash-card-teal .sq-finance-cash-card-icon {
    border-color: rgb(20 184 166 / 30%);
    background: rgb(240 253 250);
    color: #0f766e;
}

.sq-finance-cash-card-teal::before {
    background: #0f766e;
}

.sq-finance-cash-card-indigo::before,
.sq-finance-cash-card-indigo .sq-finance-cash-card-icon {
    border-color: rgb(99 102 241 / 28%);
    background: rgb(238 242 255);
    color: #4338ca;
}

.sq-finance-cash-card-indigo::before {
    background: #4f46e5;
}

.sq-finance-cash-card-blue::before,
.sq-finance-cash-card-blue .sq-finance-cash-card-icon {
    border-color: rgb(59 130 246 / 28%);
    background: rgb(239 246 255);
    color: #2563eb;
}

.sq-finance-cash-card-blue::before {
    background: #2563eb;
}

.sq-finance-cash-card-amber::before,
.sq-finance-cash-card-amber .sq-finance-cash-card-icon {
    border-color: rgb(245 158 11 / 28%);
    background: rgb(255 251 235);
    color: #b45309;
}

.sq-finance-cash-card-amber::before {
    background: #d97706;
}

.sq-finance-cash-card-total {
    border-color: rgb(15 23 42 / 18%);
}

.sq-finance-cash-card-total::before,
.sq-finance-cash-card-total .sq-finance-cash-card-icon {
    border-color: rgb(15 23 42 / 18%);
    background: #f1f5f9;
    color: #0f172a;
}

.sq-finance-cash-card-total::before {
    background: #0f172a;
}

.sq-finance-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
}

.sq-finance-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--sq-text);
    font-size: .875rem;
}

.sq-finance-table--gelecek-odemeler {
    min-width: 68rem;
}

.sq-finance-table thead {
    background: #f1f5f9;
    color: #475569;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.sq-finance-table tbody tr {
    background: var(--sq-panel);
    transition: background-color 120ms ease;
}

.sq-finance-table tbody tr:nth-child(even) {
    background: rgb(248 250 252 / 55%);
}

.sq-finance-table tbody tr:hover {
    background: rgb(240 253 250 / 70%);
}

.sq-finance-table tbody tr.sq-finance-row-cancelled {
    background: rgb(248 250 252 / 72%);
    color: #64748b;
}

.sq-finance-table tbody tr.sq-finance-row-reversal {
    background: rgb(255 251 235 / 58%);
}

.sq-finance-table tbody tr + tr td {
    border-top: 1px solid rgb(226 232 240 / 80%);
}

.sq-finance-direction-badge {
    display: inline-flex;
    min-height: 1.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid;
    padding: .125rem .625rem;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1rem;
}

.sq-finance-direction-giris {
    border-color: rgb(16 185 129 / 28%);
    background: rgb(236 253 245);
    color: #047857;
}

.sq-finance-direction-cikis {
    border-color: rgb(239 68 68 / 25%);
    background: rgb(254 242 242);
    color: #dc2626;
}

.sq-finance-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid;
    padding: .1rem .45rem;
    font-size: .68rem;
    font-weight: 800;
    line-height: .95rem;
}

.sq-finance-status-cancelled {
    border-color: rgb(100 116 139 / 26%);
    background: rgb(241 245 249);
    color: #475569;
}

.sq-finance-status-reversal {
    border-color: rgb(245 158 11 / 28%);
    background: rgb(255 251 235);
    color: #b45309;
}

.sq-finance-amount-positive {
    color: #047857;
}

.sq-finance-amount-negative {
    color: #dc2626;
}

.sq-finance-kasa-name {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
}

.sq-finance-kasa-name span {
    width: .5rem;
    height: .5rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: #0f766e;
}

.sq-finance-linklike {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.sq-finance-linklike:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.dark .sq-finance-filter-bar {
    background: linear-gradient(180deg, rgb(15 23 42 / 96%), rgb(2 6 23 / 96%));
}

.dark .sq-finance-filter-field span {
    color: #cbd5e1;
}

.dark .sq-finance-cash-card-grid div {
    background: rgb(15 23 42 / 70%);
}

.dark .sq-finance-cash-card-pozitif .sq-finance-cash-card-balance strong,
.dark .sq-finance-amount-positive {
    color: #6ee7b7;
}

.dark .sq-finance-cash-card-negatif .sq-finance-cash-card-balance strong,
.dark .sq-finance-amount-negative {
    color: #fca5a5;
}

.dark .sq-finance-cash-card-notr .sq-finance-cash-card-balance strong {
    color: #cbd5e1;
}

.dark .sq-finance-table thead {
    background: rgb(15 23 42 / 95%);
    color: #cbd5e1;
}

.dark .sq-finance-table tbody tr:nth-child(even) {
    background: rgb(15 23 42 / 45%);
}

.dark .sq-finance-table tbody tr:hover {
    background: rgb(19 78 74 / 24%);
}

.dark .sq-finance-table tbody tr.sq-finance-row-cancelled {
    background: rgb(15 23 42 / 64%);
    color: #94a3b8;
}

.dark .sq-finance-table tbody tr.sq-finance-row-reversal {
    background: rgb(120 53 15 / 18%);
}

.dark .sq-finance-table tbody tr + tr td {
    border-top-color: rgb(51 65 85 / 75%);
}

.dark .sq-finance-direction-giris {
    border-color: rgb(16 185 129 / 30%);
    background: rgb(6 78 59 / 34%);
    color: #6ee7b7;
}

.dark .sq-finance-direction-cikis {
    border-color: rgb(248 113 113 / 30%);
    background: rgb(127 29 29 / 34%);
    color: #fca5a5;
}

.dark .sq-finance-status-cancelled {
    border-color: rgb(148 163 184 / 24%);
    background: rgb(51 65 85 / 48%);
    color: #cbd5e1;
}

.dark .sq-finance-status-reversal {
    border-color: rgb(251 191 36 / 28%);
    background: rgb(120 53 15 / 32%);
    color: #fcd34d;
}

@media (min-width: 768px) {
    .sq-finance-filter-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sq-finance-filter-bar--gelecek-odemeler {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .sq-finance-filter-bar--gelecek-odemeler {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sq-finance-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Öğretmen tarifeleri, hakedişleri ve ders takvimi */
.sq-teacher-page-intro {
    max-width: 64rem;
    margin: 0;
    color: #64748b;
    font-size: .875rem;
    line-height: 1.5rem;
}

.sq-teacher-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 1rem;
}

.sq-teacher-filter-grid-single {
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
}

.sq-teacher-filter-grid-hakedis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sq-teacher-filter-grid-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sq-teacher-filter-field {
    display: grid;
    min-width: 0;
    gap: .4rem;
    color: #475569;
    font-size: .8125rem;
    font-weight: 600;
}

.sq-teacher-filter-field .sqooler-form-control {
    min-width: 0;
}

.sq-teacher-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.sq-teacher-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.sq-teacher-summary-card {
    min-width: 0;
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.sq-teacher-summary-card p {
    margin: 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.2rem;
}

.sq-teacher-summary-card strong {
    display: block;
    margin-top: .35rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.5rem;
    overflow-wrap: anywhere;
}

.sq-teacher-table-wrap,
.sq-teacher-calendar-scroll {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #fff;
}

.sq-teacher-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
    color: #334155;
    font-size: .84rem;
    line-height: 1.35rem;
}

.sq-teacher-tariff-table {
    min-width: 1040px;
}

.sq-teacher-hakedis-table {
    min-width: 1320px;
}

.sq-teacher-table th,
.sq-teacher-table td {
    padding: .8rem .9rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.sq-teacher-table th {
    background: #f8fafc;
    color: #475569;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sq-teacher-table tbody tr:last-child td {
    border-bottom: 0;
}

.sq-teacher-table tbody tr:hover {
    background: #f8fafc;
}

.sq-teacher-table .is-primary {
    color: #0f172a;
    font-weight: 600;
}

.sq-teacher-table .is-right {
    text-align: right;
}

.sq-teacher-table .is-nowrap,
.sq-teacher-table .is-tabular {
    white-space: nowrap;
}

.sq-teacher-table .is-tabular,
.sq-teacher-mobile-details .is-tabular {
    font-variant-numeric: tabular-nums;
}

.sq-teacher-row-actions,
.sq-teacher-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
}

.sq-teacher-mobile-list {
    display: none;
}

.sq-teacher-mobile-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.sq-teacher-mobile-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.sq-teacher-mobile-card-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.4rem;
}

.sq-teacher-mobile-card-header p {
    margin: .25rem 0 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.25rem;
}

.sq-teacher-mobile-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 1rem;
    margin: 1rem 0 0;
    font-size: .85rem;
}

.sq-teacher-mobile-details .is-wide {
    grid-column: 1 / -1;
}

.sq-teacher-mobile-details dt {
    color: #64748b;
    font-size: .75rem;
}

.sq-teacher-mobile-details dd {
    margin: .2rem 0 0;
    color: #0f172a;
    font-weight: 550;
    line-height: 1.35rem;
    overflow-wrap: anywhere;
}

.sq-teacher-mobile-actions {
    justify-content: flex-start;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid #e2e8f0;
}

.sq-teacher-calendar-table {
    width: 100%;
    min-width: max(100%, 980px);
    border-collapse: separate;
    border-spacing: 0;
    font-size: .82rem;
}

.sq-teacher-calendar-table th,
.sq-teacher-calendar-table td {
    min-width: 170px;
    padding: .55rem;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.sq-teacher-calendar-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    color: #475569;
    font-size: .73rem;
    font-weight: 700;
}

.sq-teacher-calendar-table .sq-teacher-calendar-time {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 76px;
    min-width: 76px;
    background: #f8fafc;
    color: #475569;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sq-teacher-calendar-cell {
    height: 74px;
}

.sq-teacher-calendar-lesson {
    min-width: 150px;
    padding: .65rem;
    border: 1px solid #c7d2fe;
    border-radius: .65rem;
    background: #eef2ff;
}

.sq-teacher-calendar-lesson.is-completed {
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.sq-teacher-calendar-lesson-title {
    color: #0f172a;
    font-weight: 650;
    line-height: 1.25rem;
    overflow-wrap: anywhere;
}

.sq-teacher-calendar-lesson-meta {
    margin-top: .2rem;
    color: #475569;
    font-size: .72rem;
    line-height: 1.1rem;
}

.sq-teacher-calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .55rem;
}

.sq-teacher-calendar-unavailable {
    color: #cbd5e1;
}

.sq-week-calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.sq-teacher-week-lesson {
    margin-bottom: .75rem;
    padding: .9rem;
    border: 1px solid #e2e8f0;
    border-radius: .7rem;
    background: #fff;
}

.sq-teacher-week-lesson:last-child {
    margin-bottom: 0;
}

.sq-teacher-week-lesson-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 650;
}

.sq-teacher-week-lesson-header p {
    margin: .3rem 0 0;
    color: #475569;
    font-size: .8rem;
    line-height: 1.3rem;
}

.sq-teacher-week-lesson-header p.is-secondary {
    color: #64748b;
    font-size: .75rem;
}

.dark .sq-teacher-page-intro,
.dark .sq-teacher-filter-field,
.dark .sq-teacher-mobile-card-header p,
.dark .sq-teacher-mobile-details dt {
    color: #94a3b8;
}

.dark .sq-teacher-summary-card,
.dark .sq-teacher-table-wrap,
.dark .sq-teacher-calendar-scroll,
.dark .sq-teacher-mobile-card,
.dark .sq-teacher-week-lesson {
    border-color: rgb(255 255 255 / 10%);
    background: #111827;
}

.dark .sq-teacher-summary-card p,
.dark .sq-teacher-table td,
.dark .sq-teacher-week-lesson-header p {
    color: #94a3b8;
}

.dark .sq-teacher-summary-card strong,
.dark .sq-teacher-table .is-primary,
.dark .sq-teacher-mobile-card-header h3,
.dark .sq-teacher-mobile-details dd,
.dark .sq-teacher-week-lesson-header h3 {
    color: #f8fafc;
}

.dark .sq-teacher-table th,
.dark .sq-teacher-calendar-table thead th,
.dark .sq-teacher-calendar-table .sq-teacher-calendar-time {
    border-color: rgb(255 255 255 / 10%);
    background: rgb(255 255 255 / 5%);
    color: #cbd5e1;
}

.dark .sq-teacher-table td,
.dark .sq-teacher-calendar-table th,
.dark .sq-teacher-calendar-table td,
.dark .sq-teacher-mobile-actions {
    border-color: rgb(255 255 255 / 10%);
}

.dark .sq-teacher-table tbody tr:hover {
    background: rgb(255 255 255 / 4%);
}

.dark .sq-teacher-calendar-lesson {
    border-color: rgb(129 140 248 / 35%);
    background: rgb(49 46 129 / 26%);
}

.dark .sq-teacher-calendar-lesson.is-completed {
    border-color: rgb(52 211 153 / 35%);
    background: rgb(6 78 59 / 28%);
}

.dark .sq-teacher-calendar-lesson-title {
    color: #f8fafc;
}

.dark .sq-teacher-calendar-lesson-meta {
    color: #cbd5e1;
}

@media (max-width: 1100px) {
    .sq-teacher-filter-grid,
    .sq-teacher-filter-grid-hakedis,
    .sq-teacher-filter-grid-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sq-teacher-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sq-teacher-filter-grid,
    .sq-teacher-filter-grid-single,
    .sq-teacher-filter-grid-hakedis,
    .sq-teacher-filter-grid-calendar {
        grid-template-columns: minmax(0, 1fr);
    }

    .sq-teacher-filter-actions {
        align-items: stretch;
    }

    .sq-teacher-filter-actions .fi-btn {
        flex: 1 1 auto;
    }

    .sq-teacher-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .sq-teacher-summary-card {
        padding: .85rem;
    }

    .sq-teacher-summary-card strong {
        font-size: .95rem;
    }

    .sq-teacher-table-wrap {
        display: none;
    }

    .sq-teacher-mobile-list {
        display: grid;
        gap: .75rem;
    }

    .sq-teacher-mobile-actions {
        justify-content: stretch;
    }

    .sq-teacher-mobile-actions .fi-btn {
        flex: 1 1 auto;
    }

    .sq-week-calendar-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sq-teacher-week-lesson-header .sq-teacher-calendar-actions {
        justify-content: flex-start;
    }
}

@media (min-width: 640px) {
    .sqooler-form-modal-backdrop {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sqooler-form-modal-panel {
        max-width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 1.5rem);
    }
}

.dark {
    --sq-primary: #5eead4;
    --sq-primary-soft: rgba(20, 184, 166, 0.14);
    --sq-border: #1e293b;
    --sq-muted: #94a3b8;
    --sq-panel: #0f172a;
    --sq-bg: #020617;
    --sq-text: #f8fafc;
}

.fi-layout {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent 280px), var(--sq-bg);
}

.fi-main {
    max-width: 1680px;
    padding-top: 1rem;
}

.fi-topbar {
    border-bottom: 1px solid var(--sq-border);
    box-shadow: none;
    min-height: 4rem;
}

.fi-topbar-end {
    gap: .5rem;
}

.sqooler-header-controls {
    order: 10;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.fi-topbar-end > .fi-user-menu {
    order: 30;
}

.sqooler-header-notification {
    order: 20;
}

.sqooler-header-card {
    display: inline-flex;
    min-height: 2.25rem;
    max-width: 14rem;
    align-items: center;
    gap: .5rem;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid var(--sq-border);
    border-radius: .5rem;
    background: var(--sq-panel);
    padding: .375rem .625rem;
    color: #334155;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.dark .sqooler-header-card {
    color: #e2e8f0;
}

.sqooler-header-card span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sqooler-header-card-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #64748b;
}

.dark .sqooler-header-card-icon {
    color: #94a3b8;
}

.sqooler-header-period {
    position: relative;
    display: inline-flex;
}

.sqooler-header-period-trigger {
    max-width: 15rem;
    cursor: pointer;
}

.sqooler-header-period-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 80;
    display: flex;
    min-width: 13rem;
    max-width: 18rem;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--sq-border);
    border-radius: .5rem;
    background: var(--sq-panel);
    padding: .25rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
    flex-direction: column;
    gap: .125rem;
}

.sqooler-header-period-item,
.sqooler-header-period-empty {
    display: flex;
    width: 100%;
    min-height: 2rem;
    align-items: center;
    border: 0;
    border-radius: .375rem;
    background: transparent;
    color: #334155;
    font-size: .8125rem;
    font-weight: 600;
    padding: .375rem .5rem;
    text-align: start;
    white-space: nowrap;
}

.sqooler-header-period-item {
    cursor: pointer;
}

.sqooler-header-period-item:hover,
.sqooler-header-period-item.sqooler-secili {
    background: var(--sq-primary-soft);
    color: var(--sq-primary);
}

.dark .sqooler-header-period-item,
.dark .sqooler-header-period-empty {
    color: #e2e8f0;
}

.sqooler-session-warning {
    border-color: rgb(251 191 36 / 70%);
    background: #fffbeb;
    color: #92400e;
}

.sqooler-session-danger {
    border-color: rgb(248 113 113 / 75%);
    background: #fef2f2;
    color: #991b1b;
}

.dark .sqooler-session-warning {
    border-color: rgb(251 191 36 / 35%);
    background: rgb(120 53 15 / 35%);
    color: #fde047;
}

.dark .sqooler-session-danger {
    border-color: rgb(248 113 113 / 35%);
    background: rgb(127 29 29 / 35%);
    color: #fca5a5;
}

.sqooler-session-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(15 23 42 / 45%);
    padding: 1rem;
}

.sqooler-session-modal-panel {
    width: min(100%, 26rem);
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: var(--sq-panel);
    padding: 1.5rem;
    color: var(--sq-text);
    box-shadow: 0 20px 45px rgb(15 23 42 / 18%);
}

.sqooler-session-modal-panel h2 {
    font-size: 1.125rem;
    font-weight: 700;
}

.sqooler-session-modal-panel p {
    margin-top: .5rem;
    color: var(--sq-muted);
    font-size: .875rem;
    line-height: 1.5rem;
}

.sqooler-session-modal-panel button {
    margin-top: 1.25rem;
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    background: #0f766e;
    padding: .5rem 1rem;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
}

.sq-activity-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid;
    background: var(--sq-panel);
    font-size: .875rem;
    font-weight: 800;
    line-height: 1;
}

.sq-activity-badge {
    display: inline-flex;
    min-height: 1.5rem;
    align-items: center;
    border-radius: .375rem;
    border: 1px solid;
    padding: .125rem .5rem;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
    white-space: nowrap;
}

.sq-activity-yesil {
    border-color: rgb(16 185 129 / 35%);
    background: rgb(236 253 245);
    color: #047857;
}

.sq-activity-amber {
    border-color: rgb(245 158 11 / 35%);
    background: rgb(255 251 235);
    color: #b45309;
}

.sq-activity-kirmizi {
    border-color: rgb(244 63 94 / 35%);
    background: rgb(255 241 242);
    color: #be123c;
}

.sq-activity-slate {
    border-color: rgb(100 116 139 / 35%);
    background: rgb(248 250 252);
    color: #475569;
}

.sq-activity-teal {
    border-color: rgb(20 184 166 / 35%);
    background: rgb(240 253 250);
    color: #0f766e;
}

.sq-activity-mavi {
    border-color: rgb(59 130 246 / 35%);
    background: rgb(239 246 255);
    color: #1d4ed8;
}

.sq-activity-indigo {
    border-color: rgb(99 102 241 / 35%);
    background: rgb(238 242 255);
    color: #4338ca;
}

.sq-activity-mor {
    border-color: rgb(168 85 247 / 35%);
    background: rgb(250 245 255);
    color: #7e22ce;
}

.sq-activity-notr {
    border-color: rgb(148 163 184 / 35%);
    background: rgb(248 250 252);
    color: #475569;
}

.dark .sq-activity-yesil {
    border-color: rgb(16 185 129 / 30%);
    background: rgb(6 78 59 / 35%);
    color: #6ee7b7;
}

.dark .sq-activity-amber {
    border-color: rgb(245 158 11 / 30%);
    background: rgb(120 53 15 / 35%);
    color: #fcd34d;
}

.dark .sq-activity-kirmizi {
    border-color: rgb(244 63 94 / 30%);
    background: rgb(136 19 55 / 35%);
    color: #fda4af;
}

.dark .sq-activity-slate {
    border-color: rgb(148 163 184 / 25%);
    background: rgb(51 65 85 / 35%);
    color: #cbd5e1;
}

.dark .sq-activity-teal {
    border-color: rgb(20 184 166 / 30%);
    background: rgb(19 78 74 / 35%);
    color: #5eead4;
}

.dark .sq-activity-mavi {
    border-color: rgb(59 130 246 / 30%);
    background: rgb(30 58 138 / 35%);
    color: #93c5fd;
}

.dark .sq-activity-indigo {
    border-color: rgb(99 102 241 / 30%);
    background: rgb(49 46 129 / 35%);
    color: #a5b4fc;
}

.dark .sq-activity-mor {
    border-color: rgb(168 85 247 / 30%);
    background: rgb(88 28 135 / 35%);
    color: #d8b4fe;
}

.dark .sq-activity-notr {
    border-color: rgb(148 163 184 / 25%);
    background: rgb(30 41 59 / 45%);
    color: #cbd5e1;
}

.sq-activity-filter-panel {
    width: min(100%, 72rem);
    border: 1px solid color-mix(in srgb, var(--sq-border) 82%, transparent);
    border-radius: .75rem;
    background: linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(248 250 252 / 96%));
    padding: .875rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%), 0 12px 28px rgb(15 23 42 / 5%);
}

.sq-activity-filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .625rem;
    align-items: end;
}

.sq-activity-filter-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .3125rem;
}

.sq-activity-filter-field span {
    color: #475569;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1rem;
}

.sq-activity-filter-control {
    width: 100%;
    min-width: 0;
    height: 2.25rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background-color: #fff;
    color: #0f172a;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.25rem;
    outline: 0;
    padding: .375rem .625rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), 0 1px 1px rgb(15 23 42 / 4%);
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.sq-activity-filter-control:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

.sq-activity-filter-control:focus {
    border-color: #0f766e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgb(15 118 110 / 12%), 0 1px 1px rgb(15 23 42 / 4%);
}

.sq-activity-date-control {
    font-variant-numeric: tabular-nums;
}

.sq-activity-filter-actions {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: end;
    justify-content: flex-end;
    gap: .5rem;
}

.sq-activity-filter-actions .fi-btn,
.sq-activity-filter-button {
    min-height: 2.25rem;
    border-radius: .5rem;
    justify-content: center;
    padding-right: .875rem;
    padding-left: .875rem;
    font-size: .8125rem;
    font-weight: 800;
}

.sq-activity-filter-actions .fi-btn:first-child {
    min-width: 8rem;
    box-shadow: 0 8px 18px rgb(15 118 110 / 16%);
}

.sq-activity-filter-actions .fi-btn:last-child {
    min-width: 6.5rem;
}

@media (min-width: 768px) {
    .sq-activity-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .sq-activity-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sq-activity-filter-actions {
        grid-column: 3 / span 2;
    }
}

.dark .sq-activity-filter-panel {
    background: linear-gradient(180deg, rgb(15 23 42 / 96%), rgb(2 6 23 / 96%));
}

.dark .sq-activity-filter-field span {
    color: #cbd5e1;
}

.dark .sq-activity-filter-control {
    border-color: rgb(148 163 184 / 24%);
    background-color: rgb(15 23 42 / 92%);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.dark .sq-activity-filter-control:hover {
    border-color: rgb(148 163 184 / 38%);
    background-color: rgb(30 41 59 / 92%);
}

.dark .sq-activity-filter-control:focus {
    border-color: #5eead4;
    background-color: rgb(15 23 42 / 96%);
    box-shadow: 0 0 0 3px rgb(94 234 212 / 13%);
}

@media (max-width: 767px) {
    .sq-activity-filter-actions {
        flex-direction: column;
    }

    .sq-activity-filter-actions .fi-btn {
        width: 100%;
    }
}

.sq-activity-detail-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgb(15 23 42 / 55%) !important;
    padding: 1rem;
    overflow: hidden;
}

.sq-activity-detail-panel {
    display: flex !important;
    width: min(90vw, 48rem) !important;
    max-width: 48rem !important;
    max-height: 85vh !important;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: var(--sq-panel);
    color: var(--sq-text);
    box-shadow: 0 24px 60px rgb(15 23 42 / 28%);
}

.sq-activity-detail-header,
.sq-activity-detail-footer {
    flex-shrink: 0;
    border-color: var(--sq-border);
}

.sq-activity-detail-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 640px) {
    .sq-activity-detail-modal {
        align-items: center !important;
        padding: .875rem;
    }

    .sq-activity-detail-panel {
        width: calc(100vw - 1.75rem) !important;
        max-width: calc(100vw - 1.75rem) !important;
        max-height: calc(100vh - 1.75rem) !important;
        min-height: 0;
        border-radius: .75rem;
    }
}

.sqooler-modal-open {
    overflow: hidden;
}

.sqooler-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(15 23 42 / 42%);
    padding: 1rem;
    animation: sqooler-modal-fade-in 160ms ease-out;
}

.sqooler-modal-panel {
    width: min(100%, 27.5rem);
    border: 1px solid var(--sq-border);
    border-radius: 1rem;
    background: var(--sq-panel);
    padding: 2rem 1.75rem 1.75rem;
    color: var(--sq-text);
    text-align: center;
    box-shadow: 0 24px 60px rgb(15 23 42 / 22%);
    animation: sqooler-modal-scale-in 190ms cubic-bezier(.2, .8, .2, 1);
}

.sqooler-modal-icon {
    display: inline-flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    border: 3px solid rgb(100 116 139 / 22%);
    border-radius: 999px;
    background: rgb(248 250 252);
    color: #64748b;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.sqooler-modal-basari .sqooler-modal-icon {
    border-color: rgb(20 184 166 / 26%);
    background: var(--sq-primary-soft);
    color: var(--sq-primary);
}

.sqooler-modal-uyari .sqooler-modal-icon,
.sqooler-modal-onay .sqooler-modal-icon {
    border-color: rgb(245 158 11 / 28%);
    background: #fffbeb;
    color: #b45309;
}

.sqooler-modal-hata .sqooler-modal-icon {
    border-color: rgb(239 68 68 / 24%);
    background: #fef2f2;
    color: #dc2626;
}

.sqooler-modal-bilgi .sqooler-modal-icon {
    border-color: rgb(59 130 246 / 24%);
    background: #eff6ff;
    color: #2563eb;
}

.sqooler-modal-panel h2 {
    margin-top: 1rem;
    color: var(--sq-text);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.6rem;
}

.sqooler-modal-description {
    margin: .625rem auto 0;
    max-width: 22rem;
    color: var(--sq-muted);
    font-size: .875rem;
    line-height: 1.45rem;
    white-space: pre-line;
}

.sqooler-modal-confirm-input {
    width: 100%;
    margin-top: 1rem;
    border: 1px solid var(--sq-border);
    border-radius: .5rem;
    background: var(--sq-panel);
    padding: .625rem .75rem;
    color: var(--sq-text);
    font-size: .875rem;
    text-align: center;
}

.sqooler-modal-confirm-input:focus {
    outline: 3px solid rgb(20 184 166 / 20%);
    border-color: var(--sq-primary);
}

.sqooler-modal-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: .625rem;
}

.sqooler-modal-button {
    display: inline-flex;
    min-width: 7rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .5rem;
    padding: .5rem 1.25rem;
    font-size: .875rem;
    font-weight: 800;
}

.sqooler-modal-button-primary {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 10px 18px rgb(15 118 110 / 22%);
}

.sqooler-modal-hata .sqooler-modal-button-primary,
.sqooler-modal-onay .sqooler-modal-button-primary {
    background: #dc2626;
    box-shadow: 0 10px 18px rgb(220 38 38 / 18%);
}

.sqooler-modal-uyari .sqooler-modal-button-primary {
    background: #b45309;
    box-shadow: 0 10px 18px rgb(180 83 9 / 18%);
}

.sqooler-modal-bilgi .sqooler-modal-button-primary {
    background: #2563eb;
    box-shadow: 0 10px 18px rgb(37 99 235 / 18%);
}

.sqooler-modal-button-secondary {
    border: 1px solid var(--sq-border);
    background: var(--sq-panel);
    color: var(--sq-text);
}

.sqooler-modal-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.sqooler-modal-button:focus-visible {
    outline: 3px solid rgb(20 184 166 / 28%);
    outline-offset: 2px;
}

.sqooler-tour-open {
    overflow: hidden;
}

.sqooler-tour {
    position: fixed;
    inset: 0;
    z-index: 110;
    pointer-events: none;
}

.sqooler-tour-dim {
    position: fixed;
    z-index: 110;
    background: rgb(2 6 23 / 62%);
    pointer-events: auto;
}

.sqooler-tour-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111;
    border: 2px solid rgb(20 184 166 / 92%);
    border-radius: .875rem;
    box-shadow:
        0 0 0 4px rgb(20 184 166 / 18%),
        0 18px 40px rgb(15 23 42 / 24%);
    pointer-events: none;
    transition: transform 140ms ease-out, width 140ms ease-out, height 140ms ease-out;
}

.sqooler-tour-target-active {
    position: relative;
    z-index: 112;
}

.sqooler-tour-target-active .sqooler-aktif-sube-menu {
    z-index: 114;
}

.sqooler-tour-coachmark {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 113;
    border: 1px solid var(--sq-border);
    border-radius: 1rem;
    background: var(--sq-panel);
    padding: 1.25rem;
    color: var(--sq-text);
    box-shadow: 0 24px 60px rgb(15 23 42 / 22%);
    pointer-events: auto;
    transition: transform 140ms ease-out;
}

.sqooler-tour-coachmark h2 {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.5rem;
}

.sqooler-tour-coachmark p {
    margin-top: .5rem;
    color: var(--sq-muted);
    font-size: .875rem;
    line-height: 1.45rem;
}

.sqooler-tour-coachmark button {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    border: 0;
    border-radius: .5rem;
    background: #0f766e;
    padding: .5rem 1.125rem;
    color: #fff;
    font-size: .875rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgb(15 118 110 / 22%);
}

.sqooler-tour-coachmark button:focus-visible {
    outline: 3px solid rgb(20 184 166 / 30%);
    outline-offset: 2px;
}

.dark .sqooler-modal-icon {
    background: #111827;
}

.dark .sqooler-modal-uyari .sqooler-modal-icon,
.dark .sqooler-modal-onay .sqooler-modal-icon {
    background: rgb(120 53 15 / 35%);
}

.dark .sqooler-modal-hata .sqooler-modal-icon {
    background: rgb(127 29 29 / 35%);
}

.dark .sqooler-modal-bilgi .sqooler-modal-icon {
    background: rgb(30 64 175 / 28%);
}

.dark .sqooler-tour-dim {
    background: rgb(0 0 0 / 66%);
}

@media (max-width: 767px) {
    .sqooler-tour-coachmark {
        max-width: calc(100vw - 2rem);
        padding: 1rem;
    }
}

@keyframes sqooler-modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes sqooler-modal-scale-in {
    from {
        opacity: 0;
        transform: scale(.92) translateY(.25rem);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

[x-cloak] {
    display: none !important;
}

.sq-contract-student-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: var(--sq-panel);
    padding: .875rem 1rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.sq-contract-student-icon {
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sq-primary-soft);
    color: var(--sq-primary);
    font-size: .875rem;
    font-weight: 800;
}

.sq-contract-student-body {
    min-width: 0;
}

.sq-contract-student-label,
.sq-summary-card-label {
    color: var(--sq-muted);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1rem;
}

.sq-contract-student-name {
    overflow: hidden;
    color: var(--sq-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-contract-student-no {
    color: var(--sq-muted);
    font-size: .8125rem;
    line-height: 1.25rem;
}

.sq-contract-tabs {
    display: flex;
    min-height: 3rem;
    align-items: center;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--sq-border);
    background: color-mix(in srgb, var(--sq-bg) 70%, var(--sq-panel));
    padding: .5rem .75rem 0;
    scrollbar-width: none;
}

.sq-contract-tabs::-webkit-scrollbar {
    display: none;
}

.sq-contract-tab {
    position: relative;
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .5rem .5rem 0 0;
    background: transparent;
    padding: .625rem .875rem .75rem;
    color: var(--sq-muted);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.25rem;
    white-space: nowrap;
    transition: background-color 140ms ease, color 140ms ease;
}

.sq-contract-tab::after {
    position: absolute;
    right: .875rem;
    bottom: -1px;
    left: .875rem;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
    content: "";
}

.sq-contract-tab:hover {
    background: rgb(148 163 184 / 10%);
    color: var(--sq-text);
}

.sq-contract-tab:focus {
    outline: none;
}

.sq-contract-tab:focus-visible {
    box-shadow: inset 0 0 0 2px rgb(15 118 110 / 45%);
}

.sq-contract-tab-active {
    background: color-mix(in srgb, var(--sq-panel) 88%, var(--sq-primary-soft));
    color: var(--sq-primary);
    font-weight: 700;
}

.sq-contract-tab-active::after {
    background: var(--sq-primary);
}

.sq-summary-card {
    min-height: 4.75rem;
    border: 1px solid var(--sq-border);
    border-radius: .75rem;
    background: var(--sq-panel);
    padding: .75rem;
}

.sq-summary-card-value {
    margin-top: .25rem;
    color: var(--sq-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5rem;
}

.sq-summary-card-success {
    border-color: rgb(16 185 129 / 45%);
    background: rgb(236 253 245);
}

.sq-summary-card-success .sq-summary-card-value {
    color: rgb(4 120 87);
}

.sq-summary-card-danger {
    border-color: rgb(248 113 113 / 45%);
    background: rgb(254 242 242);
}

.sq-summary-card-danger .sq-summary-card-value {
    color: rgb(185 28 28);
}

.dark .sq-summary-card-success {
    background: rgb(6 78 59 / 35%);
}

.dark .sq-summary-card-danger {
    background: rgb(127 29 29 / 35%);
}

.fi-no.fi-align-right.fi-vertical-align-start {
    inset: 16vh auto auto 50%;
    width: min(calc(100vw - 2rem), 27.5rem);
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) {
    position: relative;
    max-width: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 24px 60px rgb(15 23 42 / 18%);
    transition-duration: 220ms;
    transition-property: opacity, transform, translate, scale;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-icon {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-main {
    width: 100%;
    margin-top: 0;
    justify-items: center;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-text {
    justify-items: center;
    gap: 0.5rem;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5rem;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-body {
    max-width: 22rem;
    text-align: center;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-actions {
    justify-content: center;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification:not(.fi-inline) .fi-no-notification-close-btn {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification.fi-transition-enter-start {
    translate: 0 -0.75rem;
    scale: 0.94;
    opacity: 0;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification.fi-transition-enter-end,
.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification.fi-transition-leave-start {
    translate: 0 0;
    scale: 1;
    opacity: 1;
}

.fi-no.fi-align-right.fi-vertical-align-start .fi-no-notification.fi-transition-leave-end {
    translate: 0 -0.5rem;
    scale: 0.96;
    opacity: 0;
}

/* Tablo filtre butonundaki aktif filtre sayacı büyük durum rozetlerinden ayrı, minimal kalmalı. */
.fi-ta .fi-icon-btn-badge-ctn .fi-badge,
.fi-ta .fi-btn-badge-ctn .fi-badge {
    min-height: 1rem;
    min-width: 1rem;
    padding: 0 0.3125rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1rem;
    gap: 0;
}

.fi-ta .fi-icon-btn-badge-ctn .fi-badge .fi-badge-label,
.fi-ta .fi-icon-btn-badge-ctn .fi-badge .fi-badge-label-ctn,
.fi-ta .fi-btn-badge-ctn .fi-badge .fi-badge-label,
.fi-ta .fi-btn-badge-ctn .fi-badge .fi-badge-label-ctn {
    line-height: 1rem;
}

@media (max-width: 1023px) {
    .fi-topbar {
        overflow-x: auto;
    }

    .fi-topbar-end {
        min-width: max-content;
    }

    .sqooler-header-card {
        max-width: 10rem;
    }
}

.fi-sidebar {
    border-right: 1px solid var(--sq-border);
}

.fi-sidebar-item-active > .fi-sidebar-item-button {
    background: var(--sq-primary-soft);
    color: var(--sq-primary);
    font-weight: 700;
}

.sq-card,
.rounded-lg.border.bg-white,
.rounded-lg.border.border-gray-200.bg-white {
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius);
    background: var(--sq-panel);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.sq-card {
    padding: 1.25rem;
}

.space-y-1 > * + * { margin-top: .25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.shrink-0 { flex-shrink: 0; }

.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

.w-full { width: 100%; }
.min-w-full { min-width: 100%; }
.min-h-20 { min-height: 5rem; }
.max-w-3xl { max-width: 48rem; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .025em; }
.tracking-normal { letter-spacing: 0; }
.leading-6 { line-height: 1.5rem; }
.whitespace-nowrap { white-space: nowrap; }

.text-gray-950 { color: var(--sq-text); }
.text-white { color: #fff; }
.text-gray-700, .text-gray-600, .text-gray-500 { color: var(--sq-muted); }
.text-primary-600, .text-primary-700 { color: var(--sq-primary); }
.bg-white { background: var(--sq-panel); }
.bg-gray-50 { background: #f8fafc; }
.bg-gray-100 { background: #f1f5f9; }
.bg-gray-200 { background: #e2e8f0; }
.bg-primary-50 { background: var(--sq-primary-soft); }
.bg-success-50, .bg-success-100 { background: #ecfdf5; }
.text-success-700 { color: #047857; }
.bg-warning-50, .bg-warning-100 { background: #fffbeb; }
.text-warning-700 { color: #b45309; }
.bg-danger-50 { background: #fef2f2; }
.text-danger-700 { color: #b91c1c; }
.bg-success-500 { background: #10b981; }
.bg-warning-500 { background: #f59e0b; }

.border { border-width: 1px; border-style: solid; border-color: var(--sq-border); }
.border-b { border-bottom: 1px solid var(--sq-border); }
.border-b-2 { border-bottom-width: 2px; }
.border-dashed { border-style: dashed; }
.border-transparent { border-color: transparent; }
.border-primary-600 { border-color: var(--sq-primary); }
.border-gray-200, .border-gray-300 { border-color: var(--sq-border); }
.divide-y > * + * { border-top: 1px solid var(--sq-border); }
.rounded-md { border-radius: .5rem; }
.rounded-lg { border-radius: var(--sq-radius); }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.opacity-50 { opacity: .5; }
.line-through { text-decoration: line-through; }
.transition { transition: all .15s ease; }

.h-2 { height: .5rem; }
.h-12 { height: 3rem; }
.w-24 { width: 6rem; }

/* Sqooler badge standardı: TextColumn::badge(), TextEntry::badge(), BadgeColumn ve x-filament::badge ortak görünümü. */
.fi-badge,
.fi-badge.fi-size-xs,
.fi-badge.fi-size-sm {
    display: inline-flex;
    min-height: 30px;
    min-width: 30px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
}

.fi-badge .fi-badge-label-ctn,
.fi-badge .fi-badge-label {
    display: inline-flex;
    align-items: center;
    line-height: 20px;
}

.fi-badge .fi-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fi-badge:not(.fi-color) {
    background: #f1f5f9;
    color: #334155;
    box-shadow: inset 0 0 0 1px rgb(100 116 139 / 18%);
}

.fi-badge.fi-color-success {
    background: #dcfce7;
    color: #166534;
    box-shadow: inset 0 0 0 1px rgb(22 163 74 / 18%);
}

.fi-badge.fi-color-danger {
    background: #fee2e2;
    color: #991b1b;
    box-shadow: inset 0 0 0 1px rgb(220 38 38 / 18%);
}

.fi-badge.fi-color-warning {
    background: #fef9c3;
    color: #854d0e;
    box-shadow: inset 0 0 0 1px rgb(202 138 4 / 20%);
}

.fi-badge.fi-color-info,
.fi-badge.fi-color-primary {
    background: #dbeafe;
    color: #1e40af;
    box-shadow: inset 0 0 0 1px rgb(37 99 235 / 18%);
}

.dark .fi-badge.fi-color-success {
    background: rgb(22 101 52 / 22%);
    color: #86efac;
    box-shadow: inset 0 0 0 1px rgb(74 222 128 / 22%);
}

.dark .fi-badge:not(.fi-color) {
    background: rgb(51 65 85 / 50%);
    color: #e2e8f0;
    box-shadow: inset 0 0 0 1px rgb(148 163 184 / 20%);
}

.dark .fi-badge.fi-color-danger {
    background: rgb(153 27 27 / 24%);
    color: #fca5a5;
    box-shadow: inset 0 0 0 1px rgb(248 113 113 / 22%);
}

.dark .fi-badge.fi-color-warning {
    background: rgb(133 77 14 / 24%);
    color: #fde047;
    box-shadow: inset 0 0 0 1px rgb(250 204 21 / 22%);
}

.dark .fi-badge.fi-color-info,
.dark .fi-badge.fi-color-primary {
    background: rgb(30 64 175 / 24%);
    color: #93c5fd;
    box-shadow: inset 0 0 0 1px rgb(96 165 250 / 22%);
}

table {
    border-collapse: collapse;
}

thead tr {
    background: #f8fafc;
}

tbody tr {
    min-height: 3.25rem;
}

a.hover\:underline:hover {
    text-decoration: underline;
}

a.hover\:bg-gray-50:hover,
.hover\:bg-gray-50:hover {
    background: #f8fafc;
}

.hover\:border-primary-300:hover {
    border-color: #5eead4;
}

.hover\:bg-primary-50:hover {
    background: var(--sq-primary-soft);
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:items-end { align-items: flex-end; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.sqooler-sidebar.fi-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 50;
    display: flex;
    height: 100dvh;
    overflow: hidden;
    overflow-x: hidden;
    width: 15.5rem;
    border-inline-end: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: none;
    flex-direction: column;
}

/* Öğretmen müsaitliği ve yetkinliği sayfası */
.sq-teacher-profile-intro {
    max-width: 56rem;
    margin: 0;
    color: #64748b;
    font-size: .875rem;
    line-height: 1.5rem;
}

.sq-teacher-profile-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #fff;
}

.sq-teacher-profile-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: separate;
    border-spacing: 0;
    color: #334155;
    font-size: .875rem;
    line-height: 1.35rem;
}

.sq-teacher-profile-table-competency {
    min-width: 720px;
}

.sq-teacher-profile-table th,
.sq-teacher-profile-table td {
    padding: .8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.sq-teacher-profile-table th {
    background: #f8fafc;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sq-teacher-profile-table tbody tr:last-child td {
    border-bottom: 0;
}

.sq-teacher-profile-table tbody tr:hover {
    background: #f8fafc;
}

.sq-teacher-profile-table .is-primary {
    color: #0f172a;
    font-weight: 600;
}

.sq-teacher-profile-table .is-centered {
    text-align: center;
}

.sq-teacher-profile-table .is-right {
    text-align: right;
}

.sq-teacher-profile-table .is-nowrap {
    white-space: nowrap;
}

.sq-teacher-profile-table .is-tabular,
.sq-teacher-profile-card-details .is-tabular {
    font-variant-numeric: tabular-nums;
}

.sq-teacher-profile-actions,
.sq-teacher-profile-card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.sq-teacher-profile-mobile-list {
    display: none;
}

.sq-teacher-profile-card {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.sq-teacher-profile-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.sq-teacher-profile-card-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.4rem;
}

.sq-teacher-profile-card-header p {
    margin: .25rem 0 0;
    color: #64748b;
    font-size: .8125rem;
}

.sq-teacher-profile-card-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1rem;
    margin: 1rem 0 0;
    font-size: .875rem;
}

.sq-teacher-profile-card-details .is-wide {
    grid-column: 1 / -1;
}

.sq-teacher-profile-card-details dt {
    color: #64748b;
    font-size: .75rem;
}

.sq-teacher-profile-card-details dd {
    margin: .2rem 0 0;
    color: #0f172a;
    font-weight: 550;
    line-height: 1.35rem;
}

.sq-teacher-profile-card-actions {
    justify-content: flex-start;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid #e2e8f0;
}

.dark .sq-teacher-profile-intro,
.dark .sq-teacher-profile-table td,
.dark .sq-teacher-profile-card-details dt,
.dark .sq-teacher-profile-card-header p {
    color: #94a3b8;
}

.dark .sq-teacher-profile-table-wrap,
.dark .sq-teacher-profile-card {
    border-color: rgb(255 255 255 / 10%);
    background: #111827;
}

.dark .sq-teacher-profile-table th {
    border-color: rgb(255 255 255 / 10%);
    background: rgb(255 255 255 / 5%);
    color: #cbd5e1;
}

.dark .sq-teacher-profile-table td,
.dark .sq-teacher-profile-card-actions {
    border-color: rgb(255 255 255 / 10%);
}

.dark .sq-teacher-profile-table tbody tr:hover {
    background: rgb(255 255 255 / 4%);
}

.dark .sq-teacher-profile-table .is-primary,
.dark .sq-teacher-profile-card-header h3,
.dark .sq-teacher-profile-card-details dd {
    color: #f8fafc;
}

@media (max-width: 767px) {
    .sq-teacher-profile-table-wrap {
        display: none;
    }

    .sq-teacher-profile-mobile-list {
        display: grid;
        gap: .75rem;
    }

    .sq-teacher-profile-card-actions .fi-btn {
        flex: 1 1 auto;
    }
}

.fi-topbar-ctn {
    inset-inline-start: 15.5rem;
    width: calc(100% - 15.5rem);
}

.fi-main-ctn {
    margin-inline-start: 15.5rem;
}

.fi-topbar-start > a,
.fi-topbar-start > .fi-logo {
    display: none;
}

.sqooler-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 0 16px 0;
    flex-shrink: 0;
}

.sqooler-sidebar-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.sqooler-sidebar-kurum-logo {
    display: block;
    width: auto;
    max-width: 196px;
    max-height: 44px;
    height: auto;
    object-fit: contain;
}

.sqooler-sidebar-logo-mark {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.sqooler-sidebar-logo-text {
    display: block;
    overflow: hidden;
    max-width: 196px;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sqooler-sidebar-branch {
    padding: 0 12px 18px;
    flex-shrink: 0;
}

/* Keep Filament action dialogs above the branch selector and sidebar menus. */
.fi-modal > .fi-modal-close-overlay,
.fi-modal > .fi-modal-window-ctn {
    z-index: 90;
}

.fi-header:has(.fi-breadcrumbs) > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.fi-header .fi-breadcrumbs {
    min-width: 0;
    max-width: 100%;
}

.fi-header .fi-breadcrumbs ol {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.sqooler-sozlesme-view-page .fi-header {
    align-items: stretch;
    flex-direction: column;
}

.sqooler-sozlesme-view-page .fi-header-actions-ctn {
    width: 100%;
    margin-top: 0;
}

.sqooler-sozlesme-view-page .fi-header-actions-ctn > .fi-ac {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sqooler-aktif-sube-wrap {
    position: relative;
}

.sq-installment-status {
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
}

.sq-installment-status--paid {
    color: #059669;
}

.sq-installment-status--overdue {
    color: #dc2626;
}

.sq-installment-status--pending {
    color: #ea580c;
}

.sq-installment-status--partial {
    color: #d97706;
}

.sq-installment-status--unknown {
    color: #4b5563;
}

.sq-installment-status--revised {
    color: #6b7280;
}

.dark .sq-installment-status--paid {
    color: #34d399;
}

.dark .sq-installment-status--overdue {
    color: #f87171;
}

.dark .sq-installment-status--pending {
    color: #fb923c;
}

.dark .sq-installment-status--partial {
    color: #fbbf24;
}

.dark .sq-installment-status--unknown {
    color: #9ca3af;
}

.dark .sq-installment-status--revised {
    color: #d1d5db;
}

.sqooler-aktif-sube-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #f9fafb;
    padding: 6px 6px 6px 11px;
    box-shadow: none;
}

.sqooler-aktif-sube-trigger {
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: start;
    transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.sqooler-aktif-sube-trigger:hover,
.sqooler-aktif-sube-trigger[aria-expanded="true"] {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.sqooler-aktif-sube-trigger:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.sqooler-aktif-sube-name {
    overflow: hidden;
    color: #111827;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sqooler-aktif-sube-form {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.sqooler-aktif-sube-chevron {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: transparent;
    color: #6b7280;
}

.sqooler-aktif-sube-chevron svg {
    width: 16px;
    height: 16px;
}

.sqooler-aktif-sube-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 80;
    display: flex;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 3px;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    flex-direction: column;
    gap: 2px;
}

.sqooler-aktif-sube-menu-item {
    display: flex;
    width: 100%;
    min-height: 32px;
    align-items: center;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #374151;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 9px;
    text-align: start;
}

.sqooler-aktif-sube-kurum {
    margin: 5px 5px 2px;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    padding: 9px 5px 3px;
    text-transform: uppercase;
}

.sqooler-aktif-sube-kurum.sqooler-ilk-kurum {
    margin-top: 0;
    border-top: 0;
    padding-top: 5px;
}

.sqooler-aktif-sube-menu-item--sube {
    padding-left: 18px;
}

.sqooler-aktif-sube-bos {
    color: #9ca3af;
    font-size: 11px;
    padding: 4px 18px 8px;
}

.sqooler-aktif-sube-menu-item:hover,
.sqooler-aktif-sube-menu-item.sqooler-secili {
    background: #eaf2ff;
    color: #2563eb;
}

.sqooler-sidebar-nav {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 10px 10px;
    flex: 1 1 auto;
}

.sqooler-sidebar-nav-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sqooler-sidebar-group {
    border-radius: 0;
}

.sqooler-sidebar-group-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 6px 7px;
    text-align: start;
}

.sqooler-sidebar-group-label {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.sqooler-sidebar-group-line {
    display: block;
    height: 1px;
    min-width: 16px;
    background: #e5e7eb;
    flex: 1 1 auto;
}

.sqooler-sidebar-group-chevron {
    width: 12px;
    height: 12px;
    color: #c4c9d4;
    transition: transform 160ms ease;
}

.fi-sidebar-group.fi-collapsed .sqooler-sidebar-group-chevron {
    transform: rotate(-90deg);
}

.sqooler-sidebar-group-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sqooler-sidebar-subheading {
    color: #a3aab7;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .09em;
    padding: 9px 6px 4px 32px;
    text-transform: uppercase;
}

.sqooler-sidebar-item-btn {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 12px;
    border-radius: 3px;
    color: #4b5563;
    padding: 8px 10px;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.sqooler-sidebar-item-btn:hover {
    background: #f3f6fb;
    color: #111827;
}

.sqooler-sidebar-item-disabled .sqooler-sidebar-item-btn,
.sqooler-sidebar-item-disabled .sqooler-sidebar-item-btn:hover {
    cursor: not-allowed;
    opacity: .48;
    color: #64748b;
    background: transparent;
}

.sqooler-sidebar-item-disabled .sqooler-sidebar-item-icon {
    color: #94a3b8;
}

.sqooler-sidebar-item-icon {
    width: 16px;
    height: 16px;
    color: #8b94a3;
    flex-shrink: 0;
}

.sqooler-sidebar-item-label {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sqooler-sidebar-item.sqooler-active .sqooler-sidebar-item-btn,
.sqooler-sidebar-item.fi-sidebar-item-has-active-child-items > .sqooler-sidebar-item-btn {
    background: #eaf2ff;
    color: #2563eb;
    box-shadow: none;
}

.sqooler-sidebar-item.sqooler-active .sqooler-sidebar-item-icon,
.sqooler-sidebar-item.fi-sidebar-item-has-active-child-items > .sqooler-sidebar-item-btn .sqooler-sidebar-item-icon {
    color: #2563eb;
}

.sqooler-sidebar-sub-items {
    margin: 5px 0 7px 18px;
    padding-inline-start: 8px;
    border-inline-start: 1px solid #e5e7eb;
}

.sqooler-sidebar-footer {
    flex-shrink: 0;
    padding: 10px 12px 14px;
}

.dark .sqooler-sidebar.fi-sidebar {
    border-inline-end-color: #1f2937;
    background: #0b1120;
}

.dark .sqooler-sidebar-logo-link,
.dark .sqooler-aktif-sube-name {
    color: #e2e8f0;
}

.dark .sqooler-sidebar-logo-mark {
    background: #f8fafc;
    color: #0b1120;
}

.dark .sqooler-aktif-sube-card {
    border-color: #1f2937;
    background: #111827;
}

.dark .sqooler-sidebar-group-btn,
.dark .sqooler-sidebar-item-icon {
    color: #8b94a3;
}

.dark .sqooler-aktif-sube-trigger {
    color: #9ca3af;
}

.dark .sqooler-aktif-sube-trigger:hover,
.dark .sqooler-aktif-sube-trigger[aria-expanded="true"] {
    border-color: #334155;
    background: #172033;
}

.dark .sqooler-aktif-sube-menu {
    border-color: #1f2937;
    background: #111827;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.dark .sqooler-aktif-sube-menu-item {
    color: #cbd5e1;
}

.dark .sqooler-aktif-sube-kurum {
    border-color: #253147;
    color: #f3f4f6;
}

.dark .sqooler-aktif-sube-menu-item:hover,
.dark .sqooler-aktif-sube-menu-item.sqooler-secili {
    background: #eaf2ff;
    color: #2563eb;
}

.dark .sqooler-sidebar-group-line {
    background: #243044;
}

.dark .sqooler-sidebar-item-btn {
    color: #cbd5e1;
}

.dark .sqooler-sidebar-item-btn:hover {
    background: #172033;
    color: #f8fafc;
}

.dark .sqooler-sidebar-item.sqooler-active .sqooler-sidebar-item-btn,
.dark .sqooler-sidebar-item.fi-sidebar-item-has-active-child-items > .sqooler-sidebar-item-btn {
    background: #eaf2ff;
    color: #2563eb;
}

.dark .sqooler-sidebar-item.sqooler-active .sqooler-sidebar-item-icon,
.dark .sqooler-sidebar-item.fi-sidebar-item-has-active-child-items > .sqooler-sidebar-item-btn .sqooler-sidebar-item-icon {
    color: #2563eb;
}

@media (max-width: 1024px) {
    .sqooler-sidebar.fi-sidebar {
        inset-block-start: 0;
        height: 100dvh;
        width: min(18rem, calc(100vw - 2rem));
    }

    .fi-topbar-ctn {
        inset-inline-start: 0;
        width: 100%;
    }

    .fi-main-ctn {
        margin-inline-start: 0;
    }

    .fi-topbar-start > a,
    .fi-topbar-start > .fi-logo {
        display: inline-flex;
    }
}
