﻿/* -------- Global contrast / typography -------- */


:root {
    --bg0: #0b1220;
    --bg1: #0f172a;
    --card: #111c2c;
    --card2: #0f1a2a;
    --border: rgba(255,255,255,.10);
    --text: #e5e7eb;
    --muted: rgba(229,231,235,.70);
    --muted2: rgba(229,231,235,.55);
}

body {
    background: radial-gradient(1200px 600px at 20% 0%, #0f1b33 0%, var(--bg0) 55%, #070b14 100%);
    color: var(--text);
}
.lms-app-body, .lms-app-body * {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}
/*body {
    background: linear-gradient( 135deg, #0f2027, #203a43, #2c5364 );
}

body {
    background: linear-gradient( 135deg, #2b1055, #3a1c71, #1e3c72 );
}*/


h1, h2, h3, h4, h5 {
    color: #f8fafc;
    letter-spacing: .2px;
}

.muted {
    color: var(--muted) !important;
}

.text-muted {
    color: var(--muted2) !important;
}

/* -------- Cards: stronger contrast -------- */
.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}
/*.card {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
*/
/* -------- "Stat cards" like Questions/Attempts/Avg Score -------- */
.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 18px 18px;
    min-height: 92px;
}

    .stat-card .stat-label {
        color: rgba(255,255,255,.72);
        font-size: 13px;
        letter-spacing: .3px;
        text-transform: uppercase;
    }

    .stat-card .stat-value {
        margin-top: 10px;
        font-size: 34px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1;
        text-shadow: 0 6px 18px rgba(0,0,0,.35);
    }

/* -------- Buttons: make outline buttons more visible -------- */
.btn-outline-light {
    border-color: rgba(255,255,255,.28);
    color: rgba(255,255,255,.92);
}

    .btn-outline-light:hover {
        border-color: rgba(255,255,255,.42);
        background: rgba(255,255,255,.08);
        color: #fff;
    }

/* Soft badge used in your UI */
.badge-soft {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    font-weight: 600;
}
.btn
{
    margin-left:5px !important;margin-right:5px!important;
}

