/* =====================================================================
   Agrynea Saha — tek CSS dosyası.
   Mevcut tasarım dilinden (agro-chrome / MainLayout / HomePersonalDashboard) alındı.
   Eski Android için: backdrop-filter, büyük blur gölgeler ve sürekli animasyon yok.
   ===================================================================== */

@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-500.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/poppins-600.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/poppins-700.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-700.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/inter-800.woff') format('woff'); }

:root {
    --agro-primary: #2e7d32;
    --agro-primary-dark: #1b5e20;
    --agro-primary-mid: #388e3c;
    --agro-primary-soft: #e8f5e9;
    --agro-primary-soft-border: #c8e6c9;
    --agro-teal: #00695c;
    --agro-teal-soft: #e0f2f1;
    --agro-ink: #1a1a1a;
    --agro-ink-strong: #14281a;
    --agro-muted: #5c6b61;
    --agro-muted-strong: #64748b;
    --agro-slate: #334155;
    --agro-bg: #f4f7f6;
    --agro-surface: #ffffff;
    --agro-surface-tint: #f4faf6;
    --agro-surface-soft: #f4f7f5;
    --agro-surface-panel: #fafcfa;
    --agro-border: #e3ebe4;
    --agro-border-soft: #edf2ee;
    --agro-danger: #c62828;
    --agro-danger-soft: #ffebee;
    --agro-amber: #ef6c00;
    --agro-amber-soft: #fff8e1;

    --sidebar-bg: #061f18;
    --sidebar-bg-2: #0a2a20;
    --sidebar-text: rgba(226, 232, 240, 0.86);
    --sidebar-text-strong: #ffffff;
    --sidebar-active: rgba(129, 199, 132, 0.16);
    --sidebar-accent: #81c784;
    --topbar-bg: linear-gradient(128deg, #0b2e24 0%, #0f4a3a 42%, #0a3048 100%);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 22px;
    --shadow-shell: 0 4px 24px rgba(0, 0, 0, 0.03);
    --shadow-hero: 0 12px 40px rgba(46, 125, 50, 0.07);

    --sidebar-w: 268px;
    --topbar-h: 58px;
    --gutter: 12px;

    --font-body: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-title: 'Inter', 'Poppins', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--agro-bg);
    color: var(--agro-ink);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; margin: 0; color: var(--agro-ink-strong); }
p { margin: 0; }
a { color: var(--agro-primary); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }

.ico { flex-shrink: 0; }
.mt-4 { margin-top: 1rem; }

/* ---------------------------------------------------------------------
   Kabuk: sidebar + topbar
   --------------------------------------------------------------------- */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.app-shell { min-height: 100vh; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    max-width: 86vw;
    display: flex;
    flex-direction: column;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.18s ease-out;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    will-change: transform;
}

.nav-toggle:checked ~ .app-shell .sidebar { transform: none; }

.scrim {
    position: fixed;
    inset: 0;
    background: rgba(2, 12, 9, 0.48);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out;
}

