:root {
  --bg: #f4f8f6;
  --bg-2: #eef4f1;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --panel-soft: rgba(126, 166, 156, 0.10);
  --text: #1f3b35;
  --muted: #6d8881;
  --primary: #71b5a1;
  --primary-2: #94cdbf;
  --accent: #f2c89b;
  --success: #4f9f7b;
  --danger: #d26b71;
  --warning: #d9a86a;
  --border: rgba(113, 181, 161, 0.18);
  --shadow: 0 18px 50px rgba(80, 118, 106, 0.12);
  --shadow-soft: 0 10px 30px rgba(80, 118, 106, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(148,205,191,.32), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(242,200,155,.3), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(113,181,161,.2), transparent 28%),
    linear-gradient(180deg, #f7fbf9 0%, #eef5f2 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.page-shell { position: relative; max-width: 1240px; margin: 0 auto; padding: 24px 16px 48px; }
.bg-blur { position: fixed; border-radius: 999px; filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0; }
.bg-blur-1 { width: 320px; height: 320px; background: rgba(148,205,191,.95); top: -80px; left: -60px; }
.bg-blur-2 { width: 340px; height: 340px; background: rgba(242,200,155,.8); right: -80px; bottom: -120px; }
.topbar, .hero, .auth-grid, .dashboard-shell { position: relative; z-index: 1; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 4px 0 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand strong { display: block; font-size: 1.02rem; }
.brand small { display: block; color: var(--muted); font-size: .82rem; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), #5fa892);
  box-shadow: 0 16px 28px rgba(113, 181, 161, 0.28);
}
.topbar-right { display:flex; align-items:center; gap: 12px; flex-wrap: wrap; }
.nav-chip, .nav-link, .nav-button, .btn {
  border: 1px solid var(--border); padding: 12px 16px; border-radius: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  font-weight: 700;
}
.nav-chip { background: rgba(255,255,255,.5); color: var(--muted); }
.nav-link, .btn-secondary { background: rgba(255,255,255,.6); }
.nav-button, .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent; color: #fff;
}
.nav-link:hover, .nav-button:hover, .btn:hover, .click-card:hover, .quick-card:hover, .micro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card, .panel {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
  min-height: 74vh;
}
.hero-copy { padding: 42px; }
.hero-copy h1 { margin:0 0 14px; font-size: clamp(2.2rem, 4vw, 4.4rem); line-height:1.02; letter-spacing:-.05em; }
.hero-copy p, .info-panel p, .auth-card p, .dashboard-main p, .muted { color: var(--muted); }
.hero-stats, .kpi-grid, .quick-grid, .micro-grid { display:grid; gap:14px; }
.hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 28px; }
.stat, .kpi, .mini-card, .micro-card, .quick-card {
  padding: 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.56);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.stat strong, .kpi strong, .quick-card strong { display:block; font-size:1.25rem; margin-bottom:6px; }
