/* ===== GLOBAL ===== */
/* --------------------------
   THEME VARIABLES (DEFAULT)
   -------------------------- */
   /* ===============================
   GLOBAL THEME SYSTEM
   Light + Dark toggle
   Add to assets/style.css
================================ */

/* Default = LIGHT */
:root{
  --bg: #ffffff;
  --panel: #ffffff;
  --border: #e5e7eb;

  --text: #111111;
  --muted: #6b7280;

  --chip: #f3f4f6;
  --chipText: #111111;

  --link: #2563eb;
  --btn: #2563eb;
  --btnText: #ffffff;

  --shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Dark mode overrides */
html[data-theme="dark"]{
  --bg: #0b141a;
  --panel: rgba(17,27,33,.92);
  --border: rgba(255,255,255,.08);

  --text: #e9edef;
  --muted: rgba(233,237,239,.65);

  --chip: rgba(11,20,26,.65);
  --chipText: rgba(233,237,239,.9);

  --link: #7dd3fc;
  --btn: #00a884;
  --btnText: #052b23;

  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Apply theme to whole site */
html, body{
  background: var(--bg);
  color: var(--text);
}

/* Common containers/cards */
.sc-card, .sc-home-card, .sc-post, .sc-panel, .sc-box, .sc-wrap, .sc-chat-main{
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Nav */
.sc-nav{
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

/* Links */
a{ color: var(--link); }

/* Inputs */
input, textarea, select{
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}
input::placeholder, textarea::placeholder{ color: var(--muted); }

/* Chips/buttons */
.sc-chip, .sc-action-btn, .sc-btn, button{
  background: var(--chip);
  color: var(--chipText);
  border: 1px solid var(--border);
}

/* Primary buttons (if you use these classes) */
.sc-btn-primary, .sc-btn-post{
  background: var(--btn) !important;
  color: var(--btnText) !important;
  border: none !important;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-color: #f7f7f7;
    --btn-bg: #007bff;
    --btn-text: #ffffff;
}

/* --------------------------
   DARK MODE
   -------------------------- */
[data-theme="dark"] {
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
    --card-color: #1a1a1a;
    --btn-bg: #222222;
    --btn-text: #ffffff;
}

/* --------------------------
   THEME APPLY
   -------------------------- */
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
}

.card, .box, .dashboard-card {
    background: var(--card-color);
    color: var(--text-color);
}

button, .btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover, .btn:hover {
    opacity: 0.8;
}
.sc-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #020617;        /* dark blue/black like FB mobile dark mode */
  color: #e5e7eb;
}

/* ===== MAIN COLUMN (centered) ===== */
.sc-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 10px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;       /* center cards on page */
  box-sizing: border-box;
}
.sc-alert {
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.sc-alert-bad {
  background:#7f1d1d;
  color:#fee2e2;
}
/* ===== FRIENDS LAYOUT (chat-style) ===== */

.sc-main-wide {
  max-width: 960px;
}

/* main card wrapper */
.sc-friends-card {
  background: #020617;
}

/* header text */
.sc-friends-header {
  text-align: center;
  margin-bottom: 10px;
}

.sc-friends-header h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

.sc-friends-header p {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

/* tabs row */
.sc-friends-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sc-friends-tab {
  border: none;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: #020617;
  color: #9ca3af;
  border: 1px solid #1f2937;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sc-friends-tab span {
  background: #111827;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 11px;
}

.sc-friends-tab-active {
  background: #1d4ed8;
  color: #f9fafb;
  border-color: #1d4ed8;
}

.sc-friends-layout {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

/* left list */
.sc-fr-list {
  flex: 0 0 280px;
  max-height: 480px;
  overflow-y: auto;
  border-right: 1px solid #111827;
  padding-right: 8px;
}

/* panels for each tab */
.sc-fr-panel {
  display: none;
}

.sc-fr-panel-active {
  display: block;
}

/* list item (contact) */
.sc-fr-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 10px;
  cursor: pointer;
}

.sc-fr-item:hover {
  background: #0b1120;
}

.sc-fr-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.sc-fr-main {
  flex: 1;
  min-width: 0;
}

.sc-fr-name {
  font-size: 13px;
  font-weight: 600;
}

.sc-fr-sub {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-fr-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-fr-empty {
  font-size: 12px;
  color: #6b7280;
  padding: 8px 2px;
}

/* right detail panel */
.sc-fr-detail {
  flex: 1;
  min-height: 220px;
  padding-left: 8px;
}

.sc-fr-placeholder {
  text-align: center;
  padding: 40px 10px;
  color: #9ca3af;
}

.sc-fr-placeholder h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.sc-fr-detail-inner {
  text-align: center;
  padding: 20px 10px;
}

.sc-fr-detail-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #f9fafb;
  margin: 0 auto 10px;
}

.sc-fr-detail-role {
  margin-top: 0;
  font-size: 12px;
  color: #9ca3af;
}

.sc-fr-detail-info {
  font-size: 13px;
  color: #e5e7eb;
  margin: 10px 0 12px;
}

.sc-fr-detail-info div {
  margin-bottom: 4px;
}

.sc-fr-detail-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sc-fr-detail-note {
  font-size: 11px;
  color: #6b7280;
}

/* responsive: stack nicely on phones */
@media (max-width: 768px) {
  .sc-main-wide {
    max-width: 100%;
  }

  .sc-friends-layout {
    flex-direction: column;
  }

  .sc-fr-list {
    flex: 1;
    max-height: 260px;
    border-right: none;
    border-bottom: 1px solid #111827;
    padding-right: 0;
    padding-bottom: 6px;
  }

  .sc-fr-detail {
    padding-left: 0;
  }
}
.sc-card {
  width: 100%;
  max-width: 580px;
  background: #020617;
  border-radius: 12px;
  border: 1px solid #1f2937;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* keep text inside cards left-aligned for readability */
.sc-card p,
.sc-card div {
  text-align: left;
}

/* ===== TOP NAV BAR ===== */
.sc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid #111827;
  backdrop-filter: blur(10px);
}

/* left logo */
.sc-nav-left {
  display: flex;
  align-items: center;
}

.sc-logo-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* middle tabs */
.sc-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;                  /* occupy middle space */
  margin: 0 4px;
  overflow-x: auto;         /* small phones can scroll a little */
  -webkit-overflow-scrolling: touch;
}

.sc-nav-tabs::-webkit-scrollbar {
  display: none;
}

.sc-nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  color: #9ca3af;
  white-space: nowrap;
}

.sc-nav-link:hover {
  background: #111827;
  color: #e5e7eb;
}

.sc-nav-link-active {
  background: #1d4ed8;
  color: #f9fafb;
}

/* right menu button */
.sc-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sc-menu-btn {
  border: none;
  outline: none;
  background: #111827;
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
}

/* dropdown menu */
.sc-menu {
  position: absolute;
  right: 8px;
  top: 46px;
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  box-sizing: border-box;
}

.sc-menu-header {
  display: flex;
  align-items: center;
  padding: 6px 6px 4px;
  border-bottom: 1px solid #111827;
  margin-bottom: 4px;
}

.sc-menu-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
}

