/* =========================================================
   Content Library
========================================================= */

.content-workspace {
    width: min(1050px, calc(100% - 60px));
    margin: auto;
    padding: 45px 0 90px;
}

.content-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}

.content-heading h1 {
    font-size: 36px;
    letter-spacing: -1px;

    margin: 4px 0;
}

.content-heading > div > p:last-child {
    color: var(--muted);
}

.content-toolbar {
    display: grid;
    grid-template-columns: 1fr 200px;

    gap: 12px;

    margin-bottom: 20px;
}

.content-search input,
.content-toolbar select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    background: white;

    font: inherit;

    outline: none;
}

.content-search input:focus,
.content-toolbar select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(79,70,229,.08);
}

.library-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.library-card {
    min-height: 145px;

    position: relative;

    display: grid;
    grid-template-columns: 50px 1fr;

    gap: 16px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 20px;

    transition: .2s ease;
}

.library-card:hover {
    border-color: #c7d2fe;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(15,23,42,.06);
}

.library-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--primary-light);

    font-size: 22px;
}

.library-type {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.library-card h3 {
    padding-right: 25px;

    font-size: 16px;
}

.library-card p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 4px;
}

.library-date {
    color: #98a2b3;

    font-size: 10px;

    margin-top: 15px;
}

.library-arrow {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);

    font-size: 20px;
}

.content-loading {
    padding: 35px;

    text-align: center;

    color: var(--muted);
}

.content-empty {
    background: white;

    border: 1px dashed #d0d5dd;
    border-radius: 14px;

    padding: 60px 25px;

    text-align: center;
}

.content-empty > div {
    font-size: 35px;

    margin-bottom: 10px;
}

.content-empty p {
    color: var(--muted);

    margin: 6px 0 20px;
}


@media (max-width: 850px) {

    .library-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .content-workspace {
        width: calc(100% - 30px);
    }

    .content-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-toolbar {
        grid-template-columns: 1fr;
    }

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

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;

    --text: #172033;
    --muted: #667085;

    --border: #e5e7eb;
    --background: #ffffff;
    --soft: #f8fafc;

    --radius: 16px;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   Navigation
========================================================= */

.navbar {
    height: 78px;
    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);

    background: rgba(255,255,255,.96);

    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--primary);
    color: white;

    font-size: 22px;
    font-weight: 800;
}

.brand-name {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
}

.brand-name span {
    color: var(--primary);
}

.brand-subtitle {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;

    font-size: 14px;
    font-weight: 600;

    color: #475467;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 10px;
}


/* =========================================================
   Buttons
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
}

.btn-secondary:hover {
    border-color: #c7d2fe;
    background: var(--primary-light);
}

.btn-large {
    padding: 14px 22px;
    font-size: 15px;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
}


/* =========================================================
   Hero
========================================================= */

.hero {
    padding: 100px 0 90px;

    background:
        radial-gradient(
            circle at 80% 20%,
            #eef2ff 0,
            transparent 35%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    display: inline-block;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .07em;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.5px;

    max-width: 720px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    color: var(--muted);

    font-size: 19px;

    max-width: 650px;

    margin-top: 25px;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 32px;
}

.hero-note {
    color: var(--muted);
    font-size: 13px;

    margin-top: 16px;
}


/* =========================================================
   Product Preview
========================================================= */

.product-preview {
    background: white;

    border: 1px solid var(--border);
    border-radius: 22px;

    padding: 22px;

    box-shadow:
        0 30px 80px rgba(15,23,42,.12);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}

.preview-header small {
    display: block;
    color: var(--muted);
}

.preview-header strong {
    font-size: 18px;
}

.preview-badge {
    background: var(--primary-light);
    color: var(--primary);

    border-radius: 999px;

    padding: 6px 10px;

    font-size: 12px;
    font-weight: 700;
}

.preview-card {
    background: var(--soft);

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 20px;
}

.preview-card label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    margin: 12px 0 5px;
}

.fake-input {
    background: white;

    border: 1px solid var(--border);
    border-radius: 8px;

    padding: 10px 12px;

    color: #344054;

    font-size: 14px;
}

.fake-generate {
    margin-top: 20px;

    background: var(--primary);
    color: white;

    border-radius: 9px;

    padding: 12px;

    text-align: center;

    font-weight: 700;
}


/* =========================================================
   Trust Strip
========================================================= */

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    padding: 20px 0;

    background: white;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 22px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   Sections
========================================================= */

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.section-heading p {
    margin-top: 16px;

    color: var(--muted);
    font-size: 17px;
}


