body {
    color: #1f2937;
}

.auth-page-body {
    background-color: #0f172a;
}

.auth-main {
    min-height: 100vh;
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)),
        url('/images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.auth-panel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
}

.auth-side {
    min-height: 620px;
    height: 100%;
    background:
        linear-gradient(rgba(23, 105, 224, 0.78), rgba(15, 23, 42, 0.82)),
        url('/images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: end;
}

.auth-side-content {
    padding: 3rem;
    max-width: 520px;
}

.auth-kicker {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-text {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0;
    opacity: 0.92;
}

.auth-card {
    padding: 3rem 2.5rem;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0f172a;
}

.legal-card {
    padding: 2.75rem 2.5rem;
    max-height: min(88vh, 920px);
    overflow-y: auto;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1769e0;
}

.legal-title {
    color: #0f172a;
    font-size: 2.1rem;
    line-height: 1.15;
    font-weight: 750;
    margin-bottom: 1rem;
}

.legal-lead {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.legal-section + .legal-section {
    margin-top: 1.5rem;
}

.legal-section h2 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.legal-section p,
.legal-list {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0;
}

.legal-list {
    padding-left: 1.2rem;
}

.legal-list li + li {
    margin-top: 0.35rem;
}

.legal-note {
    margin-top: 1.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dbeafe;
    border-radius: 0.75rem;
    background: #f8fbff;
}

.legal-actions {
    margin-top: 2rem;
}

.password-toggle-field {
    position: relative;
}

.password-toggle-input {
    padding-right: 4rem;
}

.password-toggle-button {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    padding: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
    outline: none;
}

.password-toggle-button svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ══════════════════════════════════════
   Admin Dashboard — Hero
══════════════════════════════════════ */
.admin-hero {
    position: relative;
    background: linear-gradient(135deg, #1769e0 0%, #0f3d91 100%);
    border-radius: 1.25rem;
    padding: 2rem 2rem;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
}

.admin-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.admin-hero-body {
    position: relative;
    z-index: 1;
}

.admin-hero-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.6rem;
}

.admin-hero-title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    color: #fff;
}

.admin-hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
    line-height: 1.5;
}

.admin-hero-badge {
    position: relative;
    z-index: 1;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ══════════════════════════════════════
   Dashboard — Section Label
══════════════════════════════════════ */
.dash-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.65rem;
}

/* ══════════════════════════════════════
   Dashboard — Shortcut Cards
══════════════════════════════════════ */
.dash-shortcut {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.1rem;
    box-shadow: 0 1px 4px rgba(15,23,42,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dash-shortcut:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(15,23,42,0.10);
    border-color: #c7d9fd;
}

.dash-shortcut-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.65rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.dash-shortcut-icon i,
.dash-stat-icon i,
.admin-hero-kicker i {
    display: inline-block;
    line-height: 1;
}

.dash-icon--blue   { background: #eaf2ff; color: #1769e0; }
.dash-icon--teal   { background: #ecfdf5; color: #0f766e; }
.dash-icon--violet { background: #f5f3ff; color: #7c3aed; }
.dash-icon--amber  { background: #fffbeb; color: #d97706; }

.dash-shortcut-title {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.97rem;
    margin-bottom: 0.2rem;
}

.dash-shortcut-desc {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ══════════════════════════════════════
   Dashboard — Stat Cards
══════════════════════════════════════ */
.dash-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 1px 4px rgba(15,23,42,0.04);
    transition: box-shadow 0.18s ease;
}

.dash-stat-card:hover {
    box-shadow: 0 4px 14px rgba(15,23,42,0.08);
}

.dash-stat-icon {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.dash-stat--blue   .dash-stat-icon { color: #1769e0; }
.dash-stat--teal   .dash-stat-icon { color: #0f766e; }
.dash-stat--violet .dash-stat-icon { color: #7c3aed; }
.dash-stat--amber  .dash-stat-icon { color: #d97706; }
.dash-stat--rose   .dash-stat-icon { color: #e11d48; }
.dash-stat--indigo .dash-stat-icon { color: #4f46e5; }
.dash-stat--slate  .dash-stat-icon { color: #475569; }

.dash-stat--blue   { border-top: 3px solid #1769e0; }
.dash-stat--teal   { border-top: 3px solid #0f766e; }
.dash-stat--violet { border-top: 3px solid #7c3aed; }
.dash-stat--amber  { border-top: 3px solid #d97706; }
.dash-stat--rose   { border-top: 3px solid #e11d48; }
.dash-stat--indigo { border-top: 3px solid #4f46e5; }
.dash-stat--slate  { border-top: 3px solid #475569; }

.dash-stat-value {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.dash-stat-label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.dash-stat-meta {
    color: #9ca3af;
    font-size: 0.8rem;
    line-height: 1.4;
}

.role-hero {
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.role-hero-teacher {
    background: linear-gradient(135deg, #0f766e, #115e59);
}

.role-hero-student {
    background: linear-gradient(135deg, #ea6500, #c45200);
}

.role-hero-photo {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-section-card {
    border: 0;
    border-radius: 1rem;
}

.app-navbar {
    background: #1769e0;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

/* Rol bazlı navbar renkleri */
.app-navbar-admin {
    background: #1769e0;
}

.app-navbar-teacher {
    background: #0f766e;
}

.app-navbar-student {
    background: #ea6500;
}

.app-brand {
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.app-brand-logo-shell {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.24);
    overflow: hidden;
}

.app-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.2rem;
}

.app-brand-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 0.12rem;
    line-height: 1.2;
}

.app-navbar-toggler {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.app-navbar-toggler:hover,
.app-navbar-toggler:focus {
    background: rgba(255, 255, 255, 0.22);
}

.app-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.app-navbar-toggler[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.24);
}

.app-navbar-toggler .navbar-toggler-icon {
    width: 1.4rem;
    height: 1.4rem;
    background-size: 1.4rem;
}

.app-navbar-mobile-shell {
    width: 100%;
}

.app-nav-list {
    gap: 0.2rem;
}

.app-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .nav-link.show {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.app-navbar .dropdown-menu {
    border: 0;
    border-radius: 0.8rem;
    box-shadow: 0 0.6rem 1.5rem rgba(15, 23, 42, 0.12);
    padding: 0.5rem;
}

.app-navbar .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.55rem 0.75rem;
}

.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus {
    background-color: #eef4ff;
}

.app-user-panel {
    padding-top: 0.75rem;
}

.app-user-summary {
    display: inline-flex;
    align-items: center;
}

.app-role-badge {
    font-size: 0.8rem;
    font-weight: 600;
}

.kurum-admin-create-btn {
    align-self: flex-start;
    font-weight: 600;
}

.kurum-admin-card {
    border-radius: 1rem;
}

.kurum-admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #334155;
    font-size: 0.9rem;
}

.app-user-name {
    color: #fff;
    font-weight: 500;
    max-width: 220px;
    line-height: 1.2;
}

.app-user-actions form {
    margin: 0;
}

.public-page {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.public-hero {
    position: relative;
    min-height: 480px;
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 4rem 3rem;
    display: flex;
    align-items: end;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.82)),
        url('/images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.public-hero-content {
    max-width: 760px;
}

.public-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1769e0;
}

.public-hero .public-kicker {
    color: rgba(255, 255, 255, 0.84);
}

.public-hero h1,
.public-page-header h1 {
    margin-bottom: 1rem;
    color: inherit;
    font-size: 3rem;
    line-height: 1.08;
    font-weight: 750;
}

.public-hero p {
    max-width: 680px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.7;
}

.public-hero .public-domain-line {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 700;
}

.public-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-section {
    padding: 0.5rem 0;
}

.public-section-tight {
    padding-top: 0;
}

.public-section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.public-section-heading h2,
.public-side-note h2,
.public-band h2 {
    color: #0f172a;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 750;
    margin-bottom: 0.75rem;
}

.public-section-heading p,
.public-side-note p,
.public-band p,
.public-page-header p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

.public-feature-card,
.public-contact-card {
    height: 100%;
    min-height: 220px;
    padding: 1.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
}

.public-feature-number {
    width: 42px;
    height: 42px;
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    background: #eaf2ff;
    color: #1769e0;
    font-weight: 800;
}

.public-feature-card h3,
.public-timeline-item h3,
.public-contact-card h2 {
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 750;
    margin-bottom: 0.55rem;
}

.public-feature-card p,
.public-timeline-item p,
.public-contact-card p {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0;
}

.public-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 0.5rem;
    background: #eaf7f4;
    border: 1px solid #cce7df;
}

.public-band .public-kicker {
    color: #0f766e;
}

.public-band p {
    max-width: 760px;
}

.public-band-light {
    background: #fff;
    border-color: #e5e7eb;
}

.public-page-header {
    padding: 2.75rem 0 0.5rem;
    max-width: 840px;
}

.public-page-header h1 {
    color: #0f172a;
}

.public-side-note {
    position: sticky;
    top: 6rem;
    padding: 1.5rem;
    border-left: 4px solid #1769e0;
    background: #fff;
    border-radius: 0 0.5rem 0.5rem 0;
}

.public-timeline {
    display: grid;
    gap: 1rem;
}

.public-timeline-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
}

.public-timeline-item > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f8f2e9;
    color: #b45309;
    font-weight: 800;
}

.public-contact-card span {
    display: block;
    margin-bottom: 0.75rem;
    color: #1769e0;
    font-size: 0.9rem;
    font-weight: 700;
}

.public-contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: #1769e0;
    font-weight: 700;
    text-decoration: none;
}

.public-contact-link:hover,
.public-contact-link:focus {
    color: #0f3d91;
    text-decoration: underline;
}

.app-navbar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.16);
}

@media (min-width: 1200px) {
    .app-navbar {
        min-height: 76px;
    }

    .app-navbar-mobile-shell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .app-user-panel {
        padding-top: 0;
        padding-left: 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .app-user-summary {
        padding: 0;
        background: transparent;
        border: 0;
    }
}

@media (max-width: 1199.98px) {
    .app-navbar .container-fluid {
        align-items: flex-start;
    }

    .app-brand {
        max-width: calc(100% - 4.75rem);
        font-size: 1.3rem;
        line-height: 1.18;
        white-space: normal;
    }

    .app-navbar .navbar-collapse {
        width: 100%;
        padding-top: 0.95rem;
    }

    .app-navbar-mobile-shell {
        margin-top: 0.3rem;
        padding: 1rem;
        border-radius: 1.35rem;
        background: rgba(5, 22, 56, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(14px);
    }

    .app-nav-list {
        gap: 0.45rem;
    }

    .app-navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.95rem 1rem;
        border-radius: 0.95rem;
        font-size: 1.05rem;
    }

    .app-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        margin-top: 0.45rem;
        padding: 0.45rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: none;
    }

    .app-navbar .dropdown-header {
        padding: 0.65rem 0.75rem 0.35rem;
        color: #64748b;
    }

    .app-navbar .dropdown-item {
        padding: 0.75rem 0.85rem;
        white-space: normal;
    }

    .app-user-panel {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .app-user-summary {
        width: 100%;
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: space-between;
    }

    .app-user-name {
        max-width: none;
        font-size: 1rem;
    }

    .app-user-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .app-user-actions .btn,
    .app-user-actions form,
    .app-user-actions form .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .auth-panel {
        margin: 1.25rem;
    }

    .auth-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .auth-brand {
        text-align: center;
    }

    .admin-hero {
        padding: 1.35rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .admin-hero-title {
        font-size: 1.3rem;
    }

    .dash-stat-value {
        font-size: 1.65rem;
    }

    .role-hero {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .public-hero {
        min-height: 420px;
        padding: 2rem 1.25rem;
    }

    .public-hero h1,
    .public-page-header h1 {
        font-size: 2.25rem;
    }

    .public-hero p {
        font-size: 1rem;
    }

    .public-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.35rem;
    }

    .public-contact-card {
        min-height: auto;
    }

    .public-page-header {
        padding-top: 1.5rem;
    }

    .public-side-note {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .app-navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .app-brand {
        font-size: 1.12rem;
        max-width: calc(100% - 4.25rem);
    }

    .app-navbar-toggler {
        width: 44px;
        height: 44px;
        border-radius: 0.9rem;
    }

    .app-navbar-mobile-shell {
        padding: 0.85rem;
        border-radius: 1.15rem;
    }

    .app-user-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-user-actions {
        grid-template-columns: 1fr;
    }

    .public-page {
        gap: 2rem;
    }

    .public-hero-actions .btn {
        width: 100%;
    }

    .public-timeline-item {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   Teacher Dashboard
══════════════════════════════════════ */

/* Profil kartı */
.td-profile-card {
    background: linear-gradient(135deg, #0f766e 0%, #0d5a54 100%);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
}

.td-profile-left {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.td-profile-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.td-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.td-profile-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.2rem;
}

.td-profile-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #fff;
}

.td-profile-dept {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
}

/* İstatistik kartları */
.td-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
    transition: box-shadow 0.15s ease;
}

.td-stat-card:hover {
    box-shadow: 0 4px 12px rgba(15,23,42,0.09);
}

.td-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    flex-shrink: 0;
}

.td-stat-icon svg {
    width: 18px;
    height: 18px;
}

.td-icon-blue   { background: #e8f1fd; color: #1769e0; }
.td-icon-teal   { background: #e6f7f5; color: #0f766e; }
.td-icon-violet { background: #f2eeff; color: #7c3aed; }
.td-icon-amber  { background: #fef9ec; color: #d97706; }

.td-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.td-stat-label {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
}

/* Hızlı erişim */
.td-shortcut {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.td-shortcut:hover {
    border-color: #b8d0fb;
    box-shadow: 0 4px 14px rgba(15,23,42,0.09);
    transform: translateY(-2px);
}

.td-shortcut-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.td-shortcut-icon svg {
    width: 20px;
    height: 20px;
}

.td-shortcut-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.td-shortcut-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    display: block;
}

.td-shortcut-desc {
    font-size: 0.8rem;
    color: #9ca3af;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-shortcut-arrow {
    width: 18px;
    height: 18px;
    color: #d1d5db;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}

.td-shortcut:hover .td-shortcut-arrow {
    color: #1769e0;
    transform: translateX(2px);
}

/* Ders listesi */
.td-course-list {
    display: flex;
    flex-direction: column;
}

.td-course-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.td-course-item:last-child {
    border-bottom: none;
}

.td-course-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.td-course-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.td-course-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1769e0;
}

.td-course-name {
    font-size: 0.93rem;
    font-weight: 600;
    color: #111827;
}

.td-course-meta {
    font-size: 0.8rem;
    color: #9ca3af;
}

.td-badge-stat {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.td-bs-blue   { background: #e8f1fd; color: #1769e0; }
.td-bs-slate  { background: #f1f5f9; color: #475569; }

.td-course-bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
}

.td-course-btns {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.td-students-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f3f4f6;
    width: 100%;
}

.td-chip {
    display: inline-block;
    font-size: 0.73rem;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Son notlar listesi */
.td-note-list {
    display: flex;
    flex-direction: column;
}

.td-note-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.td-note-row:last-child {
    border-bottom: none;
}

.td-note-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.td-note-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1769e0;
}

.td-note-name {
    font-size: 0.85rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-note-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    font-size: 0.82rem;
    line-height: 1.3;
}

.td-score-high strong { color: #059669; }
.td-score-mid  strong { color: #d97706; }
.td-score-low  strong { color: #dc2626; }

.td-note-score span { color: #9ca3af; font-size: 0.75rem; }

@media (max-width: 767.98px) {
    .td-profile-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .td-course-top {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════
   BenimDerslerim — Öğretmen
══════════════════════════════════════ */

.bd-course-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,23,42,0.05);
    transition: box-shadow 0.15s;
}

.bd-course-card:hover {
    box-shadow: 0 4px 14px rgba(15,23,42,0.09);
}

/* Kart başlığı */
.bd-course-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem 0.9rem;
    flex-wrap: wrap;
}

.bd-course-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bd-ders-kodu {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1769e0;
}

.bd-ders-adi {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.bd-ders-sube {
    font-size: 0.82rem;
    color: #9ca3af;
}

.bd-course-header-right {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.bd-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

.bd-stat-pill svg {
    width: 14px;
    height: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

/* İşlem butonları */
.bd-course-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0.6rem 1.25rem 0.9rem;
    border-top: 1px solid #f3f4f6;
}

/* Öğrenci bölümü */
.bd-students-section {
    border-top: 1px solid #f3f4f6;
    padding: 1rem 1.25rem 1.15rem;
    background: #fafafa;
}

.bd-students-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.85rem;
}

.bd-students-header svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex-shrink: 0;
}

/* Öğrenci kartları grid */
.bd-students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.5rem;
}

.bd-student-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.55rem;
    padding: 0.5rem 0.7rem;
    min-width: 0;
}

.bd-student-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8f1fd;
    color: #1769e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bd-student-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bd-student-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bd-student-no {
    font-size: 0.72rem;
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .bd-course-header {
        flex-direction: column;
    }

    .bd-students-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.status-shell {
    min-height: calc(100vh - 11rem);
    display: flex;
    align-items: center;
}

.status-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 320px);
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(23, 105, 224, 0.09), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 22px 60px -36px rgba(15, 23, 42, 0.35);
}

.status-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    align-self: flex-start;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.95rem;
    font-weight: 700;
}

.status-title {
    margin-top: 1.15rem;
    margin-bottom: 0.9rem;
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
}

.status-text {
    max-width: 620px;
    margin-bottom: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.status-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.status-code {
    width: min(100%, 260px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(23, 105, 224, 0.16), rgba(15, 23, 42, 0.08)),
        #ffffff;
    border: 1px solid rgba(23, 105, 224, 0.16);
    color: #0f172a;
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
    .status-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .status-visual {
        order: -1;
        justify-content: flex-start;
    }

    .status-code {
        width: 170px;
        border-radius: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .status-shell {
        min-height: auto;
    }

    .status-card {
        padding: 1.15rem;
        border-radius: 1.1rem;
    }

    .status-badge {
        font-size: 0.84rem;
    }

    .status-title {
        font-size: 1.8rem;
    }

    .status-text {
        font-size: 0.98rem;
    }

    .status-actions {
        flex-direction: column;
    }

    .status-actions .btn {
        width: 100%;
    }
}