.lms-home-bg {
    min-height: 100vh;
    background: linear-gradient( 135deg, rgba(15, 23, 42, 0.92), rgba(30, 58, 138, 0.85) ), url('/images/elearning-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ================================
   INNER PAGES (Blue gradient only)
================================ */
.lms-app-bg {
    min-height: 100vh;
    background: linear-gradient( 135deg, #0f172a, #1e3a8a );
}

/* ================================
   Glass card (shared)
================================ */
.lms-glass {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #e5e7eb;
}

.muted {
    color: #94a3b8;
}
/* ===== Global gradient (all inner pages) ===== */
body.lms-app-bg {
    background: radial-gradient(1200px 600px at 20% 0%, rgba(59,130,246,.18), transparent 60%), radial-gradient(900px 500px at 90% 10%, rgba(99,102,241,.20), transparent 55%), linear-gradient(135deg, #070b18 0%, #0b1637 40%, #0b2a6f 100%);
}

    /* Make AdminLTE wrappers transparent so body gradient shows */
    body.lms-app-bg .content-wrapper,
    body.lms-app-bg .main-header,
    body.lms-app-bg .main-footer {
        background: transparent !important;
    }

    /* Content area spacing */
    body.lms-app-bg .content-wrapper {
        padding-bottom: 20px;
    }

    /* Optional: soften cards to match gradient */
    body.lms-app-bg .card {
        background: rgba(15, 23, 42, .72);
        border: 1px solid rgba(255,255,255,.08);
        color: #e5e7eb;
    }

    body.lms-app-bg .text-muted, body.lms-app-bg .muted {
        color: #94a3b8 !important;
    }
/* ===== Home (special gradient hero) ===== */
.lms-home-hero {
    min-height: calc(100vh - 58px); /* minus navbar height approx */
    display: flex;
    align-items: center;
    background: radial-gradient(1000px 600px at 15% 10%, rgba(14,165,233,.22), transparent 60%), radial-gradient(900px 500px at 85% 20%, rgba(99,102,241,.24), transparent 55%), radial-gradient(700px 400px at 60% 90%, rgba(34,197,94,.10), transparent 55%), linear-gradient(135deg, #070b18 0%, #0b1637 45%, #0b2a6f 100%);
    border-radius: 18px;
    padding: 48px;
}

    /* Full width feel */
    .lms-home-hero .hero-inner {
        width: 100%;
    }

/* Feature tiles */

/* ===== Background like screenshot (pink/purple) ===== */
.lms-landing-bg {
    min-height: 100vh;
    background:
    /* Soft mint glow */
    radial-gradient(900px 600px at 20% 20%, rgba(52, 211, 153, .25), transparent 60%),
    /* Soft lavender glow */
    radial-gradient(800px 500px at 80% 40%, rgba(167, 139, 250, .20), transparent 60%),
    /* Light base gradient */
    linear-gradient( 135deg, #e2e8f0 0%, /* light slate */
    #cbd5e1 40%, /* soft gray-blue */
    #a7f3d0 75%, /* pale mint */
    #f1f5f9 100% /* almost white */
    );
}

    /* Keep layout transparent */
    .lms-landing-bg .wrapper,
    .lms-landing-bg .content-wrapper,
    .lms-landing-bg .main-footer {
        background: transparent !important;
    }

.lms-home-wrapper {
    padding-top: 40px;
}
/* Top nav style like screenshot */
.lms-topnav {
    background: transparent !important;
    padding: 18px 22px;
}

    .lms-topnav .nav-link {
        color: rgba(255,255,255,.88) !important;
        font-weight: 600;
        padding: 10px 14px;
    }

        .lms-topnav .nav-link:hover {
            color: #ffffff !important;
            text-decoration: none;
        }

/* Pill button (Sign up / Sign in) */
.lms-pill-btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

    .lms-pill-btn:hover {
        background: rgba(255,255,255,.18);
        border-color: rgba(255,255,255,.28);
    }

/* Small logo dot like screenshot */
.lms-logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    box-shadow: 0 0 18px rgba(236,72,153,.55);
}

/* Content wrapper full width + no left gap (since no sidebar) */
.lms-content-wrapper {
    margin-left: 0 !important;
}

/* Optional: cards look nicer on gradient */
.lms-landing-bg .card {
    background: rgb(16 36 44 / 32%);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    color: #e5e7eb;
}
.btn-primary {
    background-color: rgb(55, 64, 73) !important;
    border-color: rgb(0, 0, 0) !important;
}
}

.lms-landing-bg .text-muted, .lms-landing-bg .muted {
    color: #cbd5e1 !important;
}
.lms-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #5f707a;
    letter-spacing: .3px;
}

.lms-hero-subtitle {
    max-width: 720px;
    font-size: 1rem;
    color: #5f707a !important;
    line-height: 1.6;
    color: #e5e7eb;
}
.lms-seeded {
    border: 1px dashed rgba(255,255,255,.35);
    border-radius: 14px;
    padding: 16px 20px;
    background: rgba(0,0,0,.25);
    color: #e5e7eb;
}

    .lms-seeded code {
        color: #fca5a5;
    }
.lms-topnav {
    padding-top: 14px;
    padding-bottom: 14px;
}

    .lms-topnav .navbar-nav {
        gap: 8px;
    }
.lms-feature {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    transition: all .25s ease;
    color: inherit;
}

    .lms-feature:hover {
        transform: translateY(-6px);
        background: rgba(59,130,246,.18);
        border-color: rgba(59,130,246,.45);
    }

/* Step blocks */
.lms-step {
    background: rgba(0,0,0,.16);
    border: 1px dashed rgba(255,255,255,.18);
}


/* Clickable action cards */

/* Teacher dashboard hover cards (same feel as admin) */

.lms-hover-card {
    background: rgba(15, 23, 42, .55);
    
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    transition: all .25s ease;
}

    .lms-hover-card:hover {
        transform: translateY(-6px);
        background: rgba(59,130,246,.18);
        border-color: rgba(59,130,246,.45);
        box-shadow: 0 18px 40px rgba(0,0,0,.25);
    }

/* subtle inner blocks */
.lms-inner-card {
    background: rgba(0,0,0,.16);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
}

/* inactive course slightly muted */
.lms-course-inactive {
    opacity: .72;
}


.list-group-item {
    border-radius: 10px;
    margin-bottom: 10px;
    background: transparent!important;
    border: 1px #fff solid !important;
}

    .list-group-item:last-child {
        margin-bottom: 0;
    }

/* FOOTER */
.lms-footer {
    background: #f8fafc;
    padding: 60px 0 20px;
    border-top: 1px solid #e5e7eb;
    font-family: 'Inter', sans-serif;
}

.lms-footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* LEFT SECTION */
.lms-footer-left {
    max-width: 420px;
}

.lms-brand-mark.small {
    width: 60px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-brand-mark img {
    width: 28px;
}

/* LINKS AREA */
.lms-footer-links {
    display: flex;
    gap: 80px;
}

.lms-footer-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 14px;
    color: #0f172a;
}

.lms-footer-links a {
    display: block;
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
    text-decoration: none;
}

    .lms-footer-links a:hover {
        color: #0f172a;
    }

/* BOTTOM BAR */
.lms-footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

    .lms-footer-bottom a {
        color: #64748b;
        text-decoration: none;
        margin-left: 20px;
    }

        .lms-footer-bottom a:hover {
            color: #0f172a;
        }