/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped styles are handled in app.css */
/* /Components/Pages/CreateLetter.razor.rz.scp.css */
/* ── Page hero ── */
.page-hero[b-kkw0kesyiu] {
    background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 60%, #f5f0ff 100%);
    border: 1px solid #e4e9f7;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.page-hero-icon[b-kkw0kesyiu] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.page-hero-title[b-kkw0kesyiu] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1d23;
    line-height: 1.2;
}

.breadcrumb[b-kkw0kesyiu] {
    font-size: 0.8rem;
}

.breadcrumb-item + .breadcrumb-item[b-kkw0kesyiu]::before {
    color: #adb5bd;
}

@media (max-width: 575.98px) {
    .page-hero[b-kkw0kesyiu] {
        padding: 1rem;
    }

    .page-hero-icon[b-kkw0kesyiu] {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        border-radius: 11px;
    }

    .page-hero-title[b-kkw0kesyiu] {
        font-size: 1.2rem;
    }

    .page-hero .btn[b-kkw0kesyiu] {
        align-self: flex-start;
    }
}
/* /Components/Pages/Generator.razor.rz.scp.css */
/* ── Step bar ── */
.steps-bar[b-zos88rneeh] {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.step[b-zos88rneeh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.3s;
}

    .step.active[b-zos88rneeh], .step.done[b-zos88rneeh] {
        opacity: 1;
    }

.step-circle[b-zos88rneeh] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
    flex-shrink: 0;
}

.step.active .step-circle[b-zos88rneeh] {
    background: #0d6efd;
    color: #fff;
}

.step.done .step-circle[b-zos88rneeh] {
    background: #198754;
    color: #fff;
}

    .step.done .step-circle[b-zos88rneeh]::before {
        content: "✓";
    }

.step.done .step-circle[b-zos88rneeh] {
    font-size: 0;
}

    .step.done .step-circle[b-zos88rneeh]::before {
        font-size: 0.85rem;
    }

.step-label[b-zos88rneeh] {
    font-size: 0.82rem;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
}

.step.active .step-label[b-zos88rneeh] {
    color: #0d6efd;
}

.step.done .step-label[b-zos88rneeh] {
    color: #198754;
}

.step-line[b-zos88rneeh] {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 0.5rem;
    min-width: 12px;
}

/* Hide step labels on very small screens */
@media (max-width: 480px) {
    .step-label[b-zos88rneeh] {
        display: none;
    }

    .step-line[b-zos88rneeh] {
        margin: 0 0.35rem;
    }
}

/* ── Form card accent ── */
.form-card[b-zos88rneeh] {
    border-left: 4px solid #0d6efd !important;
}

/* ── Vertical wizard layout ── */
.wizard-section[b-zos88rneeh] {
    width: 100%;
}

.notes-textarea[b-zos88rneeh] {
    min-height: 200px;
    resize: vertical;
}

@media (max-width: 991.98px) {
    .notes-textarea[b-zos88rneeh] {
        min-height: 150px;
    }
}

.ls-1[b-zos88rneeh] {
    letter-spacing: 0.04em;
}

/* ── Generate button ── */
.generate-btn[b-zos88rneeh] {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.2s, transform 0.1s;
}

    .generate-btn:hover:not(:disabled)[b-zos88rneeh] {
        opacity: 0.92;
        transform: translateY(-1px);
    }

    .generate-btn:active:not(:disabled)[b-zos88rneeh] {
        transform: translateY(0);
    }

    .generate-btn:disabled[b-zos88rneeh] {
        opacity: 0.65;
    }

/* ── Editor card ── */
.editor-card[b-zos88rneeh] {
    transition: box-shadow 0.4s;
}

.editor-glow[b-zos88rneeh] {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25), 0 4px 16px rgba(0,0,0,0.1) !important;
}

