/* =============================================================================
   UZMAN AKADEMİ VELİ PLATFORMU — tasarım dili
   Kurumsal lacivert + logo turuncusu ana renklerdir; menü kutuları ve dersler
   için yumuşak, renkli tonlar kullanılır ("renkli ama ciddi"). Renkler TEK yerde.
   ============================================================================= */

:root {
    --ua-navy: #1f375d;
    --ua-navy-2: #2a4a7a;
    --ua-navy-3: #13243f;
    --ua-orange: #f08a1d;
    --ua-orange-dark: #b45f06;
    --ua-blue: #2f6fd6;
    --ua-bg: #f4f6fb;
    --ua-surface: #ffffff;
    --ua-text: #1d2433;
    --ua-muted: #5f6b80;
    --ua-border: #e3e8f2;
    --ua-radius: 24px;
    --ua-radius-sm: 14px;
    --ua-shadow: 0 2px 6px rgba(30, 22, 90, .10), 0 16px 44px -6px rgba(30, 22, 90, .22);
    --ua-shadow-hover: 0 4px 10px rgba(30, 22, 90, .12), 0 24px 56px -8px rgba(30, 22, 90, .30);

    /* Ton çiftleri: --t (vurgu, ikon/çizgi), --t-bg (yumuşak zemin), --t-ink (zemin üstü koyu yazı) */
    --blue: #2f6fd6;   --blue-bg: #e8f0fd;   --blue-ink: #1b4a99;
    --green: #1f9d6b;  --green-bg: #e3f6ee;  --green-ink: #126247;
    --violet: #7556d8; --violet-bg: #efeafd; --violet-ink: #4b33a0;
    --orange: #e8780c; --orange-bg: #fff0e0; --orange-ink: #9a4c00;
    --teal: #0f9aa8;   --teal-bg: #e1f6f8;   --teal-ink: #0b646d;
    --rose: #d6456b;   --rose-bg: #fde9ef;   --rose-ink: #9c2246;
    --amber: #c99406;  --amber-bg: #fdf5d8;  --amber-ink: #7a5900;
    --slate: #4f5d78;  --slate-bg: #eceff5;  --slate-ink: #333e55;
}

.tone-blue   { --t: var(--blue);   --t-bg: var(--blue-bg);   --t-ink: var(--blue-ink); }
.tone-green  { --t: var(--green);  --t-bg: var(--green-bg);  --t-ink: var(--green-ink); }
.tone-violet { --t: var(--violet); --t-bg: var(--violet-bg); --t-ink: var(--violet-ink); }
.tone-orange { --t: var(--orange); --t-bg: var(--orange-bg); --t-ink: var(--orange-ink); }
.tone-teal   { --t: var(--teal);   --t-bg: var(--teal-bg);   --t-ink: var(--teal-ink); }
.tone-rose   { --t: var(--rose);   --t-bg: var(--rose-bg);   --t-ink: var(--rose-ink); }
.tone-amber  { --t: var(--amber);  --t-bg: var(--amber-bg);  --t-ink: var(--amber-ink); }
.tone-slate  { --t: var(--slate);  --t-bg: var(--slate-bg);  --t-ink: var(--slate-ink); }

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ua-text);
    background: var(--ua-bg);
}

.ua-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }

a { color: var(--ua-blue); }

/* ---------- Düğmeler ---------- */
.ua-btn-primary {
    background: linear-gradient(135deg, #2f2596, #5a32c4);
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: var(--ua-radius-sm);
    padding: .6rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.ua-btn-primary:hover, .ua-btn-primary:focus-visible { background: linear-gradient(135deg, #3a2fb0, #6a40d8); color: #fff; }
.ua-btn-ghost {
    background: var(--ua-surface);
    border: 1px solid var(--ua-border);
    color: var(--ua-navy);
    font-weight: 600;
    border-radius: var(--ua-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.ua-btn-ghost:hover { border-color: var(--ua-navy); color: var(--ua-navy); background: #fff; }

/* Form alanları ve uyarılar da yuvarlak köşeli */
.form-control, .form-select { border-radius: var(--ua-radius-sm); }
.form-control-lg { border-radius: 16px; }
.alert { border-radius: var(--ua-radius-sm); }
.ua-btn-primary.btn-lg { border-radius: 16px; }
.form-control:focus { border-color: var(--ua-blue); box-shadow: 0 0 0 .2rem rgba(47, 111, 214, .18); }
.ua-alert { border-radius: var(--ua-radius-sm); }

/* ---------- Üst çubuk: "Uzmos" uzay teması ----------
   Zemin, kullanıcının "bg navbar.png" tasarımından kesilen uzay şeridi (2026-10-15): img/navbar-space.webp
   (+ .jpg yedeği). Görsel geniş ve alçak; cover ile ortadan kırpılır, telefonda mor orta bölüm görünür.
   Üstünde yanıp sönen yıldızlar, ara sıra kayan yıldız ve altta akan renk şeridi; "hareketi azalt"ta kapanır. */
.ua-topbar {
    position: sticky; top: 0; z-index: 1020; overflow: hidden; color: #fff;
    background-color: #2a1a8f;
    background-image: url("../img/navbar-space.jpg");
    background-image: image-set(url("../img/navbar-space.webp") type("image/webp"), url("../img/navbar-space.jpg") type("image/jpeg"));
    background-size: cover; background-position: center; background-repeat: no-repeat;
    box-shadow: 0 6px 22px rgba(36, 26, 138, .4);
}
.ua-topbar-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 1rem; }
@media (max-width: 575.98px) {
    .ua-topbar-inner { min-height: 88px; }
    .ua-topbar .ua-user-avatar { width: 38px; height: 38px; font-size: 1rem; }
    .ua-topbar .ua-logout { width: 40px; height: 40px; }
}

/* Altta akan şerit */
.ua-topbar-ribbon {
    position: relative; z-index: 1; height: 4px;
    background: linear-gradient(90deg, #f08a1d, #ffc93c, #ff6fb1, #9b6bff, #3fa9ff, #f08a1d);
    background-size: 300% 100%;
    animation: ua-ribbon 12s linear infinite;
}
@keyframes ua-ribbon { from { background-position: 0% 0; } to { background-position: 300% 0; } }

/* Uzay katmanı */
.ua-space { position: absolute; inset: 0; pointer-events: none; }
@keyframes ua-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(28px, 8px); } }

.ua-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .8); animation: ua-star-kf 3.2s ease-in-out infinite; }
.ua-star.s1 { left: 18%; top: 16%; }
.ua-star.s2 { left: 34%; top: 66%; animation-delay: -1.1s; width: 2px; height: 2px; }
.ua-star.s3 { left: 47%; top: 14%; animation-delay: -2.2s; }
.ua-star.s4 { left: 63%; top: 74%; animation-delay: -.6s; width: 2px; height: 2px; }
.ua-star.s5 { left: 74%; top: 22%; animation-delay: -1.7s; }
.ua-star.s6 { left: 88%; top: 70%; animation-delay: -2.6s; width: 2px; height: 2px; }
@keyframes ua-star-kf { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

/* Kayan yıldız: ~10 saniyede bir, kısa bir an */
.ua-shooting {
    position: absolute; left: 30%; top: 10px; width: 90px; height: 2px; border-radius: 2px; opacity: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
    transform: rotate(18deg);
    animation: ua-shoot 10s ease-in 3s infinite;
}
@keyframes ua-shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(18deg); }
    3% { opacity: 1; }
    9% { opacity: 0; transform: translate(300px, 112px) rotate(18deg); }
    100% { opacity: 0; transform: translate(300px, 112px) rotate(18deg); }
}

@keyframes ua-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(4deg); } }
/* Dar ekranda yıldızların bir kısmı gizlenir */
@media (max-width: 991.98px) { .ua-star.s2, .ua-star.s4 { display: none; } }
@media (max-width: 575.98px) { .ua-star.s3 { display: none; } }

