/* ════════════════════════════════════════════════════════════════════════
   Güneşli tema — "CTH Portal — Ekranlar" tasarımı (Öneri C · sıcak, samimi)
   styles.css'in ÜSTÜNE yüklenir: renk/yazı tokenlarını değiştirir, giriş,
   üst bar, alt menü ve yeniden çizilen ekranların bileşenlerini tanımlar.
   Yeniden çizilmeyen ekranlar (sheet'ler, kullanıcılar, formlar) aynı
   tokenlar sayesinde bu temaya uyar.
   ════════════════════════════════════════════════════════════════════════ */

:root {
    --g: #1f7658;
    --gd: #14513c;
    --gl: #e1efe7;
    --sun: #f3c55a;
    --sunl: #fff1c9;
    --coral: #ef795c;
    --corl: #ffe6dd;
    --bg: #fbf6ea;
    --sf: #fffdf8;
    --ink: #253630;
    --mut: #5d6a64;
    --bd: #ece4d2;
    --card-shadow: 0 8px 24px rgba(120, 96, 40, 0.08);

    --primary: var(--g);
    --primary-dark: var(--gd);
    --primary-light: var(--gl);
    --accent-sun: var(--sun);
    --accent-coral: var(--coral);
    --accent-coral-light: var(--corl);
    --surface: var(--sf);
    --background: var(--bg);
    --text-main: var(--ink);
    --text-muted: var(--mut);
    --border: var(--bd);
    --border-strong: #ddd3bd;
    --font-display: 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow-soft: var(--card-shadow);
    --header-height: 76px;
    --nav-height: 70px;
}

* { font-family: 'Nunito', sans-serif; }
.fa-solid, .fa-regular, .fa-brands, .fas, .far, .fab { font-family: "Font Awesome 6 Free"; }
.fa-brands, .fab { font-family: "Font Awesome 6 Brands"; }

body,
#app-view {
    background: var(--bg);
    color: var(--ink);
}

h1, h2, h3, .list-card-title, .stat-value, .sheet-title {
    letter-spacing: -0.02em;
    font-weight: 900;
}

/* ─── Ortak düğmeler ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 800;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
}

.btn-lg { min-height: 56px; font-size: 1rem; }
.btn-primary, .bp { color: #fff; background: var(--g); }
.btn-primary:hover, .bp:hover { background: var(--gd); }
.btn-outline, .bo { color: var(--ink); border: 2px solid var(--bd); background: var(--sf); }
.btn-outline:hover, .bo:hover { color: var(--gd); border-color: #cfe1d6; background: var(--gl); }
.bsun { color: var(--gd); background: var(--sun); }
.bsun:hover { background: #ecb942; }
.bd { color: #9e3737; background: #fbe7e4; }
.bd:hover { background: #f6d4cf; }
.btn-sm, .sb { min-height: 42px; padding: 8px 12px; font-size: 0.78rem; border-radius: 14px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-control {
    min-height: 52px;
    border: 2px solid var(--bd);
    border-radius: 18px;
    background: #fff;
}

.form-control:focus { border-color: var(--g); box-shadow: none; }

/* ─── Giriş / kayıt / parola ──────────────────────────────────────────── */
#login-view {
    display: none;
    min-height: 100dvh;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--gl);
}

#login-view.active { display: flex; }

.auth-frame {
    display: flex;
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    margin: 0 auto;
    flex-direction: column;
    background: var(--gl);
}

.auth-hero {
    position: relative;
    height: 290px;
    flex: 0 0 290px;
    overflow: hidden;
    background: var(--bg);
    transition: height 260ms ease, flex-basis 260ms ease;
}