.nav-toggle:checked ~ .app-shell .scrim { opacity: 1; pointer-events: auto; }

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar__brand-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sidebar__title { color: var(--sidebar-text-strong); font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.sidebar__subtitle { color: rgba(184, 240, 216, 0.72); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.nav { flex: 1 1 auto; overflow-y: auto; padding: 10px 10px 16px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.nav-link,
.nav-group__title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--sidebar-text);
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    user-select: none;
}

.nav-link:active, .nav-group__title:active { background: rgba(255, 255, 255, 0.06); }

.nav-link.is-active {
    background: var(--sidebar-active);
    color: var(--sidebar-text-strong);
    box-shadow: inset 3px 0 0 var(--sidebar-accent);
}

.nav-link .ico, .nav-group__title .ico { color: rgba(167, 243, 208, 0.82); }
.nav-link.is-active .ico { color: var(--sidebar-accent); }

.nav-link__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-group { margin-top: 6px; }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group__title { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(184, 240, 216, 0.78); }
.nav-group__chevron { transition: transform 0.15s ease; opacity: 0.7; }
.nav-group[open] .nav-group__chevron { transform: rotate(180deg); }
.nav-group__items { padding: 2px 0 6px 10px; }

.nav-link--sub { min-height: 44px; font-weight: 500; font-size: 0.85rem; }

.nav-ext { display: inline-flex; align-items: center; color: rgba(184, 240, 216, 0.5); }

.sidebar__foot {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar__note { font-size: 0.7rem; color: rgba(184, 240, 216, 0.55); font-weight: 600; }

.full-app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main { min-height: 100vh; display: flex; flex-direction: column; min-width: 0; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: calc(var(--topbar-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 10px 0 6px;
    background: #0f4a3a;
    background: var(--topbar-bg);
    color: #fff;
}

.topbar__spacer { flex: 1; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.icon-btn:active { background: rgba(255, 255, 255, 0.12); }
.icon-btn--ghost { color: var(--sidebar-text); }

.campus-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 52vw;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 600;
}

.campus-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #81c784; flex-shrink: 0; }
.campus-pill__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
}

/* Masaüstü: sabit sidebar */
@media (min-width: 1024px) {
    :root { --gutter: 24px; }
    .sidebar { transform: none; transition: none; }
    .scrim, .menu-btn, .sidebar__close { display: none; }
    .main { margin-left: var(--sidebar-w); }
    .topbar { padding-left: 20px; padding-right: 20px; }
    .content { padding-top: 24px; }
}

/* ---------------------------------------------------------------------
   Kullanıcı menüsü (<details>)
   --------------------------------------------------------------------- */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker { display: none; }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43a047, #1b5e20);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.avatar--lg { width: 46px; height: 46px; font-size: 0.95rem; border-color: var(--agro-primary-soft-border); }

.user-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 270px;
    max-width: calc(100vw - 20px);
    background: #fff;
    color: var(--agro-ink);
    border-radius: 16px;
    border: 1px solid var(--agro-border);
    box-shadow: 0 16px 40px rgba(15, 40, 30, 0.18);
    padding: 8px;
    z-index: 50;
}

.user-menu__head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; border-bottom: 1px solid var(--agro-border-soft); }
.user-menu__who { display: flex; flex-direction: column; min-width: 0; }
.user-menu__who strong { font-size: 0.9rem; color: var(--agro-ink-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu__who span { font-size: 0.75rem; color: var(--agro-muted); }

.user-menu__section { padding: 10px 10px 6px; }
.user-menu__label { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--agro-muted-strong); margin-bottom: 6px; }

.user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    background: none;
    border: 0;
    color: var(--agro-slate);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
}

.user-menu__item:active { background: var(--agro-surface-soft); }
.user-menu__item--danger { color: var(--agro-danger); }
.user-menu__logout { margin: 0; }

.lang-row { display: flex; gap: 6px; flex-wrap: wrap; }

.lang-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--agro-border);
    background: var(--agro-surface-soft);
    color: var(--agro-slate);
    font-size: 0.75rem;
    font-weight: 700;
}

.lang-chip.is-active { background: var(--agro-primary); border-color: var(--agro-primary); color: #fff; }

/* ---------------------------------------------------------------------
   Ortak sayfa parçaları (agro-chrome ile aynı dil)
   --------------------------------------------------------------------- */
.page-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--agro-border);
    background: linear-gradient(135deg, var(--agro-surface) 0%, var(--agro-surface-tint) 100%);
    box-shadow: var(--shadow-hero);
}

@media (min-width: 768px) {
    .page-hero { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 1.75rem 2rem; }
}

.page-hero__left { min-width: 0; }

.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--agro-primary-soft);
    color: var(--agro-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.page-hero__eyebrow { display: block; font-size: 0.74rem; font-weight: 700; color: #558b2f; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.page-hero__title { font-family: var(--font-body); font-weight: 700; font-size: 1.35rem; line-height: 1.25; color: var(--agro-ink-strong); margin-bottom: 0.5rem; }

@media (min-width: 768px) { .page-hero__title { font-size: 1.6rem; } }

.page-hero__meta { display: flex; align-items: center; gap: 6px; color: var(--agro-muted); margin-top: 0.4rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.chip--role { background: rgba(46, 125, 50, 0.12); color: var(--agro-primary-dark); }

.summary-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--agro-surface-soft);
    border: 1px solid #e2ebe4;
    color: var(--agro-slate);
    font-size: 0.8rem;
    font-weight: 700;
}

.summary-chip--primary { background: var(--agro-primary-soft); border-color: var(--agro-primary-soft-border); color: var(--agro-primary); }
.summary-chip--success { background: #f1f8e9; border-color: #dcedc8; color: #558b2f; }
.summary-chip--amber { background: var(--agro-amber-soft); border-color: #ffe082; color: var(--agro-amber); }

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--agro-border-soft);
    background: var(--agro-surface);
    padding: 1.1rem 1.1rem 1.2rem;
    box-shadow: var(--shadow-shell);
    min-width: 0;
}

@media (min-width: 768px) { .card { padding: 1.25rem 1.35rem; } }

.card__title { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--agro-ink-strong); margin-bottom: 0.8rem; }
.card__subtitle { display: block; color: var(--agro-muted-strong); font-weight: 600; font-size: 0.78rem; margin-bottom: 0.5rem; }

.grid { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); }

@media (min-width: 900px) {
    .grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.1rem; }
}

