/* ── Page layout ── */
.page {
  min-height: 100vh;
  padding-top: var(--topbar-h);
  display: flex;
  background:
    radial-gradient(circle at 15% 25%, rgba(37,99,235,.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(139,92,246,.04) 0%, transparent 50%),
    var(--slate-50);
}

/* ── Left panel ── */
.left-panel {
  width: 42%;
  background: linear-gradient(145deg, var(--navy) 0%, #2D3F56 55%, #1a365d 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 52px; position: relative; overflow: hidden; flex-shrink: 0;
}
.left-panel::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 68%);
  pointer-events: none;
}
.left-panel::after {
  content: ''; position: absolute; bottom: -60px; left: 15%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139,92,246,.14) 0%, transparent 68%);
  pointer-events: none;
}

/* ── Session card ── */
.session-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 22px 22px 18px;
  margin-bottom: 32px; position: relative; z-index: 1;
}
.sc-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-400); margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
}
.sc-label::before { content: ''; width: 16px; height: 1px; background: rgba(255,255,255,.2); }
.sc-user { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sc-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white; letter-spacing: .02em; flex-shrink: 0;
}
.sc-name { font-size: 14px; font-weight: 700; color: white; line-height: 1.2; }
.sc-role { font-size: 11.5px; color: var(--slate-400); margin-top: 1px; }
.sc-meta { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.sc-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; }
.sc-key { color: var(--slate-400); }
.sc-val { color: var(--slate-200); font-weight: 500; font-family: var(--font-mono); font-size: 11px; }

/* ── Security tips ── */
.tip-heading {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-400); margin-bottom: 12px;
  display: flex; align-items: center; gap: 7px; position: relative; z-index: 1;
}
.tip-heading::before { content: ''; width: 16px; height: 1px; background: rgba(255,255,255,.2); }
.tip-list { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.tip-item { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--slate-300); line-height: 1.5; }
.tip-icon { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.ti-blue  { background: rgba(37,99,235,.22); }
.ti-green { background: rgba(16,185,129,.2); }
.ti-amber { background: rgba(245,158,11,.18); }

/* ── Right panel ── */
.right-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 40px; }
.logout-card { width: 100%; max-width: 420px; }

/* ── Success icon ── */
.icon-wrap {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #A7F3D0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  animation: pop-in .55s cubic-bezier(.175,.885,.32,1.275) both;
}

/* ── Headings ── */
.logout-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px;
}
.logout-eyebrow::before, .logout-eyebrow::after { content: ''; flex: 1; max-width: 28px; height: 1px; background: #A7F3D0; }
.logout-heading { font-family: var(--font-serif); font-size: 30px; color: var(--navy); text-align: center; line-height: 1.2; margin-bottom: 8px; animation: fade-up .4s .1s ease both; }
.logout-sub { font-size: 13.5px; color: var(--slate-500); text-align: center; line-height: 1.7; margin-bottom: 32px; animation: fade-up .4s .15s ease both; }

/* ── Signout chip ── */
.signout-chip {
  display: flex; align-items: center; gap: 10px;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 28px;
  animation: fade-up .4s .2s ease both;
}
.chip-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.chip-text { font-size: 12.5px; color: #065F46; line-height: 1.4; }
.chip-time { margin-left: auto; font-size: 11px; font-family: var(--font-mono); color: #34D399; white-space: nowrap; }

/* ── CTA ── */
.cta-section { display:flex; flex-direction:column; align-items:center; animation: fade-up .4s .25s ease both; }
.cta-section .btn-primary { margin-bottom: 12px; }

/* ── Link row ── */
.link-row { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--slate-400); flex-wrap: wrap; animation: fade-up .4s .3s ease both; }
.link-row a { color: var(--slate-500); text-decoration: none; font-weight: 500; transition: color .15s; }
.link-row a:hover { color: var(--blue); }
.lr-sep { color: var(--slate-300); }

/* ── Redirect bar ── */
.redirect-bar {
  margin-top: 28px; padding: 14px 16px;
  background: white; border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  animation: fade-up .4s .35s ease both;
}
.rd-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rd-label { font-size: 12px; color: var(--slate-500); display: flex; align-items: center; gap: 7px; }
.rd-count { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--navy); background: var(--slate-100); border-radius: 5px; padding: 1px 8px; min-width: 28px; text-align: center; }
.rd-cancel { font-size: 11.5px; font-weight: 600; color: var(--slate-400); background: none; border: none; cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: color .15s, background .15s; }
.rd-cancel:hover { color: var(--rose); background: #FFF1F2; }
.rd-track { height: 3px; background: var(--slate-100); border-radius: 99px; overflow: hidden; }
.rd-fill { height: 100%; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); border-radius: 99px; width: 100%; transform-origin: left; animation: countdown 10s linear forwards; }
@keyframes countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.rd-fill.paused { animation-play-state: paused; }

/* ── Copyright ── */
.copy-footer { margin-top: 24px; text-align: center; font-size: 11px; color: var(--slate-400); animation: fade-up .4s .4s ease both; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .left-panel { display: none; }
  .right-panel { padding: 36px 24px; }
}