/* =========================================================
   Features
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 28px;

    background: white;

    transition: .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(15,23,42,.08);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   Steps
========================================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.step {
    text-align: center;
    padding: 25px;
}

.step-number {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    background: var(--primary);
    color: white;

    border-radius: 50%;

    font-weight: 800;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}


/* =========================================================
   Pricing
========================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    max-width: 950px;
    margin: auto;
}

.price-card {
    border: 1px solid var(--border);
    border-radius: 18px;

    padding: 30px;

    position: relative;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-card.featured {
    border: 2px solid var(--primary);

    box-shadow:
        0 20px 50px rgba(79,70,229,.12);
}

.popular {
    position: absolute;
    top: -13px;
    left: 50%;

    transform: translateX(-50%);

    background: var(--primary);
    color: white;

    border-radius: 999px;

    padding: 5px 12px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}

.price {
    font-size: 36px;
    font-weight: 800;
}

.price small {
    font-size: 13px;
    color: var(--muted);
}

.price-card p {
    color: var(--muted);
    min-height: 70px;
}

.price-button {
    margin-top: auto;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 30px 0 100px;
}

.cta-box {
    background: var(--primary);

    color: white;

    border-radius: 24px;

    padding: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.cta-box h2 {
    font-size: 32px;
}

.cta-box p {
    margin-top: 8px;
    opacity: .85;
}


/* =========================================================
   Footer
========================================================= */

footer {
    border-top: 1px solid var(--border);

    padding: 45px 0 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;

    color: var(--muted);
}

.footer-content strong {
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.copyright {
    border-top: 1px solid var(--border);

    margin-top: 35px;
    padding-top: 20px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .navbar {
        height: 70px;
    }

    .brand-subtitle {
        display: none;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-wrap: wrap;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .cta-box {
        padding: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

}
/* =========================================================
   Authentication
========================================================= */

.auth-page {
    min-height: 100vh;
    background: #f8fafc;
}

.auth-layout {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-brand-panel {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,.15),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #3730a3,
            #4f46e5
        );

    color: white;

    padding: 55px 8%;

    display: flex;
    flex-direction: column;
}

.auth-brand {
    width: fit-content;
}

.auth-brand .brand-icon {
    background: white;
    color: var(--primary);
}

.brand-white {
    color: white;
}

.brand-white span {
    color: #c7d2fe;
}

.auth-subtitle {
    color: #c7d2fe;
}

.auth-brand-content {
    max-width: 550px;
    margin: auto 0;
}

.auth-kicker {
    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .08em;

    color: #c7d2fe;

    margin-bottom: 20px;
}

.auth-brand-content h1 {
    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 25px;
}

.auth-brand-content > p {
    max-width: 520px;

    color: #e0e7ff;

    font-size: 18px;

    margin-bottom: 35px;
}

.auth-feature {
    margin: 12px 0;

    color: #eef2ff;

    font-size: 14px;
    font-weight: 600;
}


/* Authentication Form */

.auth-form-panel {
    display: grid;
    place-items: center;

    padding: 50px 25px;

    background: white;
}

.auth-form-container {
    width: min(430px, 100%);
}

.auth-mobile-brand {
    display: none;

    font-size: 22px;
    font-weight: 800;

    margin-bottom: 35px;
}

.auth-mobile-brand span {
    color: var(--primary);
}

.auth-heading {
    margin-bottom: 32px;
}

.auth-heading h2 {
    font-size: 34px;

    letter-spacing: -1px;

    margin-bottom: 7px;
}

.auth-heading p {
    color: var(--muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 700;

    color: #344054;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    padding: 13px 14px;

    font: inherit;

    outline: none;

    transition: .2s ease;

    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(79,70,229,.10);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-link {
    color: var(--primary);

    font-size: 12px;
    font-weight: 700;
}

.auth-submit {
    width: 100%;

    border: 0;
    cursor: pointer;

    padding: 14px;

    margin-top: 5px;
}

.auth-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.auth-bottom {
    text-align: center;

    margin-top: 28px;

    color: var(--muted);

    font-size: 14px;
}

.auth-bottom a {
    color: var(--primary);
    font-weight: 700;
}

.auth-home {
    text-align: center;

    margin-top: 20px;

    font-size: 13px;

    color: var(--muted);
}


/* Messages */

.form-message {
    border-radius: 9px;

    padding: 11px 13px;

    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 600;
}

.form-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b42318;
}

.form-message.success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}


/* Authentication Responsive */

@media (max-width: 800px) {

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
    }

    .auth-mobile-brand {
        display: block;
    }

}
/* =========================================================
   Dashboard
========================================================= */

.dashboard-page {
    background: #f8fafc;
}

.dashboard-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;

    width: 250px;

    background: white;
    border-right: 1px solid var(--border);

    padding: 25px 16px;

    display: flex;
    flex-direction: column;

    z-index: 50;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0 8px 25px;
}