.sc-menu-name {
  font-size: 13px;
  color: #e5e7eb;
}

.sc-menu a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: #e5e7eb;
  text-decoration: none;
}

.sc-menu a:hover {
  background: #111827;
}

/* ===== COMPOSER ===== */
.sc-composer {
  background: #020617;
}

.sc-composer-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.sc-avatar-small {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #e5e7eb;
}

.sc-input-textarea {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  padding: 8px 12px;
  font-size: 14px;
  background: #020617;
  color: #e5e7eb;
  resize: vertical;
}

.sc-input-textarea::placeholder {
  color: #6b7280;
}

.sc-input-textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.sc-composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* buttons / chips */
.sc-btn-primary {
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 7px 14px;
  background: #2563eb;
  color: #f9fafb;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.sc-btn-primary:active {
  transform: translateY(1px);
}

.sc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #e5e7eb;
  background: #111827;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.sc-chip-outline {
  background: transparent;
  border: 1px solid #374151;
}

/* ===== POSTS ===== */
.sc-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sc-post-meta {
  display: flex;
  flex-direction: column;
}

.sc-post-name {
  font-size: 14px;
  font-weight: 600;
}

.sc-post-sub {
  font-size: 11px;
  color: #6b7280;
}

.sc-post-text {
  font-size: 14px;
  margin: 6px 0 8px;
  color: #e5e7eb;
}

.sc-post-media {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #000;
}

.sc-media-img {
  display: block;
  width: 100%;
  height: auto;
}

.sc-media-video {
  display: block;
  width: 100%;
  max-height: 420px;
}

/* post footer actions */
.sc-post-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== SMALL SCREENS ===== */
@media (max-width: 480px) {
  .sc-nav {
    padding-inline: 6px;
  }
  .sc-nav-link {
    font-size: 11px;
    padding-inline: 8px;
  }
  .sc-main {
    padding-inline: 8px;
  }
}
/* ===== PROJECTS ===== */
.sc-projects-main { max-width: 960px; }

.sc-proj-dashboard h1 { font-size: 20px; margin-bottom: 10px; }
.sc-proj-summary {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.sc-proj-box {
  flex: 1 1 150px;
  text-align: center;
  background: #0b1120;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  color: #9ca3af;
}
.sc-proj-box span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #f9fafb;
}

