/* Centered single-card layout used by login/register/logout pages */
body.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

body.auth-body .orb { opacity: 0.38; }

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 1.5rem;
  padding: 2.75rem 2.5rem 2.5rem;
  border-radius: 24px;
  animation: card-enter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
  text-align: center;
}

.logo-icon {
  width: 54px; height: 54px;
  background: linear-gradient(145deg, rgba(59,130,246,0.22), rgba(99,102,241,0.22));
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 24px rgba(99,102,241,0.18),
    0 1px 0 rgba(255,255,255,0.12) inset;
  margin-bottom: 0.25rem;
}

.logo-icon svg {
  width: 26px; height: 26px;
  color: var(--accent-text);
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Success/status card (logout page) */
.status-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, rgba(16,185,129,0.18), rgba(5,150,105,0.18));
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 28px rgba(16,185,129,0.15),
    0 1px 0 rgba(255,255,255,0.1) inset;
  animation: icon-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes icon-pop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1);   }
}

.status-icon svg {
  width: 26px; height: 26px;
  color: #34d399;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.card-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.825rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 4px 20px rgba(99, 102, 241, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 8px 28px rgba(99, 102, 241, 0.5);
  filter: brightness(1.07);
}

.btn-login:active {
  transform: translateY(0);
  filter: brightness(0.97);
}