.editor-body[b-zos88rneeh] {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.editor-placeholder[b-zos88rneeh] {
    flex: 1;
    min-height: 420px;
}

/* ── Editor tip banner ── */
.editor-tip-banner[b-zos88rneeh] {
    background: linear-gradient(90deg, #e8f4fd 0%, #f0f9ff 100%);
    border-bottom: 1px solid #bee5fb;
    animation: slideDown-b-zos88rneeh 0.35s ease;
}

@keyframes slideDown-b-zos88rneeh {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tip-pulse-dot[b-zos88rneeh] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d6efd;
    flex-shrink: 0;
    animation: tipPulse-b-zos88rneeh 1.5s ease-in-out 3;
}

@keyframes tipPulse-b-zos88rneeh {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* ── Empty state icon ── */
.empty-state-icon[b-zos88rneeh] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #6c757d;
}

/* ── AI spinner ── */
.ai-spinner[b-zos88rneeh] {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-spinner-ring[b-zos88rneeh] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #0d6efd;
    border-right-color: #6610f2;
    animation: spin-b-zos88rneeh 1s linear infinite;
}

.ai-spinner-icon[b-zos88rneeh] {
    font-size: 1.4rem;
}

@keyframes spin-b-zos88rneeh {
    to {
        transform: rotate(360deg);
    }
}

/* ── Copy button ── */
.copy-btn[b-zos88rneeh] {
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

    .copy-btn.copied[b-zos88rneeh] {
        background-color: #198754 !important;
        border-color: #198754 !important;
        color: #fff !important;
        animation: copyPop-b-zos88rneeh 0.25s ease;
    }

@keyframes copyPop-b-zos88rneeh {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 575.98px) {
    .editor-body[b-zos88rneeh] {
        min-height: 320px;
    }

    .editor-placeholder[b-zos88rneeh] {
        min-height: 320px;
    }

    .card-header.px-md-4[b-zos88rneeh] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .card-header .btn[b-zos88rneeh] {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

.letter-editor-wrapper[b-zos88rneeh] {
    position: relative;
    height: 100%;
}

.letter-html-editor[b-zos88rneeh] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    line-height: 1.7;
}

.emoji-action[b-zos88rneeh] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
}


    .emoji-action:hover[b-zos88rneeh] {
        background: #f0f0f0;
    }

.letter-feedback[b-zos88rneeh] {
    margin-top: 2rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feedback-btn[b-zos88rneeh] {
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all .15s ease;
}

    .feedback-btn:hover[b-zos88rneeh] {
        transform: translateY(-1px);
    }

.feedback-positive:hover[b-zos88rneeh] {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.feedback-negative:hover[b-zos88rneeh] {
    background: #fff3f3;
    border-color: #f5b5b5;
}

.form-select-responsive[b-zos88rneeh] {
    min-height: 48px;
    font-size: 1.05rem;
}

@media (max-width: 576px) {
    .form-select-responsive[b-zos88rneeh] {
        font-size: 0.95rem;
        min-height: 44px;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}


@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.animated-border[b-zos88rneeh] {
    position: relative;
    isolation: isolate;
    padding: 2px;
    border-radius: 12px;
    background: var(--bs-border-color, #dee2e6);
}

    .animated-border[b-zos88rneeh]::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        border-radius: inherit;
        pointer-events: none;
        z-index: 2;
        background: conic-gradient( from var(--border-angle), #3b82f6, #06b6d4, #8b5cf6, #ec4899, #3b82f6 );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.65;
        animation: rotate-border-b-zos88rneeh 4s linear infinite;
        transition: opacity 0.25s ease;
    }

@keyframes rotate-border-b-zos88rneeh {
    to {
        --border-angle: 360deg;
    }
}

.notes-textarea.form-control[b-zos88rneeh] {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    border: none !important;
    border-radius: 10px;
    background-color: var(--bs-body-bg, #fff);
    box-shadow: none !important;
    outline: none;
    resize: vertical;
}

/* Highlight the border when the textarea receives focus */
.animated-border:focus-within[b-zos88rneeh]::before {
    opacity: 1;
}

.animated-border:focus-within[b-zos88rneeh] {
    box-shadow: 0 0 12px rgb(59 130 246 / 12%);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .animated-border[b-zos88rneeh]::before {
        animation: none;
        opacity: 0.7;
    }
}


/* Category dropdown with animated gradient border */
.animated-border-select[b-zos88rneeh] {
    border-radius: 10px;
    padding: 2px;
}

    /* Remove Bootstrap's default border and focus ring */
    .animated-border-select .category-select.form-select[b-zos88rneeh],
    .animated-border-select .category-select.form-select:focus[b-zos88rneeh] {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background-color: var(--bs-body-bg, #fff);
        border-radius: 8px;
    }

    /* Subtle gradient while idle */
    .animated-border-select[b-zos88rneeh]::before {
        opacity: 0.4;
    }

    /* Brighter gradient when the dropdown is focused */
    .animated-border-select:focus-within[b-zos88rneeh]::before {
        opacity: 1;
    }

    .animated-border-select:focus-within[b-zos88rneeh] {
        box-shadow: 0 0 10px rgb(59 130 246 / 10%);
    }


    /* Enabled letter type dropdown */
    .animated-border-select .letter-type-select.form-select[b-zos88rneeh] {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 8px;
        background-color: var(--bs-body-bg, #fff);
    }

    /* Subtle rotating gradient when enabled */
    .animated-border-select[b-zos88rneeh]::before {
        opacity: 0.4;
    }

    /* Highlight on focus */
    .animated-border-select:focus-within[b-zos88rneeh]::before {
        opacity: 1;
    }

    .animated-border-select:focus-within[b-zos88rneeh] {
        box-shadow: 0 0 10px rgb(59 130 246 / 10%);
    }

/* Disabled: no animation or gradient border */
.select-border-disabled[b-zos88rneeh] {
    padding: 0;
    border-radius: 0.375rem;
}

    .select-border-disabled .letter-type-select:disabled[b-zos88rneeh] {
        cursor: not-allowed;
        opacity: 1;
        border-color: var(--bs-border-color, #dee2e6);
        background-color: var(--bs-secondary-bg, #e9ecef);
        box-shadow: none;
    }
/* /Components/Pages/LandingPage.razor.rz.scp.css */
.landing-hero[b-y8sdu5ousy] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-top: 4px solid #0d6efd;
    padding: 3rem 1.5rem !important;
}

.landing-hero .hero-title[b-y8sdu5ousy] {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.landing-hero .hero-subtitle[b-y8sdu5ousy] {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Section Titles */
.section-title[b-y8sdu5ousy] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

/* Feature Cards */
.feature-card[b-y8sdu5ousy] {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-card:hover[b-y8sdu5ousy] {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.feature-icon[b-y8sdu5ousy] {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e7f1ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3[b-y8sdu5ousy] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.feature-card p[b-y8sdu5ousy] {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Letter Preview */
.letter-preview-card[b-y8sdu5ousy] {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #e5e8ed;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f5f8;
}

.letter-preview-header[b-y8sdu5ousy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 0.9rem;
    max-width: 42rem;
    color: #495057;
    font-size: 0.8rem;
}

.letter-preview-label[b-y8sdu5ousy] {
    font-weight: 600;
}

.letter-preview-badge[b-y8sdu5ousy] {
    flex-shrink: 0;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #6c757d;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.letter-preview-body[b-y8sdu5ousy] {
    max-width: 42rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #e9e5dd;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(33, 37, 41, 0.08);
}

.letter-preview-body pre[b-y8sdu5ousy] {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.875rem;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #212529;
    margin: 0;
}

.letter-preview-aside[b-y8sdu5ousy] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.letter-preview-aside-icon[b-y8sdu5ousy] {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 10px;
    background: #e7f1ff;
    color: #0d6efd;
    font-size: 1.25rem;
}

.letter-preview-checklist[b-y8sdu5ousy] {
    width: 100%;
}

.letter-preview-checklist li[b-y8sdu5ousy] {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.45;
}

.letter-preview-checklist li:last-child[b-y8sdu5ousy] {
    margin-bottom: 0;
}

.letter-preview-checklist i[b-y8sdu5ousy] {
    flex-shrink: 0;
}

.letter-preview-aside .btn[b-y8sdu5ousy] {
    margin-top: auto;
}

/* Use Case Card */
.uscase-card[b-y8sdu5ousy] {
    padding: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.uscase-card:hover[b-y8sdu5ousy] {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.usecase-icon[b-y8sdu5ousy] {
    color: #0d6efd;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.uscase-card p[b-y8sdu5ousy] {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* FAQ Item */
.faq-item[b-y8sdu5ousy] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-item .accordion-button[b-y8sdu5ousy] {
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    background: #fff;
    border: none;
}

.faq-item .accordion-button:not(.collapsed)[b-y8sdu5ousy] {
    background: #f8f9fa;
    color: #0d6efd;
    box-shadow: none;
}

.faq-item .accordion-body[b-y8sdu5ousy] {
    padding: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    background: #fff;
}

/* Landing CTA */
.landing-cta[b-y8sdu5ousy] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-top: 4px solid #0d6efd;
}

.landing-cta h2[b-y8sdu5ousy] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

.landing-cta p[b-y8sdu5ousy] {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
}
/* /Components/Pages/PdfPreviewModal.razor.rz.scp.css */
.pdf-preview-frame[b-m3brk2f6ym] {
    width: 100%;
    height: 75vh;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pdf-preview-frame[b-m3brk2f6ym] {
        height: calc(100vh - 130px);
    }
}
