:root {
    --primary: #123d78;
    --primary-dark: #0a2850;
    --primary-light: #2f6fb7;
    --primary-soft: #eaf3ff;

    --accent: #1f84d8;
    --success: #15865e;
    --success-soft: #eaf9f3;
    --warning: #c47b16;
    --warning-soft: #fff6e6;
    --danger: #c33e4f;
    --danger-soft: #fff0f2;

    --text-main: #152033;
    --text-soft: #637083;
    --text-muted: #8994a5;

    --surface: rgba(255, 255, 255, 0.94);
    --surface-solid: #ffffff;
    --surface-soft: #f7f9fc;
    --border: rgba(27, 62, 104, 0.11);

    --shadow-soft:
        0 10px 30px rgba(22, 54, 93, 0.06);

    --shadow-card:
        0 28px 80px rgba(20, 53, 94, 0.14);

    --shadow-video:
        0 30px 70px rgba(5, 18, 37, 0.32);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text-main);
    background:
        linear-gradient(
            145deg,
            #f7faff 0%,
            #edf3fb 42%,
            #f8fbff 100%
        );
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -5;
    content: "";
    background:
        radial-gradient(
            circle at 12% 10%,
            rgba(42, 118, 193, 0.13),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(13, 70, 132, 0.11),
            transparent 35%
        );
    pointer-events: none;
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -4;
    opacity: 0.32;
    background-image:
        linear-gradient(
            rgba(32, 84, 145, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(32, 84, 145, 0.035) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent 92%
        );
    pointer-events: none;
}

.background-decoration {
    position: fixed;
    z-index: -3;
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
}

.background-decoration-one {
    top: -170px;
    right: -110px;
    width: 420px;
    height: 420px;
    background:
        radial-gradient(
            circle,
            rgba(34, 111, 189, 0.18),
            rgba(34, 111, 189, 0)
        );
}

.background-decoration-two {
    bottom: -230px;
    left: -160px;
    width: 500px;
    height: 500px;
    background:
        radial-gradient(
            circle,
            rgba(17, 67, 124, 0.14),
            rgba(17, 67, 124, 0)
        );
}

.site-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.site-header {
    margin-bottom: 30px;
}

.brand-logo-wrapper {
    display: inline-flex;
    min-width: 120px;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin-bottom: 17px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
        0 18px 50px rgba(21, 57, 98, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-logo {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 83px;
    object-fit: contain;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    margin-bottom: 13px;
    color: var(--primary);
    border: 1px solid rgba(23, 87, 158, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.platform-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(31, 132, 216, 0.11);
}

.site-title {
    margin: 0;
    color: #112848;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.site-description {
    max-width: 620px;
    margin: 10px auto 0;
    color: var(--text-soft);
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.65;
}

.broadcast-card,
.state-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow:
        var(--shadow-card),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.broadcast-card::before {
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    z-index: 2;
    height: 1px;
    content: "";
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(60, 128, 203, 0.5),
            transparent
        );
}

.education-cover-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    background: #dfe8f4;
}

.egitim-cover {
    display: block;
    width: 100%;
    max-height: 470px;
    object-fit: cover;
    object-position: center;
    background: #e5e7eb;
    transition: transform 0.7s ease;
}

.broadcast-card:hover .egitim-cover {
    transform: scale(1.012);
}

.education-cover-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(5, 18, 35, 0.01) 45%,
            rgba(8, 24, 45, 0.28) 100%
        );
    pointer-events: none;
}

.live-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(164, 28, 43, 0.88);
    box-shadow:
        0 12px 30px rgba(56, 11, 17, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.live-badge-static {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 16px;
}

.live-badge-dot,
.video-status-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ffffff;
}

.live-badge-dot::after,
.video-status-dot::after {
    position: absolute;
    inset: -4px;
    content: "";
    border: 1px solid currentColor;
    border-radius: inherit;
    animation: livePulse 1.7s infinite;
}

.broadcast-body {
    padding: 22px;
}

.education-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.education-title {
    margin: 0;
    color: #142640;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.education-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.education-meta-item {
    min-width: 205px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(247, 250, 254, 0.98),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow:
        0 10px 24px rgba(25, 58, 96, 0.05);
    text-align: left;
}