/* Performans seviyesi */
.tier { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: 16px; }
.tier__label { font-weight: 700; font-size: 0.98rem; }
.tier__sub { font-size: 0.8rem; color: var(--agro-muted-strong); font-weight: 600; }
.tier--top { background: #e8f5e9; color: #1b5e20; }
.tier--above { background: #e3f2fd; color: #1565c0; }
.tier--average { background: #f5f5f5; color: #546e7a; }
.tier--below { background: #fff3e0; color: #e65100; }

.stat-list { display: flex; flex-direction: column; }
.stat-list__row { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; color: var(--agro-slate); padding: 0.5rem 0; border-bottom: 1px solid #f1f5f9; }
.stat-list__row:last-child { border-bottom: 0; }
.stat-list__row strong { color: var(--agro-primary-dark); }

.op-list { display: flex; flex-direction: column; gap: 0.5rem; }
.op { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 14px; border: 1px solid var(--agro-border-soft); background: var(--agro-surface-panel); }
.op__main { min-width: 0; }
.op__job { display: block; font-weight: 700; color: #1e293b; font-size: 0.88rem; }
.op__loc { display: block; font-size: 0.75rem; color: var(--agro-muted-strong); margin-top: 0.1rem; }
.op__meta { text-align: right; flex-shrink: 0; font-weight: 700; color: var(--agro-primary); }
.op__time { display: block; font-size: 0.72rem; color: #94a3b8; font-weight: 600; margin-top: 0.1rem; }

.empty-inline { display: flex; align-items: center; gap: 0.55rem; color: var(--agro-muted-strong); padding: 0.4rem 0; }

.punch-list { display: flex; flex-direction: column; gap: 0.5rem; }
.punch { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.75rem; border-radius: 12px; background: #f8fafc; border: 1px solid var(--agro-border-soft); }
.punch__label { font-weight: 700; color: #1e293b; flex: 1; }
.punch__time { font-size: 0.8rem; color: var(--agro-muted-strong); font-weight: 600; }

.day-list { display: flex; flex-direction: column; }
.day-list__row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid #f1f5f9; font-size: 0.84rem; }
.day-list__row:last-child { border-bottom: 0; }
.day-list--compact .day-list__row { grid-template-columns: 1fr auto; }
.day-list__date { font-weight: 700; color: #1e293b; }
.day-list__time { color: var(--agro-primary); font-weight: 700; }
.day-list__count { color: #94a3b8; font-size: 0.75rem; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--agro-border);
    background: var(--agro-surface-panel);
    color: var(--agro-slate);
    font-weight: 600;
    font-size: 0.84rem;
}

.quick-link__icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--agro-primary-soft); color: var(--agro-primary); flex-shrink: 0; }
.quick-link__text { flex: 1; min-width: 0; }
.quick-link__ext { color: #94a3b8; }

/* ---------------------------------------------------------------------
   Butonlar / uyarılar / formlar
   --------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary { background: linear-gradient(135deg, var(--agro-primary) 0%, var(--agro-primary-mid) 100%); color: #fff; box-shadow: 0 6px 18px rgba(46, 125, 50, 0.22); }
.btn--primary:active { filter: brightness(0.95); }
.btn--outline { background: #fff; border-color: var(--agro-primary-soft-border); color: var(--agro-primary); }
.btn--block { width: 100%; }
.btn--lg { min-height: 50px; font-size: 0.95rem; border-radius: 14px; }
.btn[disabled], .btn.is-busy { opacity: 0.7; pointer-events: none; }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 0.75rem 0.9rem; border-radius: 12px; font-weight: 600; font-size: 0.84rem; }
.alert--error { background: var(--agro-danger-soft); color: var(--agro-danger); border: 1px solid #ffcdd2; }

.field-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--agro-slate); margin: 0 0 6px 2px; }

.field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #d5e0d8;
    background: #fff;
}

.field:focus-within { border-color: var(--agro-primary); box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.14); }
.field__icon { color: #8aa192; }
.field__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.field-error { display: block; color: var(--agro-danger); font-size: 0.75rem; margin: 4px 0 0 4px; }
.validation-message { color: var(--agro-danger); font-size: 0.75rem; }

.check { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 18px; font-size: 0.84rem; color: var(--agro-slate); font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--agro-primary); }

/* ---------------------------------------------------------------------
   Giriş ekranı (login-auth.css sadeleştirilmiş)
   --------------------------------------------------------------------- */
.auth-scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px calc(20px + env(safe-area-inset-bottom, 0px));
    background: #0b2e24;
    background: linear-gradient(150deg, #071f18 0%, #0f4a3a 55%, #0a3048 100%);
}

.login-shell {
    display: flex;
    width: 100%;
    max-width: 980px;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.login-brand {
    display: none;
    flex: 1 1 46%;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 48px 44px;
    color: rgba(226, 232, 240, 0.9);
    background: linear-gradient(160deg, #0a2a20 0%, #0f4a3a 60%, #0b3a46 100%);
}

.login-brand__eyebrow { color: #a7f3d0; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin-top: 8px; }
.login-brand__title { color: #fff; font-size: 1.9rem; line-height: 1.2; }
.login-brand__lead { color: rgba(226, 232, 240, 0.78); font-size: 0.92rem; max-width: 380px; }
.login-brand__features { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 10px; }
.login-brand__features li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; }
.login-brand__features .ico { color: #81c784; }

.login-panel { flex: 1 1 54%; padding: 22px 20px 20px; min-width: 0; }

.login-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.login-panel__mobile-brand { display: flex; align-items: center; gap: 10px; }
.login-panel__mobile-eyebrow { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--agro-ink-strong); }
.login-panel__mobile-sub { font-size: 0.7rem; color: var(--agro-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.lang-row--login .lang-chip { min-width: 36px; height: 28px; padding: 0 8px; font-size: 0.7rem; }

.login-panel__head { margin-bottom: 16px; }
.login-panel__eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--agro-primary); margin-bottom: 4px; }
.login-panel__title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; }
.login-panel__subtitle { color: var(--agro-muted); font-size: 0.86rem; margin-top: 2px; }

.login-form { display: block; }
.login-form .field + .field-error, .login-form .field-label { margin-top: 12px; }
.login-form .alert { margin-bottom: 12px; }

.login-panel .alert { margin-bottom: 14px; }
.login-panel__links { text-align: center; margin-top: 14px; font-size: 0.84rem; font-weight: 600; }
.login-panel__footer { text-align: center; color: #94a3b8; font-size: 0.74rem; margin-top: 18px; }

@media (min-width: 860px) {
    .login-brand { display: flex; }
    .login-panel { padding: 40px 44px 32px; }
    .login-panel__mobile-brand { visibility: hidden; }
}

/* ---------------------------------------------------------------------
   Durum sayfaları
   --------------------------------------------------------------------- */
.state-page {
    max-width: 460px;
    margin: 8vh auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 22px;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--agro-border);
    box-shadow: var(--shadow-hero);
}

.state-page--standalone { margin-top: 0; }
.state-page h1 { font-size: 1.25rem; }
.state-page p { color: var(--agro-muted); }
.state-page__code { font-family: monospace; font-size: 0.75rem; color: #94a3b8; }
.state-page__icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--agro-primary-soft); color: var(--agro-primary); }
.state-page__icon--warn { background: var(--agro-amber-soft); color: var(--agro-amber); }

/* ---------------------------------------------------------------------
   Marka işareti (brand-mark.css'ten)
   --------------------------------------------------------------------- */
.brand-mark { --brand-size: 44px; width: var(--brand-size); height: var(--brand-size); display: inline-flex; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-mark .bm-glow { fill: rgba(52, 211, 153, 0.09); }
.brand-mark .bm-ring, .brand-mark .bm-spark, .brand-mark .bm-arch { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .bm-ring { stroke: rgba(232, 255, 242, 0.9); stroke-width: 1.35; }
.brand-mark .bm-spark { stroke: rgba(236, 255, 245, 0.78); stroke-width: 1.1; }
.brand-mark .bm-arch { stroke: rgba(236, 255, 245, 0.88); stroke-width: 1.1; }
.brand-mark .bm-a { fill: #ffffff; stroke: rgba(215, 255, 233, 0.92); stroke-width: 0.5; stroke-linejoin: round; }
.brand-mark .bm-window { fill: rgba(4, 40, 24, 0.94); }
.brand-mark .bm-line { fill: none; stroke: rgba(190, 255, 219, 0.68); stroke-width: 1; stroke-linecap: round; }
.brand-mark .bm-leaf { fill: #8cffc3; stroke: rgba(3, 53, 31, 0.48); stroke-width: 0.42; }

.brand-mark--on-light .bm-glow { fill: rgba(46, 125, 50, 0.08); }
.brand-mark--on-light .bm-ring, .brand-mark--on-light .bm-spark, .brand-mark--on-light .bm-arch { stroke: #2e7d32; }
.brand-mark--on-light .bm-a { fill: #0f4a3a; stroke: #0f4a3a; }
.brand-mark--on-light .bm-window { fill: #ffffff; }
.brand-mark--on-light .bm-line { stroke: #43a047; }
.brand-mark--on-light .bm-leaf { fill: #66bb6a; stroke: #1b5e20; }

/* Enhanced navigation sırasında ince ilerleme çubuğu (app.js) */
.nav-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: #81c784; z-index: 100; transition: width 0.25s ease; }
.nav-progress.is-active { width: 70%; }
.nav-progress.is-done { width: 100%; opacity: 0; transition: width 0.15s ease, opacity 0.3s ease 0.1s; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
