/* ===== OAC — Blue / Silver / White Theme ===== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #c0c0c0;
    background: #0b0e14;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Links ---------- */
a {
    color: #1e90ff;
    text-decoration: none;
    transition: color .2s ease;
}
a:hover {
    color: #63b3ed;
}

/* ---------- Header / Navbar ---------- */
.site-header {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
    color: #c0c0c0;
    padding: .4rem .75rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
}

.nav-links .user-greeting {
    color: #a0a0a0;
    font-weight: 400;
    font-size: .85rem;
}

/* Logout button styled as nav link */
.btn-logout {
    background: transparent;
    border: 1px solid rgba(192, 192, 192, .3);
    color: #c0c0c0;
    padding: .35rem .75rem;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.btn-logout:hover {
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
}

/* ---------- Main Content ---------- */
.site-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* ---------- Cards & Containers ---------- */
.card {
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .5rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}

.btn-primary {
    background: #1e90ff;
    color: #ffffff;
}
.btn-primary:hover {
    background: #1a7de0;
    box-shadow: 0 4px 14px rgba(30, 144, 255, .4);
}

.btn-secondary {
    background: #3a3f4b;
    color: #c0c0c0;
}
.btn-secondary:hover {
    background: #4a4f5b;
}

.btn-danger {
    background: #e74c3c;
    color: #ffffff;
}
.btn-danger:hover {
    background: #c0392b;
    box-shadow: 0 4px 12px rgba(231, 76, 60, .35);
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid rgba(192, 192, 192, .2);
    border-radius: 6px;
    font-size: .9rem;
    color: #e0e0e0;
    background: #1a1e2a;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, .25);
}

label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    font-size: .875rem;
    color: #c0c0c0;
}