.education-meta-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primary-light);
    border: 1px solid rgba(31, 105, 185, 0.1);
    border-radius: 13px;
    background: var(--primary-soft);
}

.education-meta-label,
.education-meta-value {
    display: block;
}

.education-meta-label {
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.education-meta-value {
    color: #203550;
    font-size: 0.93rem;
    font-weight: 750;
}

.welcome-panel {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(21, 134, 94, 0.14);
    border-radius: var(--radius-md);
    background:
        linear-gradient(
            135deg,
            rgba(234, 249, 243, 0.97),
            rgba(247, 255, 252, 0.98)
        );
    box-shadow:
        0 14px 32px rgba(18, 110, 78, 0.06);
}

.welcome-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            #26a777,
            #127451
        );
    box-shadow:
        0 12px 25px rgba(18, 116, 81, 0.24);
}

.welcome-content {
    min-width: 0;
}

.welcome-label,
.welcome-name,
.welcome-note {
    display: block;
}

.welcome-label {
    margin-bottom: 3px;
    color: #378267;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.welcome-name {
    overflow: hidden;
    color: #174d3b;
    font-size: 1.05rem;
    font-weight: 800;
    text-overflow: ellipsis;
}

.welcome-note {
    margin-top: 3px;
    color: #548574;
    font-size: 0.87rem;
}

.video-section {
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(22, 46, 78, 0.15);
    border-radius: 23px;
    background:
        linear-gradient(
            145deg,
            #111d2d,
            #07111e
        );
    box-shadow: var(--shadow-video);
}

.video-section-header {
    padding: 0 3px 12px;
}
.video-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 2px 4px 16px;
}

.video-section-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #8194ad;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.video-section-title {
    margin: 0;
    color: #f7faff;
    font-size: 1rem;
    font-weight: 750;
}

.video-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 7px 11px;
    color: #ffdee2;
    border: 1px solid rgba(255, 113, 128, 0.24);
    border-radius: 999px;
    background: rgba(177, 30, 48, 0.21);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.video-status-dot {
    width: 7px;
    height: 7px;
    color: #ff6677;
    background: #ff6677;
}

.video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: #000000;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.42);
}

/*
 Vimeo embed kodunun kendi içindeki padding oranını sıfırlar.
 Dış kapsayıcı oranı artık .video-frame tarafından yönetilir.
*/
.video-frame > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

.video-frame iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: inherit;
}

.video-footer-note {
    padding: 13px 5px 1px;
    color: #8190a5;
    font-size: 0.76rem;
    line-height: 1.55;
    text-align: center;
}