.hero-side { padding: 22px; }
.feature-list, .list { display:grid; gap:12px; }
.feature-item, .list .item {
  display:flex; gap:12px; padding:16px; border:1px solid var(--border);
  background: rgba(255,255,255,.5); border-radius: 20px;
}
.feature-icon {
  width: 44px; height: 44px; flex:0 0 44px; border-radius: 14px; display:grid; place-items:center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), #5fa892);
}
.auth-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(340px,.95fr); gap:24px; align-items:stretch; padding-top: 18px; }
.info-panel, .auth-card, .dashboard-sidebar, .dashboard-main { padding: 30px; }
.info-panel h2, .auth-card h2, .dashboard-main h2 { margin:0 0 12px; font-size: 2rem; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; }
.form-grid.one { grid-template-columns: 1fr; }
.field { display:flex; flex-direction:column; gap:8px; }
.field label { font-size:.95rem; font-weight:700; }
.field input, .field select, .field textarea {
  width:100%; border:1px solid rgba(113,181,161,.22); background: rgba(255,255,255,.7);
  border-radius: 16px; padding: 14px 15px; color: var(--text); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #92a6a0; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(113,181,161,.75);
  box-shadow: 0 0 0 4px rgba(113,181,161,.14);
  transform: translateY(-1px);
}
.helper { font-size:.83rem; color: var(--muted); }
.btn-row { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-top: 18px; }
.btn { display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.flash-wrap { position:relative; z-index:2; display:grid; gap:10px; margin-bottom:16px; }
.flash { padding: 14px 16px; border-radius: 16px; border:1px solid transparent; box-shadow: var(--shadow-soft); }
.flash-success { background: rgba(79,159,123,.12); border-color: rgba(79,159,123,.28); }
.flash-error { background: rgba(210,107,113,.1); border-color: rgba(210,107,113,.24); }
.flash-warning { background: rgba(217,168,106,.1); border-color: rgba(217,168,106,.26); }
.flash-info { background: rgba(113,181,161,.1); border-color: rgba(113,181,161,.26); }
.badge {
  display:inline-flex; align-items:center; gap:8px; padding: 8px 12px; border-radius:999px;
  background: rgba(113,181,161,.12); color: #4b8e7b; border: 1px solid rgba(113,181,161,.18);
  font-size:.84rem; font-weight:800;
}
.badge.warn { background: rgba(242,200,155,.2); color: #ac7d47; border-color: rgba(242,200,155,.3); }
.dashboard-shell { display:grid; grid-template-columns: 290px minmax(0,1fr); gap: 24px; padding-top: 18px; }
.dashboard-sidebar { display:flex; flex-direction:column; gap: 16px; }
.avatar-wrap { display:flex; align-items:center; gap: 14px; }
.avatar {
  width:76px; height:76px; border-radius:24px; display:grid; place-items:center;
  font-weight:800; font-size:1.6rem; color:#fff; background: linear-gradient(135deg, var(--primary), #5fa892);
  box-shadow: 0 14px 26px rgba(113, 181, 161, 0.28);
}
.sidebar-card { padding:18px; border-radius:24px; background: rgba(255,255,255,.56); border:1px solid var(--border); }
.sidebar-meta { display:grid; gap:10px; }
.sidebar-meta .item { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border-radius:16px; background: rgba(113,181,161,.07); border:1px solid rgba(113,181,161,.08); }
.sidebar-meta strong { font-size: .92rem; }
.dashboard-main { display:grid; gap:18px; }
.dashboard-hero {
  display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; align-items:stretch;
}
.hero-panel, .countdown-panel, .section-panel {
  padding: 24px; border-radius: 28px; background: rgba(255,255,255,.6); border:1px solid var(--border); box-shadow: var(--shadow-soft);
}
.session-inline { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.progress-track { height: 12px; border-radius: 999px; background: rgba(113,181,161,.12); overflow:hidden; }
.progress-bar { height:100%; width:0%; border-radius:inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .6s ease; }
.ring-wrap { display:flex; justify-content:center; align-items:center; padding:8px 0 4px; }
.count-ring { width: 168px; height:168px; position:relative; }
.count-ring svg { width:100%; height:100%; transform: rotate(-90deg); }
.count-ring .ring-bg { fill:none; stroke: rgba(113,181,161,.12); stroke-width: 10; }
.count-ring .ring-progress { fill:none; stroke: url(#ringGradient); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 471; stroke-dashoffset: 0; transition: stroke-dashoffset .8s ease; }
.count-ring-center { position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.count-ring-center strong { font-size: 2rem; line-height: 1; display:block; }
.count-ring-center span { color: var(--muted); font-size:.9rem; }
.kpi-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.quick-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.quick-card, .micro-card, .click-card { position:relative; overflow:hidden; }
.quick-card::after, .micro-card::after, .click-card::after {
  content:""; position:absolute; inset:auto -25% -55% auto; width:110px; height:110px; border-radius:50%;
  background: radial-gradient(circle, rgba(148,205,191,.32), transparent 70%);
}
.click-card { padding:20px; border-radius:24px; background: rgba(255,255,255,.6); border:1px solid var(--border); box-shadow: var(--shadow-soft); transition: .22s ease; }
.click-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.clock { font-weight: 700; color: var(--muted); }
.inline-list { display:grid; gap:12px; }
.inline-list .row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 0; border-bottom:1px dashed rgba(113,181,161,.18); }
.inline-list .row:last-child { border-bottom: none; padding-bottom:0; }
.status-dot { width:10px; height:10px; border-radius:50%; background: var(--success); box-shadow: 0 0 0 6px rgba(79,159,123,.12); }
.divider-note { font-size: .88rem; color: var(--muted); }
footer.note { margin-top: 6px; color: var(--muted); font-size:.88rem; }
.password-wrap { position:relative; }
.password-toggle { position:absolute; right:12px; top:50%; transform:translateY(-50%); border:none; background:none; color: var(--muted); cursor:pointer; font-weight:700; }
.auth-split { display:grid; gap:18px; }
.code-input { font-size: 1.15rem; letter-spacing: .22em; text-transform: uppercase; }
.resend-note { color: var(--muted); font-size: .9rem; }
@media (max-width: 1020px) {
  .hero, .auth-grid, .dashboard-shell, .dashboard-hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-shell { padding: 16px 12px 32px; }
  .topbar { align-items:flex-start; flex-direction:column; }
  .topbar-right, nav { width:100%; }
  .hero-copy, .hero-side, .info-panel, .auth-card, .dashboard-sidebar, .dashboard-main { padding:20px; }
  .form-grid, .hero-stats, .kpi-grid, .quick-grid, .click-grid, .micro-grid { grid-template-columns:1fr; }
  .btn-row { flex-direction:column; align-items:stretch; }
  .btn, .nav-link, .nav-button { width:100%; text-align:center; }
}
