
/* =========================================================
   Hot Saddle – Shared Theme (EVOLVED / MODERN)
   Accent:   #F44667
   Secondary:#41436A
   Dark BG:  #0f0f14
========================================================= */

/* =========================================================
   1. Design Tokens
========================================================= */

/* =========================
   LIGHT (DEFAULT)
========================= */
:root {
  --bg-main: #f7f7fb;
  --card-bg: #ffffff;
  --text-main: #121212;
  --text-muted: #555555;
  --border-subtle: rgba(0,0,0,0.1);
}

/* =========================
   DARK (SYSTEM)
========================= */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #121212;
    --card-bg: #1f1f1f;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --border-subtle: rgba(255,255,255,0.15);
  }
}
/* =========================================================
   2. Base / Typography
========================================================= */

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-soft);
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* =========================================================
   3. Hero & Highlight Sections (Landing-safe)
========================================================= */

.hero {
    background: radial-gradient(
        circle at top,
        rgba(244,70,103,0.25),
        transparent 60%
    );
}

.live-card {
    background: linear-gradient(135deg, #3a3c7a, #242654);
}

/* =========================================================
   4. Admin Headers
========================================================= */

.admin-header {
    background: linear-gradient(
        180deg,
        rgba(244,70,103,0.22),
        rgba(244,70,103,0.08)
    );
    border: 1px solid rgba(244,70,103,0.35);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.admin-header h1,
.admin-header h2 {
    margin: 0;
    color: var(--text-main);
}

/* =========================================================
   5. Cards & Containers
========================================================= */

.card {
    background-color: var(--bg-card);
    border: none;
    border-radius: 16px;
    color: var(--text-main);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.card-header {
    background-color: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-main);
}

.shadow-sm {
    box-shadow: 0 10px 26px rgba(0,0,0,0.40);
}

.shadow-soft {
    box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}

/* =========================================================
   6. Buttons
========================================================= */

.btn {
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-primary,
.btn-orange {
    background-color: var(--accent) !important;
    border: none;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-orange:hover {
    background-color: var(--accent-soft) !important;
}

.btn-outline-light {
    border-color: var(--border-soft);
    color: var(--text-main);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}

.btn-danger {
    background: rgba(220,53,69,0.85);
    border: none;
}

.btn-danger:hover {
    background: rgba(220,53,69,1);
}

.btn-warning {
    background: rgba(255,193,7,0.95);
    border: none;
    color: #000;
}

.btn-warning:hover {
    background: rgba(255,193,7,1);
    color: #000;
}

/* =========================================================
   7. Tables
========================================================= */

.table {
    color: var(--text-main);
}

.table th {
    background-color: var(--bg-card-alt);
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}

.table td {
    color: var(--text-muted);
    border-color: var(--border-soft);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.04);
}

.table-hover tbody tr:hover {
    background-color: rgba(255,255,255,0.08);
}

/* =========================================================
   8. Badges & Status
========================================================= */

.badge {
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 999px;
    padding: .35em .6em;
}

.badge-live {
    background: linear-gradient(90deg,#22c55e,#16a34a);
    color:#fff;
}

.badge-upcoming {
    background: linear-gradient(90deg,#facc15,#eab308);
    color:#000;
}

/* =========================================================
   9. Alerts
========================================================= */

.alert {
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.30);
}

/* =========================================================
   10. Media & Video
========================================================= */

.instructor-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.video-date {
    font-weight: 600;
    color: #00ff9c;
}

.video-title {
    color: var(--text-muted);
}

/* =========================================================
   11. Utilities
========================================================= */

.text-muted,
.muted {
    color: var(--text-soft) !important;
}

.action-tile {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    transition: all .15s ease;
    color: var(--text-main);
}

.action-tile:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.action-tile.primary {
    background: rgba(244,70,103,0.18);
}

.action-tile.danger {
    background: rgba(220,53,69,0.18);
}
/* =========================================================
   Baseline Grid (8px system)
========================================================= */

.mb-6 { margin-bottom: 3rem; } /* 48px */
.mt-6 { margin-top: 3rem; }

/* =========================================================
   Motion Polish (respectful)
========================================================= */

.motion-lift {
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.motion-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.5);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .motion-lift {
        transition: none;
    }
}

/* =========================================================
   Accessibility Enhancements
========================================================= */

/* Focus visibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Improve form contrast */
.form-control {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-main);
    border-color: var(--border-soft);
}

.form-control::placeholder {
    color: var(--text-soft);
}

/* Ensure alerts are readable */
.alert {
    line-height: 1.5;
}