.auth-brand {
    position: absolute;
    z-index: 2;
    top: calc(26px + env(safe-area-inset-top));
    left: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-brand span { color: var(--ink); font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; }

.auth-sun,
.auth-ring,
.auth-leaf,
.auth-key {
    position: absolute;
    left: 50%;
    transition: all 260ms ease;
}

.auth-sun { top: 50px; width: 190px; height: 190px; margin-left: -95px; border-radius: 50%; background: var(--sun); }
.auth-ring { top: 28px; width: 234px; height: 234px; margin-left: -117px; border: 2px dashed rgba(243, 197, 90, 0.6); border-radius: 50%; }
.auth-leaf { top: 96px; width: 150px; height: 150px; margin-left: -75px; }

.auth-key {
    top: 92px;
    display: none;
    width: 68px;
    height: 68px;
    margin-left: -34px;
    place-items: center;
    color: var(--gd);
    font-size: 1.6rem;
    border-radius: 50%;
    background: var(--sf);
    box-shadow: 0 8px 20px rgba(120, 96, 40, 0.18);
}

.auth-hero-title { position: absolute; top: 92px; left: 22px; display: none; max-width: 190px; }
.auth-hill { position: absolute; right: 0; bottom: 0; left: 0; height: 40px; background: var(--gl); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

/* Kayıt: güneş sağa kayar, başlık sahneye çıkar. */
#login-view[data-auth-mode="register"] .auth-hero { height: 200px; flex-basis: 200px; }
#login-view[data-auth-mode="register"] .auth-sun { top: 30px; left: auto; right: -30px; width: 170px; height: 170px; margin-left: 0; }
#login-view[data-auth-mode="register"] .auth-ring { opacity: 0; }
#login-view[data-auth-mode="register"] .auth-leaf { top: 66px; left: auto; right: 18px; width: 120px; height: 120px; margin-left: 0; }
#login-view[data-auth-mode="register"] .auth-hero-title { display: block; }
#login-view[data-auth-mode="register"] .auth-hill { height: 34px; }

/* Parolamı unuttum: küçük güneş + anahtar. */
#login-view[data-auth-mode="forgot"] .auth-hero { height: 230px; flex-basis: 230px; }
#login-view[data-auth-mode="forgot"] .auth-sun { top: 58px; width: 136px; height: 136px; margin-left: -68px; }
#login-view[data-auth-mode="forgot"] .auth-ring,
#login-view[data-auth-mode="forgot"] .auth-leaf { opacity: 0; }
#login-view[data-auth-mode="forgot"] .auth-key { display: grid; }
#login-view[data-auth-mode="forgot"] .auth-hill { height: 34px; }

.auth-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
}

.auth-card {
    padding: 24px 20px 18px;
    text-align: left;
    border: 0;
    border-radius: 28px;
    background: var(--sf);
    box-shadow: 0 10px 30px rgba(31, 118, 88, 0.12);
}

.auth-kicker { color: var(--g); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.14em; }

.auth-title {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.auth-hero-title .auth-title { font-size: 1.7rem; }
.auth-sub { margin-top: 4px; color: var(--mut); font-size: 0.86rem; font-weight: 600; }
.auth-sub-lead { margin: 0 0 16px; }
.auth-form { margin-top: 18px; }
#register-panel .auth-form { margin-top: 0; }

.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 0.8rem; font-weight: 800; }

.inp {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 8px 0 18px;
    color: var(--mut);
    border: 2px solid var(--bd);
    border-radius: 20px;
    background: #fff;
    transition: border-color 160ms ease;
}

.inp:focus-within { border-color: var(--g); }

.inp input {
    flex: 1;
    min-width: 0;
    height: 100%;
    color: var(--ink);
    font-size: 0.92rem;
    border: 0;
    outline: none;
    background: transparent;
}

.inp-eye {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--mut);
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.inp-eye:hover { color: var(--g); background: var(--gl); }

.auth-note {
    display: flex;
    gap: 10px;
    margin: 2px 0 16px;
    padding: 12px 14px;
    color: #2f5a49;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 16px;
    background: var(--gl);
}

.auth-note i { margin-top: 2px; }
.auth-submit { width: 100%; }

.auth-success {
    position: relative;
    margin-top: 14px;
    padding: 12px 14px 12px 40px;
    color: var(--gd);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 16px;
    background: var(--sunl);
}

.auth-success::before {
    content: "\f058";
    position: absolute;
    top: 12px;
    left: 14px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.auth-card .alert { margin-top: 12px; border-radius: 16px; }

.auth-links { display: flex; justify-content: space-between; margin-top: 12px; }

.auth-links button,
.auth-switch button {
    min-height: 40px;
    padding: 0;
    color: var(--g);
    font-size: 0.82rem;
    font-weight: 800;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.auth-links button:hover,
.auth-switch button:hover { text-decoration: underline; }

.auth-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--mut);
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-switch button { font-weight: 900; }

.auth-powered {
    align-self: center;
    margin-top: auto;
    padding-top: 18px;
    color: #4e6a5e;
    font-size: 0.72rem;
    font-weight: 700;
}

.auth-powered img { width: 16px; height: 16px; }

/* Geniş ekranda giriş kartı ortada, sahne üstte kalır. */
@media (min-width: 780px) {
    #login-view { align-items: center; padding: 28px; }

    .auth-frame {
        min-height: 0;
        overflow: hidden;
        border-radius: 36px;
        box-shadow: 0 24px 60px rgba(31, 118, 88, 0.16);
    }
}

/* ─── Geçici parola ekranı ────────────────────────────────────────────── */
#forced-password-view { background: var(--bg); }

/* ─── Üst bar ─────────────────────────────────────────────────────────── */
.app-header {
    height: calc(var(--header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 18px 0;
    border: 0;
    background: rgba(251, 246, 234, 0.92);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-leading { display: flex; min-width: 0; align-items: center; gap: 10px; }

.app-header .header-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    padding: 0;
    color: var(--gd);
    font-size: 1rem;
    font-weight: 900;
    border: 0;
    border-radius: 50%;
    background: var(--sun);
    cursor: pointer;
    transition: transform 160ms ease;
}

.app-header .header-avatar:hover { transform: scale(1.05); }
.header-copy { display: flex; min-width: 0; flex-direction: column; }
.header-copy span { overflow: hidden; color: var(--mut); font-size: 0.74rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.header-copy strong { overflow: hidden; color: var(--ink); font-size: 1.05rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }

.header-account { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; }

.header-cta {
    min-height: 46px;
    padding: 10px 16px;
    color: var(--gd);
    border-radius: 999px;
    background: var(--sun);
    white-space: nowrap;
}

.header-cta[hidden] { display: none; }

.notification-bell,
.ib {
    position: relative;
    display: grid;
    width: 46px;
    min-width: 46px;
    height: 46px;
    place-items: center;
    color: var(--ink);
    font-size: 1.1rem;
    border: 0;
    border-radius: 50%;
    background: var(--sf);
    box-shadow: 0 4px 14px rgba(120, 96, 40, 0.1);
    cursor: pointer;
}

.notification-bell:hover { color: var(--g); background: var(--sf); }

.notification-dot {
    top: 6px;
    right: 6px;
    min-width: 16px;
    line-height: 14px;
    border: 2px solid #fff;
    background: var(--coral);
}

.ib-soft { color: var(--gd); background: var(--gl); box-shadow: none; }

@media (min-width: 780px) {
    .app-header { top: 10px; border: 0; border-radius: 26px; box-shadow: 0 8px 24px rgba(120, 96, 40, 0.08); }
}

/* ─── Alt menü: koyu hap ──────────────────────────────────────────────── */
.bottom-nav {
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    width: min(calc(100% - 36px), 560px);
    height: var(--nav-height);
    padding: 8px;
    gap: 4px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 14px 30px rgba(37, 54, 48, 0.25);
    transform: translateX(-50%);
}

.bottom-nav .nav-item {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 100%;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transition: flex 220ms ease, background 220ms ease, color 220ms ease;
}

.bottom-nav .nav-item i { font-size: 1.15rem; transform: none; }
.bottom-nav .nav-item:hover { color: #fff; }
.bottom-nav .nav-item.active { flex: 1.6; color: var(--gd); background: var(--sun); }
.bottom-nav .nav-item.active i { transform: none; }
.bottom-nav .nav-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Çok sekmede (yönetim) yalnızca etkin sekme etiket gösterir. */
.bottom-nav.is-compact .nav-item .nav-label { display: none; }
.bottom-nav.is-compact .nav-item { padding: 0 4px; }
.bottom-nav.is-compact .nav-item.active { flex: 0 0 auto; padding: 0 14px; }
.bottom-nav.is-compact .nav-item.active .nav-label { display: inline; }

/* ─── İçerik alanı ────────────────────────────────────────────────────── */
.app-content {
    padding: 12px 18px 32px;
    margin-bottom: calc(var(--nav-height) + 40px + env(safe-area-inset-bottom));
}

body[data-role="employee"] .admin-only { display: none !important; }

.sec { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 12px; }
.sec h2 { margin: 0; font-size: 1.1rem; font-weight: 900; }

.sec-link {
    padding: 6px 0;
    color: var(--g);
    font-size: 0.8rem;
    font-weight: 800;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.card {
    padding: 18px;
    border-radius: 26px;
    background: var(--sf);
    box-shadow: var(--card-shadow);
}

.card-empty, .day-empty { color: var(--mut); font-size: 0.82rem; font-weight: 700; }
.day-empty { padding: 4px 2px 8px; }
.grow { flex: 1; min-width: 0; }
.grow > strong { display: block; font-size: 0.92rem; font-weight: 800; }
.grow > small { display: block; margin-top: 2px; color: var(--mut); font-size: 0.74rem; font-weight: 600; }
.sub { margin-top: 4px; color: var(--mut); font-size: 0.8rem; font-weight: 600; }

/* Sarı/yeşil etiketler */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; border-radius: 999px; }
.t-w { color: #7a5410; background: var(--sunl); }
.t-p { color: #9a3f2a; background: var(--corl); }
.t-d { color: var(--gd); background: var(--gl); }

/* Zaman bloğu */
.tm {
    display: flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #7a5410;
    font-weight: 900;
    border-radius: 18px;
    background: var(--sunl);
}

.tm b { font-size: 0.95rem; }
.tm small { font-size: 0.58rem; font-weight: 800; }
.tm i { font-size: 1.05rem; }
.tm-live { color: #9a3f2a; background: var(--corl); }
.tm-done { color: var(--gd); background: var(--gl); }

/* Liste satırları */
.it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--bd); }
.it:first-child { padding-top: 0; border-top: 0; }
.it:last-child { padding-bottom: 0; }

/* Yeşil kahraman kartı (halka + metin) */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    color: #fff;
    border-radius: 28px;
    background: var(--g);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(243, 197, 90, 0.28);
}

.hero-ring { position: relative; z-index: 1; flex: 0 0 auto; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { font-size: 1.32rem; font-weight: 900; line-height: 1.15; }
.hero-copy p { margin-top: 6px; color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; font-weight: 600; }

/* Hızlı işlemler */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.qa-card {
    display: flex;
    min-height: 96px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    text-align: left;
    border: 0;
    border-radius: 22px;
    background: var(--sf);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: transform 160ms ease;
}

.qa-card:hover { transform: translateY(-2px); }
.qa-t { font-size: 0.86rem; font-weight: 800; }
.qa-card small { display: block; margin-top: -6px; color: var(--mut); font-size: 0.7rem; font-weight: 700; }
.qa-i { display: grid; width: 40px; height: 40px; place-items: center; font-size: 1.05rem; border-radius: 14px; }
.qa-green { color: #fff; background: var(--g); }
.qa-sun { color: #7a5410; background: var(--sun); }
.qa-coral { color: #9a3f2a; background: var(--corl); }
.qa-mint { color: var(--gd); background: var(--gl); }

/* Gün başlıkları */
.day { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 0.95rem; font-weight: 900; }
.day span { padding: 3px 10px; color: var(--mut); font-size: 0.7rem; font-weight: 800; border-radius: 999px; background: var(--sf); }

/* Hafta şeridi */
.wk-head { display: flex; align-items: center; justify-content: space-between; }
.wk-head span { font-size: 0.95rem; font-weight: 900; text-transform: capitalize; }
.wk-head small { color: var(--mut); font-size: 0.76rem; font-weight: 700; }
.wk-head small { display: inline-flex; align-items: center; gap: 4px; }
.wk-today { padding: 0; color: var(--g); font-size: 0.76rem; font-weight: 900; border: 0; background: transparent; cursor: pointer; }
.wk-today:hover { text-decoration: underline; }

/* Hafta şeridi + iki yanda önceki/sonraki hafta okları */
.wk-nav { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.wk-nav .wk { flex: 1; min-width: 0; margin-top: 0; }

.wk-arrow {
    display: grid;
    width: 30px;
    height: 68px;
    flex: 0 0 30px;
    place-items: center;
    color: var(--gd);
    font-size: 0.85rem;
    border: 0;
    border-radius: 14px;
    background: var(--gl);
    cursor: pointer;
}

.wk-arrow:hover { color: #fff; background: var(--g); }
.wk { display: flex; gap: 8px; margin-top: 14px; }
.wk-nav .wk { gap: 4px; }
.wk-nav .wd { border-radius: 16px; }
.wd i.none { visibility: hidden; }
.wd.is-today:not(.on) { box-shadow: inset 0 0 0 2px var(--sun); }

/* Seçili gün / Diğer açık işler / Tamamlananlar arasında ayırıcı çizgi */
.task-section + .task-section {
    margin-top: 26px;
    padding-top: 4px;
    border-top: 2px dashed #ddd3bd;
}

.task-section .day { margin-top: 18px; }
.task-section:first-of-type .day { margin-top: 22px; }

/* Arşiv: ay ve yıl yan yana */
.archive-period { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.archive-period select { appearance: auto; }

.wd {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 68px;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--mut);
    font-size: 0.68rem;
    font-weight: 800;
    border: 0;
    border-radius: 20px;
    background: var(--sf);
    cursor: pointer;
}

.wd b { color: var(--ink); font-size: 1.05rem; font-weight: 900; }
.wd i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.wd.on { color: #fff; background: var(--g); }
.wd.on b { color: #fff; }
.wd.on i { background: var(--sun); }

/* Görev kartı */
.tc {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 24px;
    background: var(--sf);
    box-shadow: var(--card-shadow);
}

.tc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tc-head strong { font-size: 0.92rem; font-weight: 800; }
.tc .grow > small { margin-top: 2px; }

.mini { display: flex; margin-top: 10px; }

.mini span {
    display: grid;
    width: 26px;
    height: 26px;
    margin-left: -6px;
    place-items: center;
    color: var(--gd);
    font-size: 0.6rem;
    font-weight: 900;
    border: 2px solid var(--sf);
    border-radius: 50%;
    background: var(--sun);
}

.mini span:first-child { margin-left: 0; }
.mini .mini-cust { color: #9a3f2a; background: var(--corl); }

.meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--mut); font-size: 0.76rem; font-weight: 700; }

.note {
    margin-top: 8px;
    padding: 10px 12px;
    color: #4f5c56;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 14px;
    background: #f7f1e3;
}

.note-done { background: var(--gl); }

.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--bd); }
.acts:empty { display: none; }

/* İş fotoğrafları */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.th {
    display: grid;
    width: 56px;
    height: 56px;
    padding: 0;
    place-items: center;
    overflow: hidden;
    color: #7e9a8d;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3ecdb, var(--gl));
    cursor: zoom-in;
}

.th img { width: 100%; height: 100%; object-fit: cover; }

/* Müşteri değerlendirmesi (yönetici görev kartında) */
.review-box { margin-top: 12px; padding: 12px; border-radius: 16px; background: #fff8e3; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-stars { display: flex; gap: 2px; color: #e9a33a; font-size: 0.9rem; }
.review-top b { color: #7a5410; font-size: 0.86rem; }
.review-text { margin-top: 6px; color: #514a3d; font-size: 0.76rem; font-weight: 600; }
.review-meta { margin-top: 4px; color: #7d7566; font-size: 0.66rem; font-weight: 700; }
.review-box .review-attachment-button { margin-top: 8px; }

/* ─── Çalışan: Puanım ─────────────────────────────────────────────────── */
.score-card {
    position: relative;
    padding: 30px 20px 26px;
    text-align: center;
    border-radius: 30px;
    background: var(--sun);
    overflow: hidden;
}

.score-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.35);
}

.score-card > * { position: relative; }
.score-kicker { color: #6b4a0c; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; }
.score-value { margin-top: 6px; color: var(--gd); font-size: 4rem; font-weight: 900; line-height: 1; }
.score-stars { display: flex; justify-content: center; gap: 6px; margin-top: 10px; color: var(--gd); font-size: 1.6rem; }
.score-count { display: inline-block; margin-top: 14px; padding: 6px 14px; color: var(--gd); font-size: 0.8rem; font-weight: 900; border-radius: 999px; background: var(--sf); }

.cheer-card { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.cheer-i { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: var(--gd); font-size: 1.3rem; border-radius: 50%; background: var(--gl); }

/* ─── Müşteri: İşlerim ────────────────────────────────────────────────── */
.visit { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 28px; background: var(--sun); }

.visit-date {
    display: flex;
    width: 72px;
    height: 80px;
    flex: 0 0 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gd);
    text-align: center;
    border-radius: 22px;
    background: var(--sf);
}

.visit-date span { font-size: 0.66rem; font-weight: 800; }
.visit-date span:first-child { font-size: 0.7rem; font-weight: 900; }
.visit-date b { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.visit-date i { margin-bottom: 4px; font-size: 1.3rem; }
.visit-copy { min-width: 0; color: #3d2d06; }
.visit-kicker { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; }
.visit-title { margin-top: 4px; font-size: 1.25rem; font-weight: 900; }
.visit-meta { margin-top: 4px; font-size: 0.8rem; font-weight: 700; }

.rate-card { margin-bottom: 12px; }
.rate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rate-head strong { font-size: 0.95rem; font-weight: 900; }
.rate-card .thumbs { margin-top: 12px; }
.rate-card .th { width: 52px; height: 52px; }

.bigstars { display: flex; justify-content: space-between; margin: 16px 4px; }

.bigstars button {
    padding: 0;
    color: #e6dfcd;
    font-size: 2.4rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 120ms ease, transform 120ms ease;
}

/* Fareyle üzerine gelinen yıldız ve solundakiler yanar. */
.bigstars:hover button { color: #e9a33a; }
.bigstars button:hover ~ button { color: #e6dfcd; }
.bigstars button:hover { transform: scale(1.08); }

/* ─── Müşteri: Bitmiş işlerim ─────────────────────────────────────────── */
.doc-summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: #fff; border-radius: 26px; background: var(--g); }
.doc-summary-i { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: var(--gd); font-size: 1.3rem; border-radius: 50%; background: var(--sun); }
.doc-summary-title { font-size: 1.05rem; font-weight: 900; }
.doc-summary p { margin-top: 2px; color: rgba(255, 255, 255, 0.82); font-size: 0.78rem; font-weight: 600; }

.doc { display: flex; gap: 14px; margin-bottom: 12px; padding: 16px; border-radius: 24px; background: var(--sf); box-shadow: var(--card-shadow); }
.di { display: grid; width: 52px; height: 60px; flex: 0 0 52px; place-items: center; color: #7a5410; font-size: 1.3rem; border-radius: 16px 16px 16px 6px; background: var(--sunl); }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.doc-head strong { font-size: 0.92rem; font-weight: 800; }
.amt { color: var(--gd); font-size: 1.05rem; font-weight: 900; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; color: var(--gd); font-size: 0.7rem; font-weight: 800; border-radius: 999px; background: var(--gl); }
.doc-note { margin-top: 8px; color: var(--mut); font-size: 0.76rem; font-weight: 600; }
.doc-btn { margin-top: 12px; min-height: 44px; font-size: 0.82rem; border-radius: 14px; }

/* Yükleme / boş durum renkleri */
.loading-state, .empty-state { color: var(--mut); }
.empty-state i { color: #cbbf9f; }

@media (max-width: 350px) {
    .app-content { padding-right: 12px; padding-left: 12px; }
    .hero { padding: 18px; gap: 12px; }
    .wk { gap: 5px; }
    .bigstars button { font-size: 2rem; }
    .header-cta { padding: 10px 12px; }
}
