:root {
  --sidebar-bg: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  --sidebar-accent: #2563eb;
  --page-bg: #f6f8fb;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-soft: #64748b;
  --border: #e5eaf1;
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background: var(--page-bg); color: var(--text-main); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 264px 1fr; }
.sidebar { background: var(--sidebar-bg); color: white; padding: 1rem; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 1040; overflow-y:auto; }
.sidebar-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.sidebar-brand img { width:48px; height:48px; object-fit:cover; border-radius:10px; border:1px solid rgba(255,255,255,.16); }
.brand-title { font-weight:800; letter-spacing:0; }
.brand-subtitle { color: rgba(255,255,255,.7); font-size:.85rem; }
.workspace-pill { display:flex; align-items:center; gap:.5rem; border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:.65rem .9rem; color:rgba(255,255,255,.86); background:rgba(255,255,255,.08); margin-bottom:1rem; }
.dot { width:10px; height:10px; border-radius:50%; background:#2ed573; }
.sidebar-nav { display:flex; flex-direction:column; gap:.35rem; margin-top:.5rem; flex:1; }
.sidebar-nav .nav-link { display:flex; align-items:center; gap:.75rem; color:rgba(255,255,255,.76); text-decoration:none; padding:.68rem .8rem; border-radius:10px; font-weight:500; font-size:.92rem; }
.sidebar-nav .nav-link.active, .sidebar-nav .nav-link:hover { background: rgba(255,255,255,.1); color:white; }
.sidebar-footer { border-top:1px solid rgba(255,255,255,.1); padding-top:1rem; }
.main-panel { display:flex; flex-direction:column; min-width:0; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; background:rgba(255,255,255,.88); backdrop-filter:blur(12px); position:sticky; top:0; z-index:1000; border-bottom:1px solid var(--border); }
.page-kicker { color: var(--sidebar-accent); font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.page-title { margin:0; font-size:1.28rem; font-weight:800; letter-spacing:0; }
.topbar-actions { display:flex; align-items:center; gap:.75rem; }
.btn-icon { width:42px; height:42px; border-radius:12px; background:#fff; border:1px solid var(--border); }
.search-box { min-width:320px; display:flex; align-items:center; gap:.6rem; background:#fff; border:1px solid var(--border); border-radius:14px; padding:.72rem .9rem; }
.search-box input { border:0; outline:0; width:100%; }
.user-chip { display:flex; align-items:center; gap:.75rem; background:#fff; border-radius:16px; padding:.4rem .8rem; border:1px solid var(--border); }
.avatar-circle { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg, #8d5cff, #5bc0ff); color:white; font-weight:700; }
.content-area { padding:1.15rem; }
.surface-card, .metric-card, .detail-card, .form-card, .chart-card { background:#fff; border-radius:12px; border:1px solid var(--border); box-shadow:var(--soft-shadow); }
.surface-card, .form-card, .chart-card { padding:1rem; }
.metric-card { padding:.95rem; height:100%; display:flex; gap:.85rem; align-items:center; }
.metric-icon { width:44px; height:44px; border-radius:10px; display:grid; place-items:center; color:white; font-size:1.05rem; }
.metric-label { color:var(--text-soft); font-size:.88rem; }
.metric-value { font-size:1.45rem; font-weight:800; letter-spacing:0; line-height:1.1; }
.metric-note { color:var(--text-soft); font-size:.82rem; }
.kpi-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:.85rem; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.section-title { margin:0; font-size:1.1rem; font-weight:700; }
.table-wrap { background:#fff; border-radius:22px; border:1px solid var(--border); overflow:hidden; }
.table-wrap .table { margin-bottom:0; }
.table-wrap thead th { background:#f8faff; border-bottom:1px solid var(--border); color:var(--text-soft); font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; }
.table td, .table th { vertical-align:middle; }
.panel-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:.9rem; }
.timeline { position:relative; padding-left:1rem; }
.timeline::before { content:''; position:absolute; left:9px; top:0; bottom:0; width:2px; background:#d9e2f1; }
.timeline-item { position:relative; padding-left:1.5rem; margin-bottom:1rem; }
.timeline-item::before { content:''; position:absolute; left:0; top:7px; width:18px; height:18px; border-radius:50%; background:white; border:4px solid var(--sidebar-accent); }
.data-tile { padding:.85rem; border-radius:10px; border:1px solid #dbe3ee; background:#f8fafc; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:1fr 480px; background:radial-gradient(circle at top left, #36225f, #160e29 60%); }
.login-hero { padding:3rem; color:white; display:flex; flex-direction:column; justify-content:center; }
.login-card { background:#fff; min-height:100vh; display:flex; align-items:center; justify-content:center; padding:2rem; }
.login-card .card { width:min(420px, 100%); border:0; border-radius:28px; box-shadow:0 22px 60px rgba(27,18,49,.16); }
.notification-badge { position:absolute; top:-4px; right:-4px; font-size:.68rem; }
.notification-menu { width:320px; }
.stats-stack { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1rem; }
.quick-actions { display:flex; flex-wrap:wrap; gap:.6rem; }
.share-preview img { width:100%; max-height:280px; object-fit:cover; border-radius:22px; }
.public-share-page { background:linear-gradient(180deg, #141027, #0b0f18); min-height:100vh; padding:2rem 0; }
.public-share-card { background:#fff; border-radius:28px; box-shadow:0 25px 80px rgba(0,0,0,.25); overflow:hidden; }
.feature-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1rem; }
.feature-card { display:block; border:1px solid var(--border); border-radius:10px; padding:.9rem; background:#fff; box-shadow:0 6px 18px rgba(17,24,39,.035); }
.feature-card:hover { transform:translateY(-1px); border-color:#d8cef8; }
.feature-icon { width:36px; height:36px; border-radius:9px; display:grid; place-items:center; margin-bottom:.65rem; color:#fff; background:linear-gradient(135deg, #2563eb, #0891b2); }
.target-card { padding:1rem; border:1px solid var(--border); border-radius:20px; background:linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.kanban-grid { display:grid; grid-template-columns:repeat(4, minmax(260px, 1fr)); gap:1rem; align-items:start; overflow-x:auto; }
.kanban-column { background:#f8faff; border:1px solid var(--border); border-radius:22px; min-height:280px; display:flex; flex-direction:column; }
.kanban-header { padding:1rem; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; gap:.75rem; }
.kanban-body { padding:1rem; display:flex; flex-direction:column; gap:.8rem; }
.kanban-card { background:#fff; border:1px solid var(--border); border-radius:18px; padding:1rem; box-shadow:0 8px 20px rgba(17,24,39,.04); }
.kanban-meta { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-top:.75rem; }
.kanban-chip { font-size:.75rem; padding:.35rem .55rem; border-radius:999px; background:#eef2ff; color:#4338ca; }
.kanban-chip.overdue { background:#fee2e2; color:#b91c1c; }
.kanban-chip.today { background:#fef3c7; color:#92400e; }
.kanban-chip.upcoming { background:#dcfce7; color:#166534; }
.target-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1rem; }
.target-metric { border:1px solid var(--border); border-radius:18px; padding:1rem; background:linear-gradient(180deg,#fff 0%,#f9fbff 100%); }
@media (max-width:1399px){ .kanban-grid{grid-template-columns:repeat(3, minmax(260px,1fr));} }
@media (max-width:1199px){ .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .panel-grid{grid-template-columns:1fr;} .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .target-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:991px){
  .app-shell{grid-template-columns:1fr;}
  .sidebar{position:fixed; transform:translateX(-100%); transition:transform .3s ease; width:280px;}
  .sidebar.open{transform:translateX(0);}
  .content-area{padding:1rem;}
  .search-box{min-width:0; width:100%;}
  .topbar{padding:1rem;}
  .login-shell{grid-template-columns:1fr;}
  .login-hero{display:none;}
  .kanban-grid{grid-template-columns:repeat(2, minmax(260px, 1fr));}
}
@media (max-width:767px){
  .kpi-grid, .stats-stack, .feature-grid, .target-grid{grid-template-columns:1fr;}
  .topbar{flex-wrap:wrap;}
  .topbar-actions{width:100%; justify-content:space-between;}
  .user-chip{flex:1;}
  .kanban-grid{grid-template-columns:1fr;}
}

.property-detail-grid { display:grid; grid-template-columns:minmax(0, 1.35fr) minmax(340px, .65fr); gap:1.2rem; align-items:start; }
.property-main, .property-side { min-width:0; }
.property-hero, .public-hero { width:100%; height:460px; object-fit:cover; display:block; background:#edf2f7; }
.placeholder-hero { display:grid; place-items:center; color:#94a3b8; font-size:4rem; }
.property-title { margin:0; font-size:clamp(1.6rem, 3vw, 2.4rem); font-weight:800; letter-spacing:0; }
.price-block div:last-child { font-size:1.55rem; font-weight:800; color:#5b21b6; }
.property-facts { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:.75rem; }
.property-facts div { border:1px solid var(--border); border-radius:16px; padding:.85rem; background:#f8fbff; display:flex; align-items:center; gap:.55rem; min-width:0; }
.property-facts span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600; }
.amenity-list { display:flex; flex-wrap:wrap; gap:.65rem; }
.amenity-list span { border:1px solid #dbe5f5; background:#f8fbff; border-radius:999px; padding:.48rem .75rem; color:#334155; font-weight:600; font-size:.9rem; }
.property-gallery { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:.8rem; }
.property-gallery img, .property-thumb { width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:18px; border:1px solid var(--border); background:#f1f5f9; }
.property-video { width:100%; aspect-ratio:16 / 9; border-radius:18px; background:#0f172a; border:1px solid var(--border); }
.agent-card { display:flex; align-items:center; gap:1rem; padding:1rem; border:1px solid var(--border); border-radius:20px; background:linear-gradient(180deg,#fff 0%,#f8fbff 100%); }
.agent-avatar { width:64px; height:64px; border-radius:18px; display:grid; place-items:center; background:linear-gradient(135deg,#8d5cff,#5bc0ff); color:#fff; font-size:1.4rem; font-weight:800; overflow:hidden; flex:0 0 auto; }
.agent-avatar img { width:100%; height:100%; object-fit:cover; }
.public-agent { height:100%; align-items:flex-start; }
.media-link-card, .media-tile { min-height:86px; border:1px solid var(--border); border-radius:18px; display:flex; align-items:center; gap:.85rem; padding:1rem; text-decoration:none; background:#fff; color:var(--text-main); box-shadow:0 8px 24px rgba(17,24,39,.04); }
.media-link-card:hover { border-color:#c4b5fd; color:#5b21b6; }
.media-link-card i, .media-tile i { font-size:1.5rem; color:#7c3aed; }
.media-link-card.compact { min-height:58px; }
.media-tile span, .media-link-card span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.evidence-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:.5rem; }
.evidence-grid img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; border:1px solid var(--border); }
.list-thumb { width:58px; height:48px; object-fit:cover; border-radius:12px; border:1px solid var(--border); flex:0 0 auto; }
.dashboard-hero, .role-hero { min-height:160px; border-radius:16px; padding:1.4rem; display:flex; justify-content:space-between; align-items:flex-end; gap:1rem; color:#fff; background:linear-gradient(135deg,#111827 0%,#1d4ed8 62%,#0f766e 100%); box-shadow:0 18px 45px rgba(15,23,42,.18); overflow:hidden; }
.dashboard-hero h2, .role-hero h2 { margin:.25rem 0 .35rem; font-size:clamp(1.55rem, 2.7vw, 2.35rem); font-weight:800; letter-spacing:0; }
.dashboard-hero p, .role-hero p { max-width:720px; margin:0; color:rgba(255,255,255,.78); }
.hero-actions { display:flex; gap:.65rem; flex-wrap:wrap; justify-content:flex-end; }
.compact-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.compact-card { min-height:96px; }
.soft-icon { background:#eef4ff !important; color:#2563eb; }
.dashboard-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:1rem; align-items:stretch; }
.clean-card { box-shadow:var(--soft-shadow); }
.chart-split { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.chart-box { height:292px; min-width:0; }
.mini-stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.mini-stat { padding:.75rem; border:1px solid var(--border); border-radius:10px; background:#f8fafc; display:flex; justify-content:space-between; gap:.75rem; align-items:center; }
.mini-stat span { color:var(--text-soft); font-size:.82rem; }
.mini-stat strong { font-size:1.25rem; }
.slim-target { padding:.85rem; border-radius:10px; background:#fff; }
.progress-row { display:grid; grid-template-columns:80px 1fr 54px; align-items:center; gap:.65rem; margin:.55rem 0; font-size:.82rem; }
.progress-row .progress { height:7px; background:#e8edf5; }
.progress-row strong { text-align:right; font-size:.78rem; }
.feature-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.compact-feature { min-height:148px; }
.role-action { display:flex; gap:.85rem; align-items:flex-start; padding:.85rem; border:1px solid var(--border); border-radius:10px; text-decoration:none; color:var(--text-main); background:#fff; }
.role-action:hover, .priority-card:hover, .list-row:hover { border-color:#b9c8de; background:#f8fafc; }
.role-action i { color:#2563eb; font-size:1.2rem; }
.role-action span { display:grid; gap:.18rem; }
.role-action small { color:var(--text-soft); }
.list-row { display:flex; align-items:center; justify-content:space-between; gap:.9rem; padding:.82rem .9rem; border:1px solid var(--border); border-radius:10px; text-decoration:none; color:var(--text-main); background:#fff; }
.list-row span { display:grid; min-width:0; }
.list-row strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.94rem; }
.list-row small, .list-row em { color:var(--text-soft); font-style:normal; font-size:.8rem; }
.static-row { cursor:default; }
.role-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
.summary-card { padding:1rem; border:1px solid var(--border); border-radius:12px; background:#fff; box-shadow:var(--soft-shadow); display:flex; justify-content:space-between; align-items:center; }
.summary-card span { color:var(--text-soft); font-size:.86rem; }
.summary-card strong { font-size:1.65rem; }
.priority-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; }
.priority-card { display:flex; align-items:flex-start; gap:.8rem; padding:.95rem; border:1px solid var(--border); border-radius:10px; color:var(--text-main); background:#fff; text-decoration:none; min-height:112px; }
.priority-card i { width:34px; height:34px; border-radius:9px; display:grid; place-items:center; color:#fff; background:#2563eb; flex:0 0 auto; }
.priority-card span { display:grid; gap:.25rem; min-width:0; }
.priority-card small { color:var(--text-soft); }
.soft-badge { border:1px solid #bfdbfe; color:#1d4ed8; background:#eff6ff; border-radius:999px; padding:.32rem .7rem; font-size:.78rem; font-weight:700; }
.role-feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.role-feature-card { display:grid; grid-template-columns:36px 1fr auto; gap:.75rem; align-items:start; }
.role-feature-card .feature-icon { margin:0; }
.feature-arrow { color:#94a3b8; font-size:1.25rem; }
@media (max-width:1199px){
  .property-detail-grid{grid-template-columns:1fr;}
  .property-side{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem;}
  .property-side .surface-card, .property-side .form-card{margin-bottom:0 !important;}
  .property-facts{grid-template-columns:repeat(3,minmax(0,1fr));}
  .dashboard-layout{grid-template-columns:1fr;}
  .feature-strip, .role-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .priority-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:767px){
  .property-hero, .public-hero{height:300px;}
  .property-gallery{grid-template-columns:1fr;}
  .property-side{display:block;}
  .property-side .surface-card, .property-side .form-card{margin-bottom:1rem !important;}
  .property-facts{grid-template-columns:1fr 1fr;}
  .evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dashboard-hero, .role-hero{align-items:flex-start; padding:1rem; min-height:0; flex-direction:column;}
  .hero-actions{justify-content:flex-start;}
  .compact-grid, .role-summary-grid, .feature-strip, .role-feature-grid, .priority-grid, .chart-split{grid-template-columns:1fr;}
  .chart-box{height:250px;}
  .progress-row{grid-template-columns:70px 1fr 48px;}
}

/* ===================================================================
   PREMIUM AUTH (LOGIN/REGISTER) STYLES
   =================================================================== */

.auth-shell {
  min-height: 100vh;
  display: flex;
  background: var(--page-bg);
}

.auth-hero {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 50%, #0f766e 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(15, 118, 110, 0.15) 0%, transparent 50%);
  animation: authHeroFloat 20s ease-in-out infinite;
}

@keyframes authHeroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 1%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

.auth-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 420px;
}

.auth-hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.auth-hero-brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.auth-hero-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.auth-hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.auth-hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.auth-hero-feature i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.auth-hero-feature span {
  display: grid;
  gap: 0.25rem;
}

.auth-hero-feature strong {
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-hero-feature small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.auth-card-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 100vh;
}

.auth-card {
  width: 100%;
  max-width: 480px;
}

.auth-card-inner {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02),
              0 12px 24px rgba(15, 23, 42, 0.04),
              0 24px 48px rgba(15, 23, 42, 0.06);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.auth-card-logo {
  display: none;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.auth-card-header p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.35rem;
  border-radius: 14px;
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab:hover {
  color: var(--text-main);
}

.auth-tab.active {
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-field label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
}

.auth-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: #fff;
  transition: all 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: var(--sidebar-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  accent-color: var(--sidebar-accent);
}

.auth-checkbox span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.auth-checkbox a {
  color: var(--sidebar-accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-checkbox a:hover {
  text-decoration: underline;
}

.auth-btn-primary {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.auth-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.auth-btn-primary:active {
  transform: translateY(0);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--sidebar-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-demo-hint {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.auth-demo-hint p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.auth-demo-hint code {
  background: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
}

/* Form panels */
.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

/* Password strength indicator */
.password-strength {
  height: 4px;
  border-radius: 2px;
  background: #e5eaf1;
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
  width: 0%;
}

.password-strength-bar.weak { width: 33%; background: #ef4444; }
.password-strength-bar.medium { width: 66%; background: #f59e0b; }
.password-strength-bar.strong { width: 100%; background: #10b981; }

/* Error state */
.auth-input.error {
  border-color: #ef4444;
}

.auth-input.error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Success state */
.auth-input.success {
  border-color: #10b981;
}

/* Social login buttons */
.auth-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-social-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.auth-social-btn i {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
  .auth-shell {
    flex-direction: column;
  }

  .auth-hero {
    flex: none;
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .auth-hero-features {
    display: none;
  }

  .auth-hero-brand {
    font-size: 1.5rem;
  }

  .auth-hero-tagline {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .auth-card-panel {
    padding: 1.5rem;
  }

  .auth-card-inner {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .auth-shell {
    min-height: auto;
  }

  .auth-hero {
    padding: 1.5rem 1rem;
  }

  .auth-card-panel {
    padding: 1rem;
    min-height: auto;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .auth-card-inner {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .auth-card-header h2 {
    font-size: 1.5rem;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
  }

  .auth-tabs {
    margin-bottom: 1.5rem;
  }
}