.logout-wrapper {
    margin-top: 24px;
    text-align: center;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 16px;
    color: #53647a;
    border: 1px solid rgba(34, 61, 94, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.btn-logout:hover {
    color: #9c2d3b;
    border-color: rgba(156, 45, 59, 0.18);
    background: #fff6f7;
    transform: translateY(-1px);
}

.login-section {
    max-width: 540px;
    margin: 0 auto;
    padding-top: 2px;
}

.login-heading {
    margin-bottom: 24px;
    text-align: center;
}

.login-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.login-title {
    margin: 0;
    color: #162b48;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.login-description {
    max-width: 460px;
    margin: 9px auto 0;
    color: var(--text-soft);
    font-size: 0.91rem;
    line-height: 1.65;
}

.login-form {
    max-width: 460px;
}

.form-field {
    margin-bottom: 18px;
}

.form-label {
    margin: 0 0 8px 3px;
    color: #344861;
    font-size: 0.82rem;
    font-weight: 750;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    display: grid;
    color: #8190a4;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-wrapper .form-control {
    min-height: 56px;
    padding: 12px 16px 12px 51px;
    color: #1c304a;
    border: 1px solid rgba(36, 72, 114, 0.15);
    border-radius: 15px;
    background: rgba(248, 250, 253, 0.95);
    box-shadow:
        inset 0 1px 2px rgba(23, 49, 80, 0.025);
    font-size: 0.95rem;
    font-weight: 600;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-wrapper .form-control::placeholder {
    color: #9aa5b4;
    font-weight: 450;
}

.input-wrapper .form-control:focus {
    color: #162a44;
    border-color: rgba(37, 111, 191, 0.48);
    outline: 0;
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(33, 108, 189, 0.1),
        0 12px 28px rgba(24, 75, 132, 0.07);
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-light);
}

.btn-login {
    width: 100%;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 13px 20px;
    margin-top: 5px;
    color: #ffffff;
    border: 0;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #18599d 0%,
            #0c3c78 100%
        );
    box-shadow:
        0 16px 35px rgba(16, 67, 125, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-size: 0.97rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn-login:hover {
    color: #ffffff;
    filter: brightness(1.055);
    box-shadow:
        0 20px 42px rgba(16, 67, 125, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
}

.login-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    color: #8793a3;
    font-size: 0.74rem;
    text-align: center;
}

.custom-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 17px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 0.87rem;
    line-height: 1.5;
}

.custom-alert-icon {
    width: 28px;
    height: 28px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 900;
}

.custom-alert strong,
.custom-alert span {
    display: block;
}

.custom-alert strong {
    margin-bottom: 2px;
    font-weight: 800;
}

.custom-alert-danger {
    color: #8f2f3c;
    border-color: rgba(195, 62, 79, 0.13);
    background: var(--danger-soft);
}

.custom-alert-danger .custom-alert-icon {
    color: #ffffff;
    background: var(--danger);
}

.custom-alert-warning {
    color: #835718;
    border-color: rgba(196, 123, 22, 0.15);
    background: var(--warning-soft);
}

.custom-alert-warning .custom-alert-icon {
    color: #ffffff;
    background: var(--warning);
}

.waiting-panel,
.countdown-panel {
    max-width: 660px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(34, 93, 159, 0.11);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(245, 249, 255, 0.98),
            rgba(255, 255, 255, 0.98)
        );
    box-shadow:
        0 18px 45px rgba(28, 71, 121, 0.07);
}

.waiting-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.waiting-icon {
    width: 60px;
    height: 60px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #236fb8;
    border: 1px solid rgba(35, 111, 184, 0.12);
    border-radius: 19px;
    background: #eaf3ff;
}

.waiting-label,
.waiting-title,
.waiting-note {
    display: block;
}

.waiting-label {
    margin-bottom: 5px;
    color: #4a79ad;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.waiting-title {
    color: #1b3555;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.5;
}

.waiting-note {
    margin-top: 5px;
    color: #78879a;
    font-size: 0.83rem;
}

.countdown-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    color: #295c92;
    border: 1px solid rgba(39, 103, 174, 0.12);
    border-radius: 999px;
    background: #edf5ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.countdown-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 0 0 5px rgba(31, 132, 216, 0.11);
}

.countdown-display {
    margin: 20px 0 12px;
    color: #123867;
    font-size: clamp(3.4rem, 10vw, 6.2rem);
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1;
    text-shadow:
        0 12px 35px rgba(30, 83, 145, 0.13);
}

.countdown-description {
    max-width: 500px;
    margin: 0 auto;
    color: #63758b;
    font-size: 0.92rem;
    line-height: 1.65;
}

.countdown-description strong {
    color: #244e7d;
}

.countdown-loader {
    position: relative;
    overflow: hidden;
    max-width: 320px;
    height: 5px;
    margin: 24px auto 0;
    border-radius: 999px;
    background: #dce8f5;
}

.countdown-loader span {
    position: absolute;
    inset: 0;
    width: 40%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #2d75bd,
            #74a9dc
        );
    animation: countdownLoader 1.7s ease-in-out infinite;
}

.state-card {
    padding: clamp(38px, 7vw, 70px);
    text-align: center;
}

.state-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 21px;
    font-size: 1.35rem;
    font-weight: 900;
}

.state-icon-warning {
    color: #a76812;
    border: 1px solid rgba(196, 123, 22, 0.13);
    background: var(--warning-soft);
}

.state-icon-info {
    color: #216aaa;
    border: 1px solid rgba(33, 106, 170, 0.13);
    background: var(--primary-soft);
}

.state-title {
    margin: 0;
    color: #182e4b;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.state-description {
    max-width: 550px;
    margin: 10px auto 0;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 22px 15px 0;
    color: #8a96a6;
    font-size: 0.72rem;
    line-height: 1.5;
    text-align: center;
}

