:root {
    --bg: #08101c;
    --surface: rgba(255, 255, 255, .97);
    --text: #101828;
    --muted: #667085;
    --line: #dfe4ea;
    --accent: #176b5b;
    --accent-2: #0f4f45;
    --danger: #b42318;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
button, input { font: inherit; }
.login-page {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(34, 137, 118, .30), transparent 35%),
        radial-gradient(circle at 90% 100%, rgba(48, 73, 118, .38), transparent 40%),
        linear-gradient(145deg, #07101b 0%, #101a2a 100%);
}
.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}
.login-shell {
    width: min(100%, 430px);
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 32px 90px rgba(0,0,0,.36);
    position: relative;
    z-index: 1;
}
.brand-area { display: flex; align-items: center; gap: 12px; margin-bottom: 42px; }
.brand-mark { width: 43px; height: 43px; border-radius: 13px; background: var(--accent); position: relative; box-shadow: 0 8px 20px rgba(23,107,91,.25); }
.brand-mark span { position: absolute; display: block; border-radius: 999px; background: white; }
.brand-mark span:first-child { width: 7px; height: 22px; left: 12px; top: 11px; transform: rotate(-32deg); }
.brand-mark span:last-child { width: 7px; height: 22px; right: 12px; top: 11px; transform: rotate(32deg); }
.brand-name { font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -.4px; }
.brand-subtitle { margin-top: 5px; font-weight: 700; font-size: 10px; letter-spacing: 3px; color: var(--accent); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 800; font-size: 11px; letter-spacing: 1.8px; }
.welcome-copy h1 { margin: 0; font-size: clamp(28px, 8vw, 35px); line-height: 1.1; letter-spacing: -1.3px; }
.welcome-copy > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 13px 0 28px; }
.login-form { display: grid; gap: 18px; }
.field-group { display: grid; gap: 7px; }
.field-group label { font-size: 13px; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; width: 20px; height: 20px; left: 16px; top: 50%; transform: translateY(-50%); stroke: #667085; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-wrap input { width: 100%; height: 56px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 0 50px 0 48px; outline: none; font-size: 16px; transition: .18s ease; }
.input-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,107,91,.10); }
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.password-toggle svg { width: 21px; height: 21px; stroke: #667085; fill: none; stroke-width: 1.8; }
.login-button { margin-top: 4px; min-height: 57px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 12px 26px rgba(23,107,91,.26); transition: transform .15s ease, box-shadow .15s ease; }
.login-button:active { transform: translateY(1px) scale(.995); box-shadow: 0 7px 17px rgba(23,107,91,.22); }
.login-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert-error { background: #fff0ee; color: var(--danger); padding: 11px 13px; border: 1px solid #f8cbc6; border-radius: 11px; font-size: 13px; line-height: 1.4; }
.alert-error ul { margin: 0; padding-left: 18px; }
.field-error { color: var(--danger); font-size: 12px; min-height: 0; }
.login-footer { display: flex; align-items: center; justify-content: center; gap: 7px; color: #98a2b3; font-size: 11px; margin-top: 28px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.12); }
.home-page { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: linear-gradient(145deg,#07101b,#101a2a); }
.home-card { width: min(100%, 470px); background: white; border-radius: 24px; padding: 32px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.home-card h1 { margin: 6px 0 10px; }
.home-card p { color: var(--muted); line-height: 1.55; }
.home-card strong { color: var(--text); }
.home-icon { margin: 0 auto 20px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: white; background: var(--accent); }
.home-note { font-size: 13px; padding: 14px; background: #f7f9fb; border-radius: 12px; }
.logout-button { width: 100%; min-height: 50px; border: 1px solid var(--line); background: white; border-radius: 12px; font-weight: 700; cursor: pointer; }
.link-button { text-decoration: none; margin-top: 20px; }
@media (max-width: 520px) {
    .login-page { padding: 0; display: block; background: #fff; }
    .login-page::before { display: none; }
    .login-shell { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; padding: max(30px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
    .brand-area { margin-bottom: clamp(48px, 11vh, 86px); }
    .login-form { margin-top: 4px; }
    .login-footer { margin-top: auto; padding-top: 30px; }
}

/* Nokta Mobile - saha ana menüsü */
.mobile-dashboard {
    min-height: 100dvh;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 100% -10%, rgba(23,107,91,.18), transparent 32%),
        linear-gradient(180deg, #f7f9fb 0%, #eef2f5 100%);
}
.dashboard-header { display:flex; align-items:center; justify-content:space-between; min-height:52px; }
.dashboard-brand { display:flex; align-items:center; gap:10px; }
.dashboard-logo { width:38px; height:38px; border-radius:12px; background:linear-gradient(145deg,var(--accent),var(--accent-2)); position:relative; box-shadow:0 8px 20px rgba(23,107,91,.2); }
.dashboard-logo span { position:absolute; display:block; width:6px; height:19px; top:9px; background:#fff; border-radius:20px; }
.dashboard-logo span:first-child { left:10px; transform:rotate(-32deg); }
.dashboard-logo span:last-child { right:10px; transform:rotate(32deg); }
.dashboard-brand-name { font-size:17px; font-weight:850; letter-spacing:-.4px; line-height:1.05; }
.dashboard-brand-caption { margin-top:4px; color:var(--muted); font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:1.6px; }
.dashboard-logout-form { margin:0; }
.dashboard-logout { width:42px; height:42px; border:1px solid #dce3e9; border-radius:13px; background:rgba(255,255,255,.88); display:grid; place-items:center; cursor:pointer; box-shadow:0 5px 14px rgba(16,24,40,.05); }
.dashboard-logout svg { width:20px; height:20px; fill:none; stroke:#475467; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.dashboard-welcome { padding:31px 2px 22px; }
.dashboard-kicker { margin:0 0 6px; color:var(--accent); font-size:10px; font-weight:850; letter-spacing:1.8px; }
.dashboard-welcome h1 { margin:0; font-size:clamp(27px,7vw,36px); line-height:1.05; letter-spacing:-1.1px; text-transform:none; }
.dashboard-welcome > p:last-child { margin:9px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.menu-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.menu-tile { min-height:142px; padding:17px; border:1px solid rgba(208,216,225,.9); border-radius:20px; background:rgba(255,255,255,.94); color:var(--text); text-decoration:none; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto 1fr; column-gap:8px; position:relative; overflow:hidden; box-shadow:0 7px 22px rgba(16,24,40,.055); transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease; -webkit-tap-highlight-color:transparent; }
.menu-tile:active { transform:scale(.985); box-shadow:0 4px 12px rgba(16,24,40,.045); }
.menu-tile-primary { background:linear-gradient(150deg,#176b5b,#0d5145); border-color:transparent; color:#fff; box-shadow:0 12px 28px rgba(23,107,91,.2); }
.menu-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:#eff7f5; color:var(--accent); }
.menu-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.menu-tile-primary .menu-icon { background:rgba(255,255,255,.14); color:#fff; }
.menu-copy { grid-column:1 / -1; align-self:end; min-width:0; padding-top:16px; }
.menu-copy strong { display:block; font-size:16px; line-height:1.15; letter-spacing:-.3px; }
.menu-copy small { display:block; margin-top:6px; color:#778293; font-size:10.5px; line-height:1.35; }
.menu-tile-primary .menu-copy small { color:rgba(255,255,255,.72); }
.menu-arrow { position:absolute; right:15px; top:19px; color:#98a2b3; font-size:25px; line-height:1; font-weight:300; }
.menu-tile-primary .menu-arrow { color:rgba(255,255,255,.68); }
.dashboard-footer { padding:23px 0 2px; text-align:center; color:#98a2b3; font-size:10px; font-weight:650; letter-spacing:.4px; }

@media (min-width: 721px) {
    body { background:#e8edf1; }
    .mobile-dashboard { box-shadow:0 0 70px rgba(16,24,40,.07); }
}
@media (max-width: 390px) {
    .mobile-dashboard { padding-left:14px; padding-right:14px; }
    .menu-grid { grid-template-columns:1fr; gap:10px; }
    .menu-tile { min-height:96px; grid-template-columns:46px 1fr auto; grid-template-rows:1fr; align-items:center; padding:15px; }
    .menu-icon { grid-column:1; }
    .menu-copy { grid-column:2; align-self:center; padding:0 4px 0 6px; }
    .menu-copy small { margin-top:4px; }
    .menu-arrow { grid-column:3; position:static; align-self:center; }
}

/* Nokta Mobile - Ayarlar */
select, textarea { font: inherit; }
.settings-page { min-height:100dvh; max-width:720px; margin:0 auto; padding:max(18px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom)); background:linear-gradient(180deg,#f8fafb,#edf2f4); }
.settings-header { display:flex; align-items:center; gap:13px; margin-bottom:22px; }
.back-button { width:46px; height:46px; flex:0 0 46px; display:grid; place-items:center; border-radius:14px; border:1px solid #dbe3e8; background:#fff; color:#344054; box-shadow:0 5px 15px rgba(16,24,40,.05); }
.back-button svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.settings-kicker { color:var(--accent); font-size:9px; font-weight:850; letter-spacing:1.7px; }
.settings-header h1 { margin:3px 0 0; font-size:27px; letter-spacing:-.8px; line-height:1; }
.settings-form { display:grid; gap:12px; }
.settings-card { display:grid; grid-template-columns:48px 1fr; gap:13px; align-items:start; padding:17px; border:1px solid #dfe6eb; border-radius:20px; background:#fff; box-shadow:0 6px 20px rgba(16,24,40,.045); }
.settings-card-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; color:var(--accent); background:#edf7f4; }
.settings-card-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.settings-card-body { min-width:0; }
.settings-card-body > label { display:block; font-size:15px; font-weight:800; letter-spacing:-.25px; }
.settings-card-body > p { margin:5px 0 12px; color:#7a8594; font-size:11.5px; line-height:1.45; }
.settings-select { width:100%; min-height:51px; padding:0 40px 0 13px; border:1.5px solid #d9e1e7; border-radius:13px; background:#fbfcfd; color:#182230; font-size:14px; font-weight:650; outline:none; }
.settings-select:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(23,107,91,.08); }
.settings-toggle-card { grid-template-columns:48px 1fr auto; align-items:center; }
.settings-toggle-copy > p { margin-bottom:0; }
.switch { position:relative; width:54px; height:32px; display:block; flex:0 0 auto; }
.switch input { opacity:0; width:0; height:0; }
.switch-slider { position:absolute; inset:0; border-radius:999px; background:#d5dde3; cursor:pointer; transition:.18s ease; box-shadow:inset 0 0 0 1px rgba(16,24,40,.04); }
.switch-slider::before { content:""; position:absolute; width:26px; height:26px; left:3px; top:3px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(16,24,40,.22); transition:.18s ease; }
.switch input:checked + .switch-slider { background:var(--accent); }
.switch input:checked + .switch-slider::before { transform:translateX(22px); }
.settings-save { min-height:57px; margin-top:5px; border:0; border-radius:16px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; font-weight:850; font-size:15px; display:flex; align-items:center; justify-content:center; gap:9px; box-shadow:0 12px 25px rgba(23,107,91,.2); cursor:pointer; }
.settings-save svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.settings-success { padding:12px 14px; border-radius:13px; background:#ecf8f2; color:#087443; border:1px solid #ccebdc; font-size:13px; font-weight:700; }
@media (max-width:390px) { .settings-page { padding-left:12px; padding-right:12px; } .settings-card { padding:15px; grid-template-columns:42px 1fr; } .settings-card-icon { width:42px; height:42px; } .settings-toggle-card { grid-template-columns:42px 1fr auto; } }