.dashboard-brand .brand-icon {
    width: 38px;
    height: 38px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-label {
    color: #98a2b3;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;

    margin: 24px 12px 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 10px 12px;
    margin: 2px 0;

    border-radius: 9px;

    color: #475467;

    font-size: 14px;
    font-weight: 600;
}

.sidebar-link:hover {
    background: #f8fafc;
    color: var(--primary);
}

.sidebar-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-button {
    border: 0;
    background: transparent;

    width: 100%;

    cursor: pointer;
    font-family: inherit;

    text-align: left;
}

.dashboard-main {
    grid-column: 2;
    min-width: 0;
}

.dashboard-header {
    height: 72px;

    background: white;
    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 0 40px;

    position: sticky;
    top: 0;

    z-index: 40;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--primary-light);
    color: var(--primary);

    font-weight: 800;
}

.user-menu-info {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}

.user-menu-info strong {
    font-size: 13px;
}

.user-menu-info span {
    color: var(--muted);
    font-size: 11px;
}

.mobile-logo {
    display: none;
}

.dashboard-content {
    width: min(1180px, calc(100% - 60px));
    margin: auto;

    padding: 45px 0 80px;
}

.welcome-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.dashboard-eyebrow,
.card-label {
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;
}

.welcome-section h1 {
    font-size: 34px;

    letter-spacing: -1px;

    margin: 5px 0;
}

.welcome-section h1 span {
    color: var(--primary);
}

.welcome-section p:last-child {
    color: var(--muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;

    gap: 20px;

    margin-bottom: 45px;
}

.dashboard-card {
    background: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    padding: 25px;
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-heading h3 {
    margin-top: 4px;
    font-size: 20px;
}

.plan-badge {
    background: var(--primary-light);
    color: var(--primary);

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}

.usage-numbers {
    margin-top: 28px;
}

.usage-numbers strong {
    display: block;

    font-size: 30px;
    letter-spacing: -1px;
}

.usage-numbers span {
    color: var(--muted);
    font-size: 12px;
}

.progress-track {
    height: 9px;

    background: #eef2f6;

    border-radius: 999px;

    overflow: hidden;

    margin: 17px 0 12px;
}

.progress-value {
    height: 100%;

    background: var(--primary);

    border-radius: inherit;

    transition: width .5s ease;
}

.usage-footer {
    display: flex;
    justify-content: space-between;

    font-size: 12px;

    color: var(--muted);
}

.usage-footer a {
    color: var(--primary);
    font-weight: 700;
}

.quick-tip {
    background:
        linear-gradient(
            145deg,
            #3730a3,
            #4f46e5
        );

    color: white;
}

.quick-tip .card-label {
    color: #c7d2fe;
}

.quick-tip h3 {
    margin: 10px 0;

    font-size: 20px;
    line-height: 1.35;
}

.quick-tip p {
    color: #e0e7ff;
    font-size: 13px;
}

.create-section {
    margin-bottom: 45px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 18px;
}

.section-title-row h2 {
    font-size: 20px;
}

.section-title-row p {
    color: var(--muted);
    font-size: 13px;

    margin-top: 3px;
}

.section-title-row > a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.tool-card {
    min-height: 145px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 20px;

    position: relative;

    display: flex;
    flex-direction: column;

    transition: .2s ease;
}

.tool-card.available:hover {
    border-color: #c7d2fe;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(15,23,42,.07);
}

.tool-icon {
    font-size: 25px;

    margin-bottom: 14px;
}

.tool-card h3 {
    font-size: 16px;
}

.tool-card p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 4px;

    max-width: 210px;
}

.tool-arrow {
    position: absolute;

    right: 18px;
    bottom: 18px;

    color: var(--primary);

    font-size: 20px;
}

.coming-soon {
    position: absolute;

    top: 17px;
    right: 17px;

    background: #f2f4f7;
    color: #667085;

    border-radius: 999px;

    padding: 4px 8px;

    font-size: 9px;
    font-weight: 800;
}

.recent-empty {
    background: white;

    border: 1px dashed #d0d5dd;
    border-radius: 14px;

    padding: 28px;

    display: flex;
    align-items: center;

    gap: 18px;
}

.recent-icon {
    width: 50px;
    height: 50px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: var(--primary-light);

    font-size: 23px;
}

.recent-empty h3 {
    font-size: 15px;
}

.recent-empty p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 3px;
}