.site-footer-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #aab4c1;
}

.app-alert {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    max-width: 420px;
}

@keyframes livePulse {
    0% {
        opacity: 0.75;
        transform: scale(0.75);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.9);
    }
}

@keyframes countdownLoader {
    0% {
        left: -40%;
    }

    50% {
        left: 50%;
    }

    100% {
        left: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 767.98px) {
    .site-shell {
        align-items: flex-start;
    }

    .site-header {
        margin-bottom: 22px;
    }

    .brand-logo-wrapper {
        min-width: 105px;
        min-height: 82px;
        padding: 10px 16px;
        margin-bottom: 14px;
        border-radius: 19px;
    }

    .site-logo {
        max-width: 175px;
        max-height: 68px;
    }

    .broadcast-card,
    .state-card {
        border-radius: 24px;
    }

    .education-cover-wrapper {
        min-height: 180px;
    }

    .egitim-cover {
        max-height: 310px;
    }

    .broadcast-body {
        padding: 24px 28px 28px;
    }

    .education-heading {
        margin-bottom: 25px;
    }

    .education-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .education-meta-item {
        min-width: 0;
        padding: 11px;
    }

    .education-meta-icon {
        width: 38px;
        height: 38px;
    }

    .video-section {
        padding: 12px;
        border-radius: 18px;
    }

    .video-section-header {
        padding: 3px 2px 12px;
    }

    .welcome-panel {
        padding: 15px;
    }

    .waiting-panel {
        align-items: flex-start;
        padding: 22px;
    }

    .app-alert {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .platform-badge {
        padding: 6px 10px;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }

    .site-description {
        padding: 0 10px;
        font-size: 0.91rem;
    }

    .education-meta {
        grid-template-columns: 1fr;
    }

    .education-meta-item {
        width: 100%;
    }

    .live-badge {
        top: 15px;
        left: 15px;
        padding: 7px 11px;
        font-size: 0.68rem;
    }

    .welcome-panel {
        align-items: flex-start;
    }

    .welcome-icon {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .video-section-header {
        align-items: flex-start;
    }

    .video-status {
        padding: 6px 9px;
        font-size: 0.63rem;
    }

    .video-footer-note {
        padding: 11px 4px 0;
        font-size: 0.7rem;
    }

    .waiting-panel {
        display: block;
        text-align: center;
    }

    .waiting-icon {
        margin: 0 auto 15px;
    }

    .countdown-panel {
        padding: 25px 15px;
    }

    .site-footer {
        display: block;
    }

    .site-footer span {
        display: block;
    }

    .site-footer-separator {
        display: none !important;
    }
}
/* =========================================================
   ÜST MENÜ VE YATAY EĞİTİM ÖZETİ
   ========================================================= */

.site-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.topbar-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    text-decoration: none;
}

.topbar-brand:hover {
    color: inherit;
}

.site-topbar .brand-logo-wrapper {
    min-width: auto;
    min-height: auto;
    flex: 0 0 auto;
    padding: 9px 14px;
    margin: 0;
    border-radius: 17px;
}

.site-topbar .site-logo {
    max-width: 150px;
    max-height: 58px;
}

.topbar-brand-text {
    min-width: 0;
}

.topbar-brand-text strong,
.topbar-brand-text span {
    display: block;
}

.topbar-brand-text strong {
    color: #142b49;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.topbar-brand-text span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.topbar-user {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 12px 30px rgba(21, 57, 98, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.topbar-user-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    border-radius: 13px;
    background:
        linear-gradient(
            145deg,
            #2a72ba,
            #123f79
        );
    box-shadow:
        0 10px 22px rgba(18, 63, 121, 0.22);
    font-size: 1rem;
    font-weight: 800;
}

.topbar-user-info {
    min-width: 0;
    max-width: 230px;
}

.topbar-user-info span,
.topbar-user-info strong {
    display: block;
}

.topbar-user-info span {
    margin-bottom: 1px;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.topbar-user-info strong {
    overflow: hidden;
    color: #1c3554;
    font-size: 0.86rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-logout {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    color: #8f3440;
    border: 1px solid rgba(170, 54, 70, 0.13);
    border-radius: 12px;
    background: #fff4f5;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.topbar-logout:hover {
    color: #ffffff;
    border-color: #a53443;
    background: #a53443;
    transform: translateY(-1px);
}

/* Eğitim görseli solda, eğitim bilgileri sağda */

.education-summary {
    display: grid;
    grid-template-columns: minmax(280px, 36%) minmax(0, 64%);
    align-items: stretch;
    min-height: 220px;
    border-bottom: 1px solid var(--border);
}

.education-summary .education-cover-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    max-height: 240px;
    border-radius: 0;
}

.education-summary .egitim-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.education-summary-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 38px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 250, 254, 0.98)
        );
}

