/* ============================================================
   TaxRun Payroll — Landing Page styles (standalone)
   Contains ONLY the shared dark-theme tokens and the
   landing-page UI. No internal/admin/client/driver styles.
   ============================================================ */

/* ── Shared dark-theme variables (same as the main app) ── */
:root {
  --bg: #0d0d0d;
  --bg2: #161616;
  --bg3: #1f1f1f;
  --bg4: #2a2a2a;
  --text: #f0f0f0;
  --text2: #888;
  --text3: #444;
  --gold: #c9a84c;
  --gold2: #e8c97a;
  --goldbg: rgba(201, 168, 76, 0.1);
  --goldbr: rgba(201, 168, 76, 0.28);
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.13);
  --gbg: #0e2210;
  --gtx: #6ec86e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  min-height: 100vh;
}

/* ── Landing container ──
   Adapted for standalone use: a full-height centered column
   that scrolls on small screens (the original was a fixed
   overlay inside the single-file app).                        */
#landing {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.lp-logo {
  margin-bottom: 12px;
}

.lp-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}

.lp-tagline {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 52px;
}

/* ── Cards grid ── */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 720px;
}

.lp-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px 22px;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.lp-card:hover {
  border-color: var(--goldbr);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
}

.lp-card:active {
  transform: translateY(-1px);
}

.lp-card-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.lp-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lp-card-desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.65;
}

.lp-card-badge {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* ── Per-role accents (top border colors kept identical) ── */
.lp-admin {
  border-top: 2px solid var(--gold);
}
.lp-admin .lp-card-badge {
  background: var(--goldbg);
  color: var(--gold);
  border: 1px solid var(--goldbr);
}
.lp-admin:hover {
  background: rgba(201, 168, 76, 0.05);
}

.lp-client {
  border-top: 2px solid #5b8dd9;
}
.lp-client .lp-card-badge {
  background: rgba(91, 141, 217, 0.12);
  color: #8ab4f8;
  border: 1px solid rgba(91, 141, 217, 0.3);
}
.lp-client:hover {
  background: rgba(91, 141, 217, 0.04);
}

.lp-driver {
  border-top: 2px solid #5cba7d;
}
.lp-driver .lp-card-badge {
  background: var(--gbg);
  color: var(--gtx);
  border: 1px solid rgba(92, 186, 125, 0.25);
}
.lp-driver:hover {
  background: rgba(92, 186, 125, 0.04);
}

/* ── Footer ── */
.lp-footer {
  margin-top: 44px;
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  line-height: 1.8;
}

#toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;

    min-width: 280px;
    max-width: 450px;
    padding: 14px 18px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

#toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#toast.success {
    background: #198754;
}

#toast.error {
    background: #dc3545;
}