/* Dashboard responsive */

@media (max-width: 1000px) {

    .tool-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 800px) {

    .dashboard-layout {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .dashboard-main {
        width: 100%;
    }

    .dashboard-header {
        justify-content: space-between;

        padding: 0 20px;
    }

    .mobile-logo {
        display: block;

        font-size: 18px;
        font-weight: 800;
    }

    .mobile-logo span {
        color: var(--primary);
    }

    .dashboard-content {
        width: min(100% - 30px, 1180px);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .welcome-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .welcome-section .btn {
        width: 100%;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .user-menu-info {
        display: none;
    }

}
/* =========================================================
   Lesson Generator
========================================================= */

.lesson-header-title {
    margin-right: auto;
    font-size: 14px;
    font-weight: 700;
}

.lesson-workspace {
    width: min(1050px, calc(100% - 60px));
    margin: auto;
    padding: 42px 0 90px;
}

.lesson-intro {
    max-width: 720px;
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.lesson-intro h1 {
    font-size: 36px;
    letter-spacing: -1.2px;
    margin: 5px 0 8px;
}

.lesson-intro > p:last-child {
    color: var(--muted);
}

.lesson-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 20px;
    align-items: start;
}

.lesson-form-card,
.lesson-side-card,
.lesson-result {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.lesson-form-card {
    padding: 28px;
}

.lesson-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.generation-summary {
    border-top: 1px solid var(--border);
    margin-top: 25px;
    padding-top: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.generation-summary > div {
    display: flex;
    flex-direction: column;
}

.generation-summary strong {
    font-size: 21px;
    color: var(--primary);
}

.generation-summary span {
    color: var(--muted);
    font-size: 11px;
}

.lesson-side-card {
    padding: 24px;
}

.lesson-side-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;

    background: var(--primary-light);
    border-radius: 11px;

    margin-bottom: 16px;
}

.lesson-side-card h3 {
    margin-bottom: 14px;
}

.lesson-side-card ul {
    padding-left: 20px;
    color: #475467;
    font-size: 13px;
}

.lesson-side-card li {
    margin: 9px 0;
}

.privacy-note {
    margin-top: 24px;
    padding: 14px;

    border-radius: 10px;

    background: #f8fafc;

    font-size: 11px;
}

.privacy-note p {
    margin-top: 4px;
    color: var(--muted);
}

.lesson-result {
    margin-top: 28px;
    padding: 32px;
}

.result-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
}

.result-top h2 {
    font-size: 30px;
    margin: 4px 0;
}

.result-top > div > p:last-child {
    color: var(--muted);
}

.result-section {
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.result-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.result-section h3 {
    margin-bottom: 15px;
    font-size: 17px;
}

.result-section ul,
.result-section ol {
    padding-left: 22px;
}

.result-section li {
    margin: 8px 0;
    color: #475467;
}

.lesson-structure-row {
    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #f2f4f7;
}

.lesson-structure-row:last-child {
    border-bottom: 0;
}

.lesson-time {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.lesson-structure-row p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.differentiation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.differentiation-grid > div {
    padding: 18px;
    background: #f8fafc;
    border-radius: 11px;
}

.differentiation-grid p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
}

@media (max-width: 900px) {

    .lesson-layout {
        grid-template-columns: 1fr;
    }

    .lesson-side-card {
        order: -1;
    }

}

@media (max-width: 600px) {

    .lesson-workspace {
        width: calc(100% - 30px);
    }

    .lesson-form-grid,
    .differentiation-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .generation-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .lesson-structure-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .result-top {
        flex-direction: column;
    }

}
/* =========================================================
   Saved Content Viewer
========================================================= */

.saved-lesson {
    margin-top: 0;
}

.saved-date {
    margin-top: 8px;

    color: #98a2b3;

    font-size: 11px;
}

.saved-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 650px) {

    .saved-actions {
        align-items: stretch;
        flex-direction: column;
    }

}
/* Quiz question type checkboxes */

.quiz-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.quiz-type-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.quiz-type-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
}

/* =========================================================
   Worksheet
========================================================= */

.worksheet-matching {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 18px;
}

.worksheet-matching > div {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.worksheet-matching p {
    margin: 8px 0;
}


@media (max-width: 700px) {

    .worksheet-matching {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}