.education-summary .education-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 190px));
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.education-summary .education-meta-item {
    width: 100%;
    min-width: 0;
}

.education-eyebrow {
    margin-bottom: 9px;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.education-summary .education-title {
    max-width: 680px;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    text-align: left;
}

.education-summary-description {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 0.91rem;
}

.education-summary .education-meta {
    justify-content: flex-start;
    margin-top: 24px;
}

.education-summary .education-meta-item {
    min-width: 190px;
}

.broadcast-body {
    padding-top: clamp(26px, 4vw, 42px);
}

.education-heading {
    display: none;
}

/* Eski çıkış alanı artık kullanılmıyor */

.logout-wrapper {
    display: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .education-summary {
        grid-template-columns: minmax(230px, 38%) minmax(0, 62%);
    }

    .education-summary-content {
        padding: 30px;
    }

    .education-summary .education-meta {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .education-summary .education-meta-item {
        width: 100%;
    }
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 767.98px) {
    .site-topbar {
        align-items: flex-start;
        gap: 12px;
    }

    .topbar-brand-text {
        display: none;
    }

    .site-topbar .brand-logo-wrapper {
        padding: 8px 11px;
        border-radius: 14px;
    }

    .site-topbar .site-logo {
        max-width: 120px;
        max-height: 48px;
    }

    .topbar-user {
        gap: 8px;
        padding: 6px;
    }

    .topbar-user-avatar {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .topbar-user-info {
        max-width: 145px;
    }

    .topbar-user-info span {
        display: none;
    }

    .topbar-user-info strong {
        font-size: 0.77rem;
    }

    .topbar-logout {
        min-height: 38px;
        padding: 8px 10px;
    }

    .topbar-logout span {
        display: none;
    }

    .education-summary {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .education-summary .education-cover-wrapper {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .education-summary .egitim-cover {
        position: absolute;
        inset: 0;
    }

    .education-summary-content {
        padding: 24px 20px 26px;
    }

    .education-summary .education-title {
        font-size: 1.45rem;
    }

    .education-summary-description {
        font-size: 0.85rem;
    }

    .education-summary .education-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .education-summary .education-meta-item {
        min-width: 0;
        padding: 10px;
    }
}

@media (max-width: 575.98px) {
    .site-topbar {
        margin-bottom: 17px;
    }

    .site-topbar .site-logo {
        max-width: 105px;
        max-height: 43px;
    }

    .topbar-user-info {
        max-width: 110px;
    }

    .topbar-user-avatar {
        display: none;
    }

    .education-summary .education-cover-wrapper {
        aspect-ratio: 16 / 9;
    }

    .education-summary .education-meta {
        grid-template-columns: 1fr;
    }
}

.welcome-panel-top {
    margin: 0;
    padding: 17px 22px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    background:
        linear-gradient(
            135deg,
            #e9f9f2,
            #f5fffb
        );
}
@media (max-width: 767.98px) {
    .welcome-panel-top {
        padding: 15px 17px;
    }

    .education-summary {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .education-summary .education-cover-wrapper {
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 8;
    }

    .education-summary-content {
        padding: 22px 20px 25px;
    }

    .education-summary .education-meta {
        grid-template-columns: 1fr 1fr;
    }

    .broadcast-body {
        padding: 17px;
    }

    .video-section {
        padding: 11px;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .education-summary .education-meta {
        grid-template-columns: 1fr;
    }

    .education-summary .education-cover-wrapper {
        aspect-ratio: 16 / 9;
    }
}