/* "Uzman Ailem" etiketinin yuvarlak hatlı yazı tipi (2026-10-15): Fredoka 700, SIL OFL 1.1 (fonts/fredoka/OFL.txt).
   Dosyalar sitenin içinde (CSP font-src 'self'); Türkçe harfler (ı İ ş ğ) latin + latin-ext dosyalarında. */
@font-face {
    font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("../fonts/fredoka/fredoka-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("../fonts/fredoka/fredoka-latin-ext-700-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Marka: Uzmos logosu + "Uzman Ailem" */
.ua-brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.ua-brand:hover { color: #fff; }
.ua-brand-logo {
    height: 40px; width: auto; display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}
.ua-brand-sub {
    padding-left: .7rem; border-left: 2px solid rgba(255, 255, 255, .3);
    font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
    font-size: 1.75rem; font-weight: 700; letter-spacing: .01em; line-height: 1.1;
    background: linear-gradient(90deg, #ffffff, #ffd2a3, #c9b8ff, #ffffff); background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ua-shine 8s linear infinite;
}
@keyframes ua-shine { from { background-position: 0% 0; } to { background-position: 300% 0; } }
.ua-brand-sub { white-space: nowrap; }
@media (max-width: 575.98px) { .ua-brand-logo { height: 30px; } .ua-brand-sub { font-size: 1.3rem; padding-left: .5rem; } }
@media (max-width: 359.98px) { .ua-brand { gap: .5rem; } .ua-brand-logo { height: 26px; } .ua-brand-sub { font-size: 1.1rem; } }

.ua-topbar-user { position: relative; display: flex; align-items: center; gap: .6rem; }
.ua-topbar-link {
    position: relative; display: inline-flex; align-items: center; gap: .45rem;
    color: rgba(255, 255, 255, .86); background: transparent; border: 0;
    padding: .5rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ua-topbar-link:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ua-topbar-link .ua-icon { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ua-topbar-link:hover .ua-icon { transform: translateY(-2px) rotate(-8deg); }

/* Kullanıcı: degrade halkalı avatar + ad */
.ua-user-chip {
    display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none;
    padding: .2rem .8rem .2rem .2rem; border-radius: 999px; font-size: 1rem; font-weight: 600;
    background: transparent; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease;
}
.ua-user-chip:hover, .ua-user-chip.is-active { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; }
.ua-user-avatar {
    position: relative; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff9a3d, #ff4f9a);
    box-shadow: 0 0 0 2px #241a8a, 0 0 0 4px rgba(255, 210, 163, .9), 0 4px 12px rgba(0, 0, 0, .3);
}
@media (max-width: 991.98px) { .ua-user-chip { padding-right: .2rem; } }

/* Çıkış: yuvarlak cam ikon düğmesi */
.ua-logout {
    width: 46px; height: 46px; padding: 0; justify-content: center;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ua-logout:hover { background: linear-gradient(135deg, #ff6b6b, #d6336c); border-color: transparent; color: #fff; }
.ua-logout .ua-icon { width: 1.2em; height: 1.2em; }

.ua-main { padding-top: 1.5rem; padding-bottom: 2.5rem; min-height: calc(100vh - 180px); }

/* Ana sayfa dışındaki ekranlarda "Ana Sayfaya Dön" (2026-10-15): üst bardaki menü kaldırıldığı için _Layout tek yerden basar */
.ua-back-home {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem;
    padding: .45rem 1rem .45rem .75rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem;
    color: var(--ua-navy); background: var(--ua-surface); border: 1px solid var(--ua-border);
    box-shadow: 0 4px 12px rgba(36, 26, 138, .08); transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.ua-back-home:hover { color: #6a24d6; transform: translateX(-3px); box-shadow: 0 6px 16px rgba(36, 26, 138, .16); }
.ua-back-home .ua-icon { transition: transform .2s ease; }
.ua-back-home:hover .ua-icon { transform: translateX(-2px); }

.ua-footer { color: var(--ua-muted); font-size: .85rem; padding: 1.25rem 0 2rem; }
.ua-footer-sep { margin: 0 .4rem; }

/* ---------- Karşılama bandı ---------- */
.ua-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--ua-radius);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    background: linear-gradient(120deg, #1a1a5e 0%, #262178 45%, #34419f 100%);
    box-shadow: var(--ua-shadow);
}
.ua-hero-shapes span { position: absolute; border-radius: 50%; }
.ua-hero-shapes span:nth-child(1) {
    width: 260px; height: 260px; right: -70px; top: -110px;
    background: radial-gradient(circle, rgba(240, 138, 29, .55), rgba(240, 138, 29, 0) 70%);
}
.ua-hero-shapes span:nth-child(2) {
    width: 180px; height: 180px; right: 18%; bottom: -120px;
    background: radial-gradient(circle, rgba(47, 111, 214, .6), rgba(47, 111, 214, 0) 70%);
}
.ua-hero-content { position: relative; }
.ua-hero-date { color: #ffd2a3; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.ua-hero-title { font-size: 1.6rem; font-weight: 700; margin-bottom: .25rem; }
.ua-hero-lead { color: #d6e1f3; margin-bottom: 0; }
@media (min-width: 768px) { .ua-hero { padding: 2.25rem 2.25rem; } .ua-hero-title { font-size: 2rem; } }

/* Çocuk seçici */
.ua-child-picker { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.ua-main > .ua-child-picker { margin: 0 0 1rem; }
.ua-child-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .9rem .35rem .35rem; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .2);
}
.ua-child-pill:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.ua-child-pill.is-active { background: #fff; color: var(--ua-navy); }
.ua-avatar {
    width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--ua-orange); color: #fff; font-size: .85rem; font-weight: 700;
}
/* Sayfa içinde (açık zemin) kullanılan çocuk seçici */
.ua-main > .ua-child-picker .ua-child-pill { background: var(--ua-surface); color: var(--ua-navy); border-color: var(--ua-border); }
.ua-main > .ua-child-picker .ua-child-pill.is-active { background: var(--ua-navy); color: #fff; border-color: var(--ua-navy); }

/* ---------- Kartlar / özet kutuları ---------- */
.ua-card {
    background: var(--ua-surface); border-radius: var(--ua-radius); box-shadow: var(--ua-shadow);
    padding: 1.5rem; border: 1px solid var(--ua-border);
}
.ua-section-title { font-size: 1.1rem; font-weight: 700; color: var(--ua-navy); margin: 0 0 .85rem; }

.ua-stat {
    height: 100%; display: flex; gap: 1rem; align-items: flex-start;
    background: var(--ua-surface); border-radius: var(--ua-radius); padding: 1.1rem 1.2rem;
    box-shadow: var(--ua-shadow); border: 1px solid var(--ua-border);
}
.ua-stat-icon, .ua-page-icon, .ua-empty-icon, .ua-feature-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--t-bg); color: var(--t);
}
.ua-stat-icon { width: 46px; height: 46px; border-radius: 16px; font-size: 1.3rem; }
.ua-stat-body { min-width: 0; }
.ua-stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ua-muted); font-weight: 600; }
.ua-stat-value { font-size: 1.15rem; font-weight: 700; color: var(--ua-navy); }
.ua-stat-number { font-size: 2rem; font-weight: 800; color: var(--ua-navy); line-height: 1.1; }
.ua-stat-detail { color: var(--ua-muted); font-size: .92rem; }
.ua-stat-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .35rem; color: var(--ua-muted); font-size: .88rem; }
.ua-stat-meta span { display: inline-flex; align-items: center; gap: .3rem; }


/* Kurs ilerlemesi (halka grafik) */
.ua-course {
    display: flex; align-items: center; gap: 1rem; height: 100%;
    background: var(--ua-surface); border-radius: var(--ua-radius); padding: 1rem 1.2rem;
    box-shadow: var(--ua-shadow); border: 1px solid var(--ua-border);
}
.ua-course-name { font-weight: 700; color: var(--ua-navy); }
.ua-course-count { color: var(--ua-text); font-size: .92rem; }
.ua-course-dates { color: var(--ua-muted); font-size: .82rem; margin-top: .15rem; }

.ua-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.ua-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ua-ring circle { fill: none; stroke-width: 12; }
.ua-ring-track { stroke: var(--t-bg, var(--blue-bg)); }
.ua-ring-bar { stroke: var(--t, var(--ua-orange)); stroke-linecap: round; }
.ua-ring-label {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--ua-navy); font-size: 1.05rem;
}

/* ---------- Menü kutuları (2026-10-15, kullanıcının "Renkli Eğitim Dashboard Kartları" tasarımı) ----------
   Renkler tasarımdan ÖLÇÜLDÜ (üst açık → alt koyu). Sağ alttaki 3B illüstrasyonlar aynı görselden kesildi
   (img/tile-*.webp, sol/üst kenarı saydamlaşarak zemine karışır). Metin, rozet ve ok HTML'dir. */
.ua-menu-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ua-menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }

/* Genel tonlar (başka bileşenler de kullanır) */
.tone-blue   { --g1: #3b74e8; --g2: #2343b0; }
.tone-green  { --g1: #1a9e6e; --g2: #0a5f45; }
.tone-violet { --g1: #8257e5; --g2: #4c2bb0; }
.tone-orange { --g1: #e8690f; --g2: #a93b06; }
.tone-teal   { --g1: #0f9cab; --g2: #0a5f6d; }
.tone-rose   { --g1: #e0436f; --g2: #9d1c49; }
.tone-amber  { --g1: #d48a04; --g2: #8a4f00; }
.tone-slate  { --g1: #5d6b8a; --g2: #2f3850; }

/* Menü kutularının tasarımdan ölçülen renkleri */
.ua-tile.tile-schedule  { --g1: #0074fa; --g2: #004ada; }
.ua-tile.tile-notes     { --g1: #049c79; --g2: #027461; }
.ua-tile.tile-platforms { --g1: #7625f8; --g2: #5909da; }
.ua-tile.tile-campaigns { --g1: #fd7f0e; --g2: #e63501; }
.ua-tile.tile-surveys   { --g1: #018fb8; --g2: #01628e; }
.ua-tile.tile-feedback  { --g1: #e92f73; --g2: #cf0a5f; }
.ua-tile.tile-requests  { --g1: #db9701; --g2: #cb7400; }
.ua-tile.tile-measurements { --g1: #0f9cab; --g2: #0a5f6d; }
.ua-tile.tile-account   { --g1: #465276; --g2: #293359; }

.ua-tile {
    position: relative; display: flex; flex-direction: column; gap: .25rem; min-height: 148px;
    padding: .9rem 1rem 1rem; border-radius: var(--ua-radius); overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, var(--g1), var(--g2));
    color: #fff; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 18px 40px -12px var(--g2), 0 4px 12px -4px rgba(30, 22, 90, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}
/* Tasarımdaki yumuşak dalga/ışık: sol üstte açık bir leke */
.ua-tile::before {
    content: ""; position: absolute; z-index: -2; width: 220px; height: 220px; left: -60px; top: -110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
}
.ua-tile:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -14px var(--g2), 0 6px 16px -4px rgba(30, 22, 90, .3), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; }
.ua-tile:focus-visible { outline: 3px solid var(--g1); outline-offset: 3px; }

/* Sol üstte kare "cam" ikon kutusu */
.ua-tile-icon {
    position: relative; z-index: 1;
    width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .32); color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); font-size: 1.25rem; margin-bottom: .45rem;
    transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.ua-tile:not(.is-soon):hover .ua-tile-icon { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
.ua-tile-title { position: relative; z-index: 1; font-weight: 800; font-size: 1.12rem; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.ua-tile-desc {
    position: relative; z-index: 1; max-width: 56%; font-size: .84rem; line-height: 1.38;
    color: rgba(255, 255, 255, .93); text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

/* Sağ altta 3B illüstrasyon */
.ua-tile-art {
    position: absolute; z-index: 0; right: 4px; bottom: 4px; width: 34%; max-width: 124px; pointer-events: none;
    transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
    transform-origin: 80% 90%;
}
.ua-tile-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.ua-tile:not(.is-soon):hover .ua-tile-art { transform: scale(1.06) rotate(-2deg); }

/* Sağ üstte beyaz "aç" düğmesi */
.ua-tile-go {
    position: absolute; z-index: 2; right: .85rem; top: .85rem; width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--g2); box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    transition: transform .2s ease;
}
.ua-tile:hover .ua-tile-go { transform: translateX(3px); }

/* Henüz hazır olmayanlar: renk kalır, hafif soluk ve hareketsiz */
.ua-tile.is-soon { cursor: default; filter: saturate(.8); opacity: .9; }
.ua-tile.is-soon:hover { transform: none; box-shadow: 0 18px 40px -12px var(--g2), 0 4px 12px -4px rgba(30, 22, 90, .25), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ua-tile-badge {
    position: absolute; z-index: 2; top: .9rem; right: .9rem; font-size: .66rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; padding: .22rem .6rem; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--g2);
}

/* Telefon: iki sütunda kutu dar; açıklama kısalır, illüstrasyon küçülür ve metnin altına yerleşir */
@media (max-width: 575.98px) {
    .ua-tile { min-height: 188px; padding: .8rem .85rem .9rem; }
    .ua-tile-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 1.05rem; margin-bottom: .35rem; }
    .ua-tile-title { font-size: 1rem; }
    .ua-tile-desc { max-width: 100%; font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .ua-tile-art { width: 38%; right: 2px; bottom: 2px; }
    .ua-tile-go { width: 28px; height: 28px; }
}

/* ---------- Sayfa başlığı ---------- */
.ua-page-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.ua-page-icon { width: 52px; height: 52px; border-radius: 18px; font-size: 1.5rem; }
.ua-page-title { font-size: 1.5rem; font-weight: 700; color: var(--ua-navy); margin: 0; }
.ua-page-sub { color: var(--ua-muted); margin: 0; }

/* ---------- Haftalık ders programı ---------- */
.ua-week-nav {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    background: var(--ua-surface); border: 1px solid var(--ua-border); border-radius: var(--ua-radius);
    padding: .65rem; margin-bottom: 1rem; box-shadow: var(--ua-shadow);
}
.ua-week-label { text-align: center; display: flex; flex-direction: column; line-height: 1.3; }
.ua-week-label strong { color: var(--ua-navy); }
.ua-week-label span { color: var(--ua-muted); font-size: .85rem; }
.ua-week-label a { font-size: .85rem; }

.ua-week { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ua-week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; } }

.ua-day {
    background: var(--ua-surface); border: 1px solid var(--ua-border); border-radius: var(--ua-radius);
    padding: .75rem; display: flex; flex-direction: column; gap: .55rem; min-height: 0;
}
@media (min-width: 992px) { .ua-day { min-height: 220px; } }
.ua-day.is-today { border: 2px solid var(--ua-orange); box-shadow: 0 6px 20px rgba(240, 138, 29, .15); }
/* Telefonda boş günler sıkıştırılır: hafta bir bakışta okunsun. */
@media (max-width: 991.98px) { .ua-day.is-empty { flex-direction: row; align-items: center; justify-content: space-between; padding: .55rem .9rem; } }
.ua-day-head { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.ua-day-name { font-weight: 700; color: var(--ua-navy); text-transform: capitalize; }
.ua-day-date { color: var(--ua-muted); font-size: .85rem; }
.ua-today-badge {
    margin-left: auto; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    background: var(--ua-orange); color: #fff; padding: .1rem .5rem; border-radius: 999px;
}
.ua-day-empty { color: #9aa4b6; font-size: .85rem; margin: 0; }

.ua-lesson {
    border-radius: var(--ua-radius-sm); padding: .6rem .7rem; background: var(--t-bg);
    border-left: 4px solid var(--t); color: var(--t-ink);
}
.ua-lesson-time { font-weight: 800; font-size: .92rem; }
.ua-lesson-course { font-weight: 700; color: var(--ua-text); line-height: 1.25; margin: .1rem 0 .2rem; }
.ua-lesson-meta { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--ua-muted); }
.ua-lesson-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.ua-tag {
    display: inline-flex; align-items: center; gap: .2rem; font-size: .72rem; font-weight: 700;
    padding: .1rem .45rem; border-radius: 999px; background: #fff; color: var(--t-ink);
}
.ua-tag-done { background: var(--green); color: #fff; }

/* ---------- Boş durum ---------- */
.ua-empty-state { text-align: center; padding: 3rem 1rem; max-width: 520px; margin: 0 auto; }
.ua-empty-icon { width: 64px; height: 64px; border-radius: 24px; font-size: 1.8rem; margin-bottom: 1rem; }

/* =============================================================================
   GİRİŞ EKRANI
   ============================================================================= */
.ua-auth-body { min-height: 100vh; }
.ua-auth { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ua-auth { grid-template-columns: 1.1fr 1fr; } }

.ua-auth-hero {
    display: none; position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(150deg, #0b0a33 0%, #241a8a 38%, #6a24d6 72%, #1d63ff 100%);
    padding: 3rem;
}
@media (min-width: 992px) { .ua-auth-hero { display: flex; align-items: center; } }
/* İnce nokta deseni: defter sayfası hissi */
.ua-auth-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
    background-size: 22px 22px;
}
.ua-auth-shapes span { position: absolute; border-radius: 50%; }
.ua-auth-shapes span:nth-child(1) {
    width: 420px; height: 420px; right: -160px; top: -140px;
    background: radial-gradient(circle, rgba(240, 138, 29, .5), rgba(240, 138, 29, 0) 70%);
}
.ua-auth-shapes span:nth-child(2) {
    width: 360px; height: 360px; left: -120px; bottom: -150px;
    background: radial-gradient(circle, rgba(47, 111, 214, .55), rgba(47, 111, 214, 0) 70%);
}
.ua-auth-shapes span:nth-child(3) {
    width: 90px; height: 90px; right: 18%; bottom: 14%;
    border: 10px solid rgba(255, 255, 255, .12);
}
.ua-auth-hero-content { position: relative; max-width: 460px; margin: 0 auto; }
.ua-auth-logo { width: 110px; height: 110px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); margin-bottom: 1.25rem; }
.ua-auth-wordmark { height: 56px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); margin-bottom: .35rem; }
.ua-auth-title { font-size: 2.3rem; font-weight: 800; line-height: 1.15; margin-bottom: .75rem; }
.ua-auth-title span { color: #ffd2a3; font-family: "Fredoka", "Segoe UI", system-ui, sans-serif; font-weight: 700; font-size: 1.15em; }
.ua-auth-lead { color: #d6e1f3; font-size: 1.1rem; margin-bottom: 2rem; }
.ua-auth-features { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ua-auth-features li { display: flex; align-items: center; gap: .85rem; font-weight: 600; }
.ua-feature-icon { width: 42px; height: 42px; border-radius: 14px; font-size: 1.2rem; }

.ua-auth-panel { display: flex; align-items: center; justify-content: center; padding: 2rem 1.1rem; }
.ua-auth-card {
    width: 100%; max-width: 420px; background: var(--ua-surface); border-radius: 30px;
    padding: 2rem 1.6rem; box-shadow: var(--ua-shadow); border: 1px solid var(--ua-border);
    border-top: 5px solid #5a32c4;
}
@media (min-width: 576px) { .ua-auth-card { padding: 2.5rem 2.25rem; } }
.ua-auth-heading { font-size: 1.6rem; font-weight: 800; color: var(--ua-navy); margin-bottom: .25rem; }
.ua-auth-help { font-size: .85rem; color: var(--ua-muted); margin: 1.5rem 0 0; }
.ua-auth-mobile-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; color: var(--ua-navy); line-height: 1.2; }
.ua-auth-mobile-brand img { object-fit: contain; }
.ua-auth-mobile-brand span { color: var(--ua-orange-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 992px) { .ua-auth-mobile-brand { display: none; } }

/* =============================================================================
   GRAFİK VE HAREKET (2026-10-14) — ölçülü: girişte kısa, sırayla beliriş; sürekli hareket yalnız
   illüstrasyonda (yavaş süzülme, parıltı). "Hareketi azalt" tercihinde HEPSİ kapanır (dosyanın sonu).
   ============================================================================= */

/* Sayfa zemini: köşelerde çok hafif renk lekeleri */
/* Sayfa zemini — "yumuşak uzay" (bkz. _SpaceBackground.cshtml). Açık lavanta zemin + iki katlı soluk yıldız
   deseni; üstünde sabit bir katmanda silik gezegenler ve ışık lekeleri. İçerik bu katmanın ÜSTÜNDEDİR. */
.ua-body, .ua-auth-body {
    background:
        radial-gradient(rgba(122, 104, 230, .16) 1px, transparent 1.4px) 0 0 / 34px 34px,
        radial-gradient(rgba(122, 104, 230, .10) 1px, transparent 1.4px) 17px 17px / 34px 34px,
        linear-gradient(180deg, #f1eeff 0%, #f4f6ff 45%, #eef4ff 100%);
    background-attachment: fixed;
}
.ua-main, .ua-footer, .ua-auth { position: relative; z-index: 1; }
.ua-bg-space { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ua-bg-glow { position: absolute; border-radius: 50%; filter: blur(10px); animation: ua-drift 22s ease-in-out infinite; }
.ua-bg-glow.b1 { width: 460px; height: 460px; right: -140px; top: 60px; background: radial-gradient(circle, rgba(140, 110, 255, .22), transparent 70%); }
.ua-bg-glow.b2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(70, 150, 255, .2), transparent 70%); animation-delay: -8s; }
.ua-bg-glow.b3 { width: 300px; height: 300px; left: 38%; top: 45%; background: radial-gradient(circle, rgba(255, 150, 200, .14), transparent 70%); animation-delay: -15s; }
.ua-bg-star {
    position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #a898ff;
    box-shadow: 0 0 8px 2px rgba(168, 152, 255, .6); animation: ua-star-kf 4s ease-in-out infinite;
}
.ua-bg-star.t1 { left: 8%; top: 22%; }
.ua-bg-star.t2 { left: 92%; top: 38%; animation-delay: -1.3s; width: 4px; height: 4px; }
.ua-bg-star.t3 { left: 24%; top: 78%; animation-delay: -2.1s; }
.ua-bg-star.t4 { left: 70%; top: 88%; animation-delay: -.7s; width: 4px; height: 4px; }
.ua-bg-star.t5 { left: 52%; top: 18%; animation-delay: -2.9s; width: 4px; height: 4px; }
.ua-bg-star.t6 { left: 4%; top: 55%; animation-delay: -3.4s; width: 4px; height: 4px; }
.ua-bg-planet { position: absolute; opacity: .55; }
.ua-bg-planet.p-ringed { width: 170px; left: -30px; bottom: 6%; animation: ua-bob 12s ease-in-out infinite; }
.ua-bg-planet.p-blue { width: 64px; right: 3%; top: 22%; animation: ua-bob 9s ease-in-out -3s infinite; }
.ua-bg-planet.p-peach { width: 38px; right: 12%; bottom: 10%; animation: ua-bob 8s ease-in-out -5s infinite; }
@media (max-width: 767.98px) {
    .ua-bg-planet.p-ringed { width: 110px; left: -36px; }
    .ua-bg-planet.p-blue { width: 44px; right: -8px; }
    .ua-bg-glow.b3 { display: none; }
}

/* Sırayla beliriş */
@keyframes ua-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.ua-reveal { animation: ua-rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.ua-d1 { animation-delay: .06s; } .ua-d2 { animation-delay: .12s; } .ua-d3 { animation-delay: .18s; }
.ua-d4 { animation-delay: .24s; } .ua-d5 { animation-delay: .29s; } .ua-d6 { animation-delay: .34s; }
.ua-d7 { animation-delay: .39s; } .ua-d8 { animation-delay: .44s; } .ua-d9 { animation-delay: .49s; }
.ua-d10 { animation-delay: .54s; } .ua-d11 { animation-delay: .59s; } .ua-d12 { animation-delay: .64s; }
.ua-auth-features li:nth-child(1) { animation-delay: .2s; }
.ua-auth-features li:nth-child(2) { animation-delay: .32s; }
.ua-auth-features li:nth-child(3) { animation-delay: .44s; }

/* Karşılama bandı illüstrasyonu */
.ua-hero-art { display: none; }
@media (min-width: 768px) {
    .ua-hero { padding-right: 300px; min-height: 210px; }
    .ua-hero-art { display: block; position: absolute; right: 28px; bottom: 10px; width: 260px; }
    .ua-hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }
}
@keyframes ua-float-kf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ua-float { animation: ua-float-kf 5s ease-in-out infinite; transform-box: fill-box; }
.ua-float-slow { animation-duration: 6.5s; animation-delay: -2s; }
@keyframes ua-twinkle-kf { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.ua-twinkle { animation: ua-twinkle-kf 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ua-delay-1 { animation-delay: -.9s; }
.ua-delay-2 { animation-delay: -1.7s; }


/* Sıradaki ders: "Bugün / Yarın / N gün sonra" */
.ua-when {
    display: inline-block; margin: .2rem 0 .15rem; padding: .1rem .55rem; border-radius: 999px;
    font-size: .75rem; font-weight: 700; background: var(--blue-bg); color: var(--blue-ink);
}
.ua-when.is-today { background: var(--ua-orange); color: #fff; animation: ua-pulse 2s ease-in-out infinite; }
@keyframes ua-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 138, 29, .45); } 50% { box-shadow: 0 0 0 6px rgba(240, 138, 29, 0); } }

/* Haftalık mini grafik */
.ua-stat-week { flex-direction: column; gap: .4rem; }
.ua-stat-head { display: flex; gap: 1rem; align-items: center; }
.ua-stat-number small { font-size: .9rem; font-weight: 600; color: var(--ua-muted); }
.ua-week-bars { width: 100%; height: auto; max-height: 120px; }
.ua-bar { fill: var(--blue); opacity: .85; }
.ua-bar.is-zero { fill: #dfe5ef; opacity: 1; }
.ua-bar.is-today { fill: var(--ua-orange); opacity: 1; }
.ua-bar-value { font-size: 11px; font-weight: 800; fill: var(--ua-navy); }
.ua-bar-day { font-size: 11px; font-weight: 600; fill: var(--ua-muted); }
.ua-bar-day.is-today { fill: var(--ua-orange-dark); font-weight: 800; }

/* Kurs kartı: motivasyon etiketi + üzerine gelince hafif kalkma */
.ua-course { transition: transform .2s ease, box-shadow .2s ease; }
.ua-course:hover { transform: translateY(-2px); box-shadow: var(--ua-shadow-hover); }
.ua-cheer {
    display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700;
    padding: .1rem .5rem; border-radius: 999px; background: var(--t-bg); color: var(--t-ink); margin-bottom: .25rem;
}
.ua-cheer .ua-icon { width: .95em; height: .95em; }
.ua-cheer.is-star .ua-icon { fill: currentColor; }



/* Ders programı: ders kartları üzerine gelince hafif kalkar */
.ua-lesson { transition: transform .2s ease, box-shadow .2s ease; }
.ua-lesson:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(19, 36, 63, .1); }

/* Giriş düğmesi: hafif parlama geçişi */
.ua-btn-primary { position: relative; overflow: hidden; }
.ua-btn-primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.ua-btn-primary:hover::after { left: 120%; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .ua-tile:hover, .ua-course:hover, .ua-lesson:hover { transform: none; }
}

/* =============================================================================
   ŞİKÂYET VE ÖVGÜ (2026-10-14)
   ============================================================================= */

/* Ana sayfadaki kutuda "N yeni yanıt" rozeti (ok yerine) */
.ua-tile-badge-new { background: #fff; color: var(--g2); animation: ua-pulse-white 2.2s ease-in-out infinite; }
@keyframes ua-pulse-white { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }

/* Büyük seçim kartları: Şikâyet Bildir / Övgü Yaz */
.ua-choice {
    display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--ua-radius);
    background: linear-gradient(145deg, var(--g1), var(--g2)); color: #fff; text-decoration: none;
    box-shadow: 0 10px 22px -10px var(--g2); transition: transform .2s ease, box-shadow .2s ease;
}
.ua-choice:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px -12px var(--g2); }
.ua-choice-icon {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); font-size: 1.45rem;
}
.ua-choice-title { display: block; font-weight: 800; font-size: 1.1rem; }
.ua-choice-desc { display: block; font-size: .88rem; color: rgba(255, 255, 255, .9); }
.ua-choice-go {
    margin-left: auto; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--g2); transition: transform .2s ease;
}
.ua-choice:hover .ua-choice-go { transform: translateX(3px); }

/* Gönderdiklerim listesi */
.ua-feedback-list { display: flex; flex-direction: column; gap: .7rem; }
.ua-feedback-row {
    display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: var(--ua-radius);
    background: var(--ua-surface); border: 1px solid var(--ua-border); box-shadow: var(--ua-shadow);
    color: var(--ua-text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.ua-feedback-row:hover { color: var(--ua-text); transform: translateY(-2px); box-shadow: var(--ua-shadow-hover); }
.ua-feedback-row.is-unread { border-color: #ff4f9a; box-shadow: 0 0 0 2px rgba(255, 79, 154, .18), var(--ua-shadow); }
.ua-feedback-kind {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--g1), var(--g2)); color: #fff; font-size: 1.15rem;
}
.ua-feedback-main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ua-feedback-subject { font-weight: 700; color: var(--ua-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ua-feedback-meta { font-size: .82rem; color: var(--ua-muted); }
.ua-pill {
    display: inline-block; flex-shrink: 0; padding: .2rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
    background: var(--t-bg); color: var(--t-ink);
}
.ua-pill-new { background: linear-gradient(135deg, #ff9a3d, #ff4f9a); color: #fff; }
@media (max-width: 575.98px) {
    .ua-feedback-row { flex-wrap: wrap; }
    .ua-feedback-main { flex-basis: calc(100% - 60px); }
    .ua-feedback-row .ua-pill { margin-left: 58px; }
    .ua-feedback-row .ua-pill + .ua-pill { margin-left: 0; }
}

/* Form: Şikâyet / Övgü seçimi (segment) */
.ua-segment { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.ua-segment-option {
    display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer;
    font-weight: 700; border: 2px solid var(--t-bg); background: var(--ua-surface); color: var(--t-ink);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ua-segment-option:hover { border-color: var(--g1); }
.btn-check:checked + .ua-segment-option { background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px var(--g2); }
.btn-check:focus-visible + .ua-segment-option { outline: 3px solid var(--g1); outline-offset: 2px; }
.ua-info-card { background: linear-gradient(160deg, #f6f3ff, #ffffff); }

/* Yazışma (sohbet balonları) */
.ua-chat { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.25rem; }
.ua-chat-row { display: flex; align-items: flex-end; gap: .55rem; }
.ua-chat-row.is-mine { justify-content: flex-end; }
.ua-chat-avatar { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }
.ua-chat-bubble { max-width: 82%; padding: .7rem .95rem; border-radius: 20px; box-shadow: 0 2px 8px rgba(19, 36, 63, .06); }
.is-theirs .ua-chat-bubble { background: #f1edff; border-bottom-left-radius: 6px; }
.is-mine .ua-chat-bubble { background: linear-gradient(135deg, #3a2fb0, #6a40d8); color: #fff; border-bottom-right-radius: 6px; }
.ua-chat-author { font-size: .8rem; font-weight: 800; opacity: .85; margin-bottom: .15rem; }
.ua-chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ua-chat-time { font-size: .72rem; opacity: .7; margin-top: .3rem; text-align: right; }
.ua-chat-event { align-self: center; font-size: .78rem; color: var(--ua-muted); background: var(--ua-bg); padding: .2rem .8rem; border-radius: 999px; }
.ua-chat-form { border-top: 1px solid var(--ua-border); padding-top: 1rem; }

/* =============================================================================
   ÖĞRETMEN NOTLARI (2026-10-14) — her not, kurs renginde sol kenarlı bir "defter sayfası" kartı.
   ============================================================================= */
.ua-notes { display: flex; flex-direction: column; gap: 1rem; }
.ua-note {
    position: relative; overflow: hidden; padding: 1.2rem 1.3rem 1.1rem 1.5rem;
    border-radius: var(--ua-radius); background: var(--ua-surface); border: 1px solid var(--ua-border);
    box-shadow: var(--ua-shadow);
    /* Defter çizgileri: çok soluk yatay çizgiler */
    background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(122, 104, 230, .07) 31px 32px);
}
.ua-note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--g1), var(--g2)); }
.ua-note.is-new { border-color: var(--g1); box-shadow: 0 0 0 3px var(--t-bg), var(--ua-shadow); }
.ua-note-ribbon {
    position: absolute; top: 14px; right: -34px; transform: rotate(35deg); width: 120px; text-align: center;
    background: linear-gradient(135deg, #ff9a3d, #ff4f9a); color: #fff; font-size: .7rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; padding: .2rem 0; box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}
.ua-note-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .7rem; padding-right: 2.5rem; }
.ua-note-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--g1), var(--g2)); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.ua-note-who { display: flex; flex-direction: column; line-height: 1.2; }
.ua-note-who strong { color: var(--ua-navy); }
.ua-note-who span { font-size: .8rem; color: var(--ua-muted); }
.ua-note-course { margin-left: auto; font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--t-bg); color: var(--t-ink); }
.ua-note-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 2rem; color: var(--ua-text); }

.ua-note-replies { margin-top: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.ua-note-reply { padding: .55rem .8rem; border-radius: 14px; background: #f4f6fb; max-width: 90%; }
.ua-note-reply.is-mine { align-self: flex-end; background: linear-gradient(135deg, #3a2fb0, #6a40d8); color: #fff; }
.ua-note-reply-who { font-size: .74rem; font-weight: 700; opacity: .8; }
.ua-note-reply-text { white-space: pre-wrap; overflow-wrap: anywhere; }

.ua-note-answer { margin-top: .8rem; }
.ua-note-answer summary {
    display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; list-style: none;
    font-weight: 700; font-size: .88rem; color: var(--g2); padding: .35rem .8rem; border-radius: 999px; background: var(--t-bg);
}
.ua-note-answer summary::-webkit-details-marker { display: none; }
.ua-note-answer summary .ua-icon { transition: transform .2s ease; }
.ua-note-answer[open] summary .ua-icon { transform: rotate(90deg); }
.ua-note-answer form { margin-top: .6rem; }

/* Ana sayfa "Son Öğretmen Notu" kartı (2026-10-15): not ekranındaki kartın tıklanabilir kısa hâli */
.ua-latest-note-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.ua-latest-note-all { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .9rem; color: #6a24d6; text-decoration: none; }
.ua-latest-note-all:hover { color: var(--ua-navy); }
.ua-note-preview { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ua-note-preview:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--ua-shadow-hover); }
.ua-note-preview.is-new:hover { box-shadow: 0 0 0 3px var(--t-bg), var(--ua-shadow-hover); }
/* Uzun not 4 satırda kesilir; tamamı not ekranında okunur */
.ua-note-preview .ua-note-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ua-note-preview-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .6rem; font-size: .85rem; color: var(--ua-muted); }
.ua-note-preview-foot > span { display: inline-flex; align-items: center; gap: .3rem; }
.ua-note-preview-go { margin-left: auto; font-weight: 700; color: var(--t-ink); }
.ua-note-preview:hover .ua-note-preview-go .ua-icon { transform: translateX(3px); }
.ua-note-preview-go .ua-icon { transition: transform .2s ease; }
.ua-latest-note-empty { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 575.98px) { .ua-note-course { margin-left: 0; } }

/* =============================================================================
   İSTEK VE ÖNERİLER (2026-10-14) — platform kartları; platform/şube alanı seçime göre (CSS :has, JavaScript yok).
   ============================================================================= */
.ua-platform-grid { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ua-platform-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ua-platform {
    display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; cursor: pointer;
    padding: .9rem .6rem; border-radius: var(--ua-radius-sm); border: 2px solid var(--t-bg); background: var(--ua-surface);
    font-weight: 700; color: var(--t-ink); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ua-platform:hover { border-color: var(--g1); transform: translateY(-2px); }
.ua-platform-icon {
    width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--t-bg); color: var(--t); font-size: 1.25rem;
}
.btn-check:checked + .ua-platform { background: linear-gradient(145deg, var(--g1), var(--g2)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px var(--g2); }
.btn-check:checked + .ua-platform .ua-platform-icon { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-check:focus-visible + .ua-platform { outline: 3px solid var(--g1); outline-offset: 2px; }

/* Seçime göre alan gösterimi (tarayıcı :has desteklemiyorsa ikisi de görünür; sunucu yalnız seçileni kullanır). */
.ua-request-form:has(#tk-platform:checked) .ua-target-branch { display: none; }
.ua-request-form:has(#tk-branch:checked) .ua-target-platform { display: none; }

/* =============================================================================
   TEK KURS: kart tam satırı kaplar; ilerleme çubuğu + özet rakamlar (2026-10-14).
   Çubuk genişliği %5 adımlı sınıflarla verilir: CSP satır içi stile (style="width:..") izin vermez.
   ============================================================================= */
.ua-course.is-wide { padding: 1.3rem 1.5rem; gap: 1.4rem; }
.ua-course.is-wide .ua-ring { width: 104px; height: 104px; }
.ua-course.is-wide .ua-ring-label { font-size: 1.3rem; }
.ua-course.is-wide .ua-course-body { flex: 1; min-width: 0; }
.ua-course.is-wide .ua-course-name { font-size: 1.15rem; }
.ua-course-bar { height: 10px; border-radius: 999px; background: var(--t-bg); overflow: hidden; margin: .7rem 0 .55rem; }
.ua-course-bar-fill {
    display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--g1), var(--g2));
    animation: ua-bar-grow 1.1s cubic-bezier(.2, .8, .2, 1) .3s both;
}
@keyframes ua-bar-grow { from { width: 0; } }
.ua-course-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .88rem; color: var(--ua-muted); }
.ua-course-facts strong { color: var(--ua-navy); }
.ua-bar-0 { width: 0%; }
.ua-bar-5 { width: 5%; }
.ua-bar-10 { width: 10%; }
.ua-bar-15 { width: 15%; }
.ua-bar-20 { width: 20%; }
.ua-bar-25 { width: 25%; }
.ua-bar-30 { width: 30%; }
.ua-bar-35 { width: 35%; }
.ua-bar-40 { width: 40%; }
.ua-bar-45 { width: 45%; }
.ua-bar-50 { width: 50%; }
.ua-bar-55 { width: 55%; }
.ua-bar-60 { width: 60%; }
.ua-bar-65 { width: 65%; }
.ua-bar-70 { width: 70%; }
.ua-bar-75 { width: 75%; }
.ua-bar-80 { width: 80%; }
.ua-bar-85 { width: 85%; }
.ua-bar-90 { width: 90%; }
.ua-bar-95 { width: 95%; }
.ua-bar-100 { width: 100%; }

/* =============================================================================
   EĞİTİM İLERLEMESİ SEKMELERİ (2026-10-15): Devam Eden ve Başlayacak | Biten Kurslar.
   JavaScript yok: gizli radyolar + :checked. Biten kurs kartları soluk çizilir.
   ============================================================================= */
.ua-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.ua-tab-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.ua-tab-bar {
    display: inline-flex; gap: .25rem; padding: 4px; border-radius: 999px;
    background: var(--ua-surface); border: 1px solid var(--ua-border); box-shadow: var(--ua-shadow);
}
.ua-tab {
    display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; user-select: none;
    padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ua-muted);
    transition: background .2s ease, color .2s ease;
}
.ua-tab:hover { color: var(--ua-navy); background: #f1eeff; }
.ua-tab-count {
    min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    font-size: .74rem; background: #eceff5; color: var(--ua-slate, #4f5d78);
}
#courseTabCurrent:checked ~ .ua-tab-head .ua-tab-current,
#courseTabFinished:checked ~ .ua-tab-head .ua-tab-finished {
    color: #fff; background: linear-gradient(135deg, #3a2fb0, #6a40d8); box-shadow: 0 4px 12px rgba(58, 47, 176, .3);
}
#courseTabCurrent:checked ~ .ua-tab-head .ua-tab-current .ua-tab-count,
#courseTabFinished:checked ~ .ua-tab-head .ua-tab-finished .ua-tab-count { background: rgba(255, 255, 255, .25); color: #fff; }
#courseTabCurrent:focus-visible ~ .ua-tab-head .ua-tab-current,
#courseTabFinished:focus-visible ~ .ua-tab-head .ua-tab-finished { outline: 3px solid #6a40d8; outline-offset: 2px; }
.ua-tab-panel { display: none; }
#courseTabCurrent:checked ~ .ua-tab-panel-current,
#courseTabFinished:checked ~ .ua-tab-panel-finished { display: block; animation: ua-rise .35s ease both; }

.ua-course.is-finished { background: #fbfaff; }
.ua-course.is-finished .ua-ring { filter: saturate(.55); }
.ua-course-empty { color: var(--ua-muted); padding: 1.1rem 1.3rem; }
@media (max-width: 575.98px) { .ua-tab { padding: .4rem .7rem; font-size: .82rem; } }

/* ===== Ölçüm Sonuçları ===== */
.ua-measure { margin-bottom: 1rem; border-top: 4px solid var(--t, var(--teal)); }
.ua-measure-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.ua-measure-course { font-size: 1.1rem; font-weight: 800; margin: 0; }
.ua-measure-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.ua-measure-stat { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .95rem; border-radius: 14px; background: var(--t-bg, #eef7f8); }
.ua-measure-label { font-size: .8rem; font-weight: 600; color: var(--ua-muted, #6b7385); }
.ua-measure-value { font-size: 1.5rem; font-weight: 800; color: var(--t-ink, var(--ua-text)); line-height: 1.2; }
.ua-measure-value small, .ua-measure-num small { font-size: .7rem; font-weight: 600; color: var(--ua-muted, #6b7385); }
.ua-measure-delta { font-size: .78rem; font-weight: 700; }
.ua-measure-delta.is-up { color: #0a8a5a; }
.ua-measure-delta.is-down { color: #c2410c; }
.ua-measure-table th { font-size: .78rem; font-weight: 700; color: var(--ua-muted, #6b7385); white-space: nowrap; }
.ua-measure-table td { vertical-align: middle; }
.ua-measure-bar { display: block; width: 100%; min-width: 90px; height: 8px; margin-bottom: .25rem; }
.ua-measure-bar-track { fill: rgba(19, 36, 63, .08); }
.ua-measure-bar-fill { fill: var(--t, var(--teal)); }
.ua-measure-bar.is-rate .ua-measure-bar-fill { fill: #6a40d8; }
.ua-measure-num { font-weight: 700; white-space: nowrap; }
@media (max-width: 420px) { .ua-measure-summary { grid-template-columns: 1fr; } .ua-measure-value { font-size: 1.3rem; } }

/* ===== Geri bildirim ayrıntısı: velinin mesajı + ekibin yanıtları (yazışma yok) ===== */
.ua-feedback-original { padding: .85rem 1rem; border-radius: 14px; background: #f5f6fa; border-left: 4px solid #c8cde0; margin-bottom: 1.1rem; }
.ua-feedback-original-who { font-size: .78rem; font-weight: 700; color: var(--ua-muted, #6b7385); margin-bottom: .3rem; }
.ua-feedback-original-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ua-feedback-replies-title { font-size: .95rem; font-weight: 800; margin: 0 0 .6rem; }

/* ===== Promosyon kodu kartı (2026-10-21) ===== */
.ua-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.1rem 1.25rem; }
.ua-promo + .ua-promo { margin-top: .75rem; }
.ua-promo-main { display: flex; align-items: flex-start; gap: .9rem; min-width: 0; flex: 1 1 280px; }
.ua-promo-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.45rem; font-weight: 800; letter-spacing: .06em; color: var(--ua-navy); overflow-wrap: anywhere; user-select: all; }
.ua-promo-hint { color: var(--ua-muted); font-size: .92rem; margin-top: .2rem; }
.ua-promo-students { color: var(--ua-muted); font-size: .82rem; margin-top: .3rem; }
.ua-promo-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ua-promo-stats > div { display: flex; flex-direction: column; align-items: center; min-width: 72px; }
.ua-promo-num { font-size: 1.6rem; font-weight: 800; color: var(--ua-orange-dark); line-height: 1.1; }
.ua-promo-label { font-size: .75rem; color: var(--ua-muted); text-align: center; }
.ua-promo.is-inactive .ua-promo-code { color: var(--ua-muted); text-decoration: line-through; }

/* DİJİTAL PLATFORMLAR (2026-12-01) */
.ua-pf-info { margin-bottom: 1rem; font-weight: 600; color: #46507a; }
.ua-pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.ua-pf { display: flex; flex-direction: column; gap: .75rem; border-top: 4px solid var(--violet, #8257e5); }
.ua-pf.is-disabled { border-top-color: #c9cfdf; }
.ua-pf.is-disabled .ua-pf-name { color: #6b7391; }
.ua-pf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ua-pf-name { font-size: 1.15rem; font-weight: 800; margin: 0; }
.ua-pf-badge { flex: none; font-size: .78rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; background: #eef0f6; color: #46507a; }
.ua-pf-badge.is-active { background: #e3f6ea; color: #157347; }
.ua-pf-badge.is-wait { background: #fff4e0; color: #8a4b00; }
.ua-pf-badge.is-off { background: #eef0f6; color: #6b7391; }
.ua-pf-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.ua-pf-dates dt { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6b7391; }
.ua-pf-dates dd { margin: 0; font-weight: 700; }
.ua-pf-msg { margin: 0; color: #46507a; font-size: .95rem; }
.ua-pf .btn { margin-top: auto; align-self: flex-start; }
.ua-code-input { letter-spacing: .4em; font-weight: 800; max-width: 14rem; }