.form-group {
    margin-bottom: 1rem;
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
th, td {
    text-align: left;
    padding: .65rem .75rem;
    border-bottom: 1px solid rgba(192, 192, 192, .1);
}
th {
    background: #0a3d62;
    color: #c0c0c0;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
tr:hover {
    background: rgba(30, 144, 255, .05);
}

/* ---------- Validation ---------- */
.text-danger {
    color: #e74c3c;
    font-size: .8rem;
}

.validation-summary-errors ul {
    list-style: none;
    padding: .75rem 1rem;
    background: rgba(231, 76, 60, .1);
    border-left: 4px solid #e74c3c;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #2f3640;
    color: #c0c0c0;
    text-align: center;
    padding: 1.25rem 1.5rem;
    font-size: .85rem;
    margin-top: auto;
}

.site-footer .footer-brand {
    font-weight: 700;
    color: #e0e0e0;
    font-size: .95rem;
}

.site-footer a {
    color: #1e90ff;
}
.site-footer a:hover {
    color: #63b3ed;
}

/* ---------- Utility ---------- */
.text-center  { text-align: center; }
.text-muted   { color: #7f8c8d; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ---------- Hero Section ---------- */
.hero {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    padding: 4rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: .75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #c0c0c0;
    max-width: 620px;
    margin: 0 auto 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    width: 100%;
    text-align: left;
}

.hero-feature h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: .35rem;
    font-weight: 700;
}

.hero-feature p {
    font-size: .9rem;
    color: #c0c0c0;
    line-height: 1.5;
}

/* ---------- Features Section ---------- */
.features {
    padding: 2rem 0 2rem;
}

.features h2 {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: .75rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: #1e90ff;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    border-radius: 12px;
    padding: 4rem 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: .5rem;
}

.cta-description {
    font-size: 1rem;
    color: #c0c0c0;
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ---------- Plan Cards ---------- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.plan-card {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(192, 192, 192, .15);
    border-radius: 12px;
    padding: 2.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.plan-card--featured {
    border-color: rgba(30, 144, 255, .5);
    box-shadow: 0 0 20px rgba(30, 144, 255, .15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    background: #1e90ff;
    color: #ffffff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .25rem .85rem;
    border-radius: 20px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: .5rem;
}

.plan-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e90ff;
    margin-bottom: .75rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #a0a0a0;
}

.plan-desc {
    font-size: .9rem;
    color: #c0c0c0;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-plan {
    background: #00c851;
    color: #ffffff;
    padding: .6rem 2rem;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn-plan:hover {
    background: #00b347;
    box-shadow: 0 6px 18px rgba(0, 200, 81, .4);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-cta {
    background: #00c851;
    color: #ffffff;
    padding: .65rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: box-shadow .2s ease, transform .2s ease;
}

.btn-cta:hover {
    background: #00b347;
    box-shadow: 0 6px 18px rgba(0, 200, 81, .4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        margin-left: 0;
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 2.5rem 1rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-features {
        grid-template-columns: 1fr;
    }
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 540px;
        margin: 0 auto;
    }
    .cta-section {
        padding: 2rem 1rem;
    }
    .cta-title {
        font-size: 1.35rem;
    }
    .timeline::before {
        left: 1rem;
    }
    .timeline-item,
    .timeline-item--reverse {
        flex-direction: column;
        gap: 1rem;
    }
    .timeline-img-wrap {
        flex: none;
    }
    .timeline-img {
        height: 180px;
    }
    .about-why {
        padding: 2.5rem 1rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .features-grid,
    .plan-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .feature-card,
    .plan-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .feature-card img,
    .plan-card img {
        max-width: 100%;
        height: auto;
    }
}

/* ---------- Admin ---------- */
.nav-admin {
    background: rgba(255, 193, 7, .15);
    color: #ffc107 !important;
    font-weight: 600;
    border-radius: 6px;
}
.nav-admin:hover,
.nav-admin:focus {
    background: rgba(255, 193, 7, .25);
    color: #ffda44 !important;
}

.admin-header {
    border-bottom: 1px solid rgba(192, 192, 192, .1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: .35rem;
}

.admin-actions {
    display: flex;
    gap: .4rem;
}

.btn-sm {
    padding: .3rem .7rem;
    font-size: .8rem;
}

.badge-published {
    background: rgba(0, 200, 81, .15);
    color: #00c851;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}

.badge-draft {
    background: rgba(192, 192, 192, .1);
    color: #a0a0a0;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}

.badge-plan {
    background: rgba(30, 144, 255, .15);
    color: #1e90ff;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    margin-right: .3rem;
    display: inline-block;
}

.plan-checkboxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .35rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 400;
    font-size: .9rem;
    color: #c0c0c0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    accent-color: #1e90ff;
}

/* Content Type Selector */
.content-type-selector {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .35rem;
}

.content-type-option {
    display: block;
    margin-bottom: 0;
}

.content-type-option input[type="radio"] {
    display: none;
}

.content-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(192, 192, 192, .15);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    font-size: .85rem;
    font-weight: 600;
    color: #c0c0c0;
    min-width: 110px;
}

.content-type-option input[type="radio"]:checked + .content-type-card {
    border-color: #1e90ff;
    background: rgba(30, 144, 255, .1);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(30, 144, 255, .25);
}

.content-type-card:hover {
    border-color: rgba(30, 144, 255, .4);
    background: rgba(30, 144, 255, .05);
}

.content-type-icon {
    font-size: 1.75rem;
    line-height: 1;
}

/* Content Type Badges */
.badge-type {
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-type--textlesson {
    background: rgba(30, 144, 255, .15);
    color: #1e90ff;
}

.badge-type--visualcard {
    background: rgba(155, 89, 182, .15);
    color: #9b59b6;
}

.badge-type--book {
    background: rgba(243, 156, 18, .15);
    color: #f39c12;
}

.badge-type--video {
    background: rgba(231, 76, 60, .15);
    color: #e74c3c;
}

.detail-row {
    margin-bottom: .75rem;
}

.detail-row strong {
    color: #e0e0e0;
    margin-right: .5rem;
}

.content-body {
    color: #c0c0c0;
    line-height: 1.7;
}

/* ---------- About Page ---------- */
.about-pillars .feature-card {
    text-align: center;
    padding-top: 0;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 1.25rem;
}

.about-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Our Story */
.about-story p {
    color: #c0c0c0;
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.about-story strong {
    color: #1e90ff;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 1rem 0 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e90ff 0%, rgba(30,144,255,.15) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}
.timeline-item--reverse {
    flex-direction: row-reverse;
}

.timeline-img-wrap {
    flex: 0 0 45%;
}
.timeline-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-phase {
    display: inline-block;
    background: rgba(30, 144, 255, .15);
    color: #1e90ff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .2rem .7rem;
    border-radius: 20px;
    margin-bottom: .5rem;
    width: fit-content;
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: .4rem;
}

.timeline-content p {
    font-size: .9rem;
    color: #c0c0c0;
    line-height: 1.6;
}

/* Why We Exist */
.about-why {
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    border-radius: 12px;
    padding: 4rem 1.5rem;
}

.about-why-inner {
    max-width: 750px;
    margin: 0 auto;
}

.about-why-text {
    font-size: 1rem;
    color: #c0c0c0;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    padding: 2.5rem 2rem;
}

.contact-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    border-radius: 8px;
    background: rgba(30, 144, 255, .06);
    border: 1px solid rgba(192, 192, 192, .1);
    color: #c0c0c0;
    font-size: .95rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.contact-link:hover {
    background: rgba(30, 144, 255, .15);
    color: #ffffff;
    border-color: rgba(30, 144, 255, .3);
}

.contact-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ---------- Free Content Page ---------- */
.content-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(192, 192, 192, .1);
    padding-bottom: .75rem;
}

.content-tab {
    background: transparent;
    border: 1px solid rgba(192, 192, 192, .15);
    border-radius: 8px;
    padding: .5rem 1.25rem;
    font-size: .875rem;
    font-weight: 600;
    color: #a0a0a0;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.content-tab:hover {
    background: rgba(30, 144, 255, .08);
    color: #ffffff;
    border-color: rgba(30, 144, 255, .3);
}

.content-tab.active {
    background: rgba(30, 144, 255, .15);
    color: #1e90ff;
    border-color: #1e90ff;
    box-shadow: 0 0 10px rgba(30, 144, 255, .2);
}

.free-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.free-content-card {
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
}

.free-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    border-color: rgba(30, 144, 255, .3);
    color: inherit;
}

.free-content-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.free-content-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a3d62 0%, #3c6382 100%);
    font-size: 3rem;
}

.free-content-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.free-content-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: .5rem 0 .35rem;
}

.free-content-summary {
    font-size: .875rem;
    color: #a0a0a0;
    line-height: 1.5;
    flex: 1;
}

.free-content-date {
    font-size: .75rem;
    color: #7f8c8d;
    margin-top: .75rem;
}

@media (max-width: 768px) {
    .free-content-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Coupon Alerts ---------- */
.coupon-alert {
    padding: .85rem 1.25rem;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.coupon-alert--success {
    background: rgba(0, 200, 81, .12);
    border: 1px solid rgba(0, 200, 81, .3);
    color: #00c851;
}

.coupon-alert--error {
    background: rgba(231, 76, 60, .12);
    border: 1px solid rgba(231, 76, 60, .3);
    color: #e74c3c;
}

/* ---------- User Dashboard ---------- */
.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(192, 192, 192, .1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.dash-header h1 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: .25rem;
}

.dash-header-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

/* Stat Cards Row */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.dash-stat-card {
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.dash-stat-card--active {
    border-color: rgba(0, 200, 81, .3);
    background: linear-gradient(135deg, #1a1e2a 0%, rgba(0, 200, 81, .06) 100%);
}

.dash-stat-card--compact {
    padding: 1rem;
}

.dash-stat-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: .5rem;
}

.dash-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: .2rem;
}

.dash-stat-card--compact .dash-stat-value {
    font-size: 1.35rem;
}

.dash-stat-label {
    font-size: .8rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

/* Dashboard Sections */
.dash-section {
    margin-bottom: 2.5rem;
}

.dash-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(192, 192, 192, .08);
}

/* Active Subscription Cards */
.dash-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.dash-sub-card {
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    padding: 1.25rem;
}

.dash-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.dash-sub-plan {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e90ff;
}

.dash-sub-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: #c0c0c0;
    margin-bottom: .4rem;
}

.dash-sub-detail strong {
    color: #e0e0e0;
}

/* Progress bar */
.dash-progress {
    height: 6px;
    background: rgba(192, 192, 192, .1);
    border-radius: 3px;
    margin: .6rem 0;
    overflow: hidden;
}

.dash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00c851, #1e90ff);
    border-radius: 3px;
    transition: width .4s ease;
}

/* Content Grid */
.dash-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.dash-content-card {
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dash-content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.dash-content-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.dash-content-img-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 144, 255, .05);
    font-size: 2.5rem;
}

.dash-content-body {
    padding: 1rem 1.25rem 1.25rem;
}

.dash-content-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: .5rem 0 .35rem;
}

.dash-content-body p {
    font-size: .85rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: .5rem;
}

.dash-content-meta {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: #7f8c8d;
}

/* Timeline */
.dash-timeline {
    position: relative;
    padding-left: 2rem;
}

.dash-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e90ff 0%, rgba(30, 144, 255, .1) 100%);
}

.dash-timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.dash-timeline-badge {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: -2rem;
    margin-top: .2rem;
    border: 2px solid #0b0e14;
}

.timeline-badge--success { background: #00c851; }
.timeline-badge--warning { background: #f39c12; }
.timeline-badge--danger  { background: #e74c3c; }
.timeline-badge--info    { background: #1e90ff; }

.dash-timeline-content {
    display: flex;
    flex-direction: column;
    font-size: .88rem;
    color: #c0c0c0;
    line-height: 1.4;
}

.dash-timeline-date {
    font-size: .75rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: .1rem;
}

/* Quick Actions */
.dash-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dash-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    background: #1a1e2a;
    border: 1px solid rgba(192, 192, 192, .1);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #c0c0c0;
    font-size: .9rem;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.dash-action-card:hover {
    background: rgba(30, 144, 255, .06);
    border-color: rgba(30, 144, 255, .3);
    color: #ffffff;
    transform: translateY(-2px);
}

.dash-action-icon {
    font-size: 1.75rem;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-header {
        flex-direction: column;
    }
    .dash-content-grid {
        grid-template-columns: 1fr;
    }
}