.sc-proj-controls { text-align: right; margin: 10px 0; }
.sc-proj-list h2 { margin-bottom: 10px; }

.sc-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  gap: 12px;
}
.sc-proj-item {
  background: #0b1120;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-proj-item h3 { font-size: 15px; margin: 0; color: #f9fafb; }
.sc-proj-owner { font-size: 12px; color: #9ca3af; }
.sc-proj-desc { font-size: 13px; color: #e5e7eb; }
.sc-proj-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; color: #9ca3af;
  margin-top: auto;
}
.sc-proj-status {
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  text-transform: capitalize;
}
.sc-proj-status-inprogress { background: #facc15; color: #000; }
.sc-proj-status-completed { background: #16a34a; }
.sc-proj-status-timeout { background: #dc2626; }

/* modal */
.sc-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
}
.sc-modal-content {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 16px;
  width: 90%; max-width: 420px;
}
.sc-modal-content label {
  font-size: 13px; display: block; margin-top: 6px;
}
.sc-modal-content input,
.sc-modal-content textarea,
.sc-modal-content select {
  width: 100%;
  margin-top: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #0b1120;
  border: 1px solid #1f2937;
  color: #e5e7eb;
  font-size: 13px;
}
.sc-modal-actions {
  display: flex; justify-content: flex-end;
  gap: 8px; margin-top: 10px;
}
/* assets/css/login.css */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.sc-login-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #4f46e5, #0f172a 55%, #020617 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
}

.sc-login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 16px;
}

.sc-login-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.7);
    border: 1px solid #1f2937;
    backdrop-filter: blur(12px);
}

.sc-login-header h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fbbf24;
}

.sc-login-header p {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.sc-login-errors,
.sc-login-success {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.sc-login-errors {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fecaca;
}

.sc-login-success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #bbf7d0;
}

.sc-login-form {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sc-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-form-group label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.sc-form-group input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sc-form-group input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.7);
    background: #020617;
}

.sc-btn-primary {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(to right, #4f46e5, #6366f1);
    color: #f9fafb;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sc-btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
    transform: translateY(-1px);
}

.sc-btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.sc-login-footer {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.sc-login-footer a {
    color: #38bdf8;
    text-decoration: none;
}

.sc-login-footer a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .sc-login-card {
        padding: 20px 18px 16px;
    }
    .sc-login-header h1 {
        font-size: 1.4rem;
    }
}
/* =========================
   LOGIN PAGE – StudentConnect
   ========================= */

body.auth-centered {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  padding: 24px 20px 18px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.95);
}

/* Top logo + title */
.auth-logo {
  text-align: center;
  margin-bottom: 10px;
}

.auth-logo h1 {
  margin: 10px 0 4px;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f97316; /* orange accent */
}

/* Round logo circle – you can swap background-image if you have a logo image */
.logo.logo-big {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #ea580c);
  box-shadow: 0 0 30px rgba(248, 250, 252, 0.18);
}

/* Subtitle */
.auth-subtitle {
  text-align: center;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Card that holds the form */
.auth-card-centered {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Alert for errors */
.alert.bad {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.9);
  color: #fecaca;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Form */
.form.auth-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form.auth-form input[type="email"],
.form.auth-form input[type="password"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #374151;
  padding: 10px 14px;
  font-size: 0.9rem;
  background: #020617;
  color: #e5e7eb;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form.auth-form input[type="email"]::placeholder,
.form.auth-form input[type="password"]::placeholder {
  color: #6b7280;
}

.form.auth-form input[type="email"]:focus,
.form.auth-form input[type="password"]:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
  background: #020617;
}

/* Buttons */
.btn {
  appearance: none;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.16s ease;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(to right, #4f46e5, #6366f1);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.btn-full:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.85);
}

.btn-full:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.7);
}

.btn-green {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #ecfdf5;
}

.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
}

.btn-create {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  text-decoration: none;
}

/* Forgot password link */
.auth-forgot {
  display: block;
  margin: 6px 0 10px;
  text-align: right;
  font-size: 0.82rem;
  color: #60a5fa;
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

/* Divider with "or" text */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 6px;
  font-size: 0.78rem;
  color: #6b7280;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #374151);
}

.auth-divider span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

/* Footer */
.auth-footnote {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Responsive: small phones */
@media (max-width: 480px) {
  .auth-box {
    max-width: 94%;
    padding: 18px 14px 14px;
    border-radius: 16px;
  }

  .auth-logo h1 {
    font-size: 1.2rem;
  }

  .auth-subtitle {
    font-size: 0.85rem;
  }
}

/* Responsive: large desktop – slightly wider card */
@media (min-width: 1024px) {
  .auth-box {
    max-width: 460px;
  }
}


