/* ============================================
   Ficipedia - Wikipedia Mashup Generator Styles
   ============================================ */

/* === Base === */
html,
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #202122;
    background-color: #f6f6f6;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

button, a, label, .btn-generate, .btn-save, .btn-share, .btn-randomize,
.site-brand, .header-search-btn, .search-button, .article-card,
h1, h2, .wiki-title, .hero-logo {
    -webkit-user-select: none;
    user-select: none;
}

body:has(.home-page) {
    overflow: hidden;
}

/* Hide navbar search on home page but keep its space so logo doesn't shift */
.page-wrapper:has(.home-page) .header-search {
    visibility: hidden;
    pointer-events: none;
}

/* Keep navbar row same height with or without search */
.site-header .header-content {
    min-height: 2.5rem;
}

a {
    color: #0645ad;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.btn-generate,
a.btn-save,
a.btn-generate:hover,
a.btn-save:hover {
    color: #fff;
    text-decoration: none;
}

/* === Hero Section === */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid #a7d7f9;
    border-radius: 4px;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.generator-panel {
    text-align: left;
    padding: 0 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.generator-form-wrapper {
    position: relative;
}

.generator-auth-bar {
    margin: 0 -2.5rem 0 -2.5rem;
    padding: 0.5rem 2.5rem 0.5rem 2.5rem;
    background: #f0f0f0;
    border-bottom: 1px solid #a2a9b1;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: relative;
}

.generator-form-auth {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 2.25rem;
    white-space: nowrap;
    margin-bottom: 0.2rem;
}

.generator-form-auth .auth-greeting {
    font-size: 0.9rem;
    color: #54595d;
}

.generator-form-auth .auth-profile-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 2px solid #3366cc;
    border-radius: 8px;
}

.generator-form-auth .auth-profile-link:hover {
    background: #2a52a3;
    border-color: #2a52a3;
    color: #fff;
    text-decoration: none;
}

.generator-form-auth .auth-login-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 2px solid #3366cc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.generator-form-auth .auth-login-btn:hover {
    background: #2a52a3;
    border-color: #2a52a3;
    color: #fff;
    text-decoration: none;
}

.generator-status-dot {
    position: absolute;
    top: 0.72rem;
    left: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00aa00;
    animation: generator-status-dot-flash 1.2s ease-in-out infinite;
}

@keyframes generator-status-dot-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.generator-title {
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    margin: 0;
    font-size: 0.89rem;
    font-weight: 400;
    color: #54595d;
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
}

.generator-hint {
    margin: 0;
    font-size: 14px;
    color: #72777d;
    line-height: 1.5;
}

.generator-hint-bold {
    margin: 0.15rem 0 0.1rem 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: #000;
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    transform-origin: left center;
    animation: generator-hint-pulsate 3s ease-in-out infinite;
}

@keyframes generator-hint-pulsate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* Second box: reveal only after blur; fade in gracefully */
.second-box-wrapper {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-out, max-height 0.5s ease-out;
}

.second-box-wrapper.visible {
    opacity: 1;
    max-height: 80px;
    overflow: visible;
}

/* Single group fade for the revealed form section */
.form-reveal-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: form-group-fade-in 0.4s ease-out;
}

@keyframes form-group-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mode-toggle {
    display: flex;
    gap: 0;
    border: 2px solid #3366cc;
    border-radius: 8px;
    overflow: hidden;
    align-self: flex-start;
}

.mode-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    background: #fff;
    color: #3366cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mode-btn.active {
    background: #3366cc;
    color: #fff;
}

.mode-btn:not(.active):hover {
    background: #eaf0fb;
}

.manual-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.manual-input-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
}

.manual-input-row.manual-input-row-dropdown-open {
    z-index: 100;
}

.manual-input-label {
    font-weight: 600;
    color: #54595d;
    min-width: 1.5rem;
    text-align: right;
}

.manual-input {
    flex: 1;
    max-width: 700px;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.manual-input:focus {
    border-color: #3366cc;
}

.manual-input.invalid {
    border-color: #d33;
}

.manual-input-error {
    font-size: 0.8rem;
    color: #d33;
    white-space: nowrap;
    width: 100%;
    margin-top: -0.3rem;
}

.manual-input-optional {
    font-size: 0.8rem;
    color: #a2a9b1;
    font-style: italic;
    white-space: nowrap;
}

/* Tone slider (realistic / fun / crazy) – same row layout as manual-input-row so slider ends align with text boxes */
.tone-slider-section {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.tone-slider-section.tone-slider-section--stacked {
    flex-direction: column;
    gap: 0.2rem;
}

.tone-slider-section.tone-slider-section--stacked .tone-slider-wrap {
    max-width: 700px;
    width: 100%;
}

.tone-slider-label {
    font-weight: 600;
    color: #54595d;
    min-width: 1.5rem;
    text-align: left;
}

.tone-slider-wrap {
    flex: 1;
    min-width: 0;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.tone-slider-track-wrap {
    overflow: visible;
    padding-top: 4px;
    padding-bottom: 28px;
}

.tone-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: block;
    background: transparent;
}

.tone-slider:focus {
    outline: none;
}

/* Track – chunky Wikipedia-style bar */
.tone-slider::-webkit-slider-runnable-track {
    height: 14px;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 7px;
}

.tone-slider::-moz-range-track {
    height: 14px;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 7px;
}

/* Thumb – chunky rounded handle, same blue as site buttons */
.tone-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -5px;
    background: #2563eb;
    border: 1px solid #1d4ed8;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.tone-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #2563eb;
    border: 1px solid #1d4ed8;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.tone-slider:hover::-webkit-slider-thumb {
    background: #2a56b3;
    border-color: #234a9e;
}

.tone-slider:hover::-moz-range-thumb {
    background: #2a56b3;
    border-color: #234a9e;
}

.tone-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #72777d;
    margin-top: -20px;
}

.tone-label {
    display: inline-block;
    transform-origin: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.tone-label:hover {
    transform: scale(1.08);
}

.tone-label.active {
    color: #202122;
    font-weight: 600;
    transform: scale(1.18);
}

.tone-label.active:hover {
    transform: scale(1.22);
}

/* Advanced – collapsible section for Add Reference and Additional prompt */
.advanced-section {
    margin-top: 1rem;
    width: fit-content;
    max-width: 730px;
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
}

.advanced-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    color: #54595d;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.advanced-section-header:hover {
    background: #e9ecef;
}

.advanced-section-label {
    flex: 1;
}

.advanced-section-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.advanced-section-header.expanded .advanced-section-chevron {
    transform: rotate(180deg);
}

.advanced-section-content {
    transition: max-height 0.25s ease-out;
}

.advanced-section-content.collapsed {
    max-height: 0;
    overflow: hidden;
}

.advanced-section-content.expanded {
    max-height: 1200px;
    overflow: visible;
}

.advanced-section-content-inner {
    padding: 0.5rem 0.5rem 0.75rem 0.5rem;
}

@media (max-width: 700px) {
    .advanced-section-content-inner {
        padding-left: 0;
    }
}

/* Add Reference section – same row layout as additional prompt so content aligns */
.reference-section-row {
    margin-top: 1rem;
    align-items: flex-start;
}

.reference-section-content {
    flex: 1;
    min-width: 0;
    max-width: 700px;
}

.reference-section-label {
    font-weight: 600;
    color: #54595d;
}

.reference-section-hint {
    font-size: 0.9rem;
    color: #72777d;
    margin: 0 0 0.5rem 0;
}

/* Search icon on the right of search inputs (4 article boxes + Add Reference) */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .search-input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #72777d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input-wrapper .manual-input,
.search-input-wrapper .reference-search-input {
    padding-right: 2.25rem;
}

.search-input-wrapper .suggest-loading {
    right: 2.25rem;
}

.reference-search-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.reference-search-input {
    width: 100%;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.reference-search-input:focus {
    border-color: #3366cc;
}

.reference-suggest-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #a2a9b1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
}

.reference-search-wrap .suggest-loading {
    top: 50%;
}

.reference-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

.reference-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.4rem 0.2rem 0.5rem;
    background: #e7f1ff;
    border: 1px solid #a7d7f9;
    border-radius: 8px;
    font-size: 0.9rem;
}

.reference-chip-title {
    color: #0645ad;
    text-decoration: none;
}

.reference-chip-title:hover {
    text-decoration: underline;
}

.reference-chip-remove {
    padding: 0 0.25rem;
    font-size: 1.1rem;
    line-height: 1;
    color: #72777d;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 2px;
}

.reference-chip-remove:hover {
    color: #202122;
    background: #c8ccd1;
}

/* Additional prompt – same row layout as manual inputs; Optional in line with title */
.additional-prompt-row {
    margin-top: 1rem;
    align-items: flex-start;
}

.additional-prompt-spacer {
    min-width: 1.5rem;
}

.additional-prompt-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 700px;
}

.additional-prompt-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.additional-prompt-label {
    font-weight: 600;
    color: #54595d;
}

.additional-prompt-input {
    width: 100%;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.additional-prompt-input:focus {
    border-color: #3366cc;
}

.additional-prompt-count {
    display: block;
    font-size: 0.8rem;
    color: #72777d;
    margin-top: 0.25rem;
}

/* Desktop: Optional at row level so it lines up with other "Optional" labels */
.additional-prompt-optional-desktop {
    display: none;
}

@media (min-width: 701px) {
    .additional-prompt-optional-desktop {
        display: inline;
    }

    .additional-prompt-optional-mobile {
        display: none;
    }
}

/* Mobile: additional prompt and reference section get full width */
@media (max-width: 700px) {
    .additional-prompt-wrapper,
    .reference-section-content {
        max-width: 100%;
    }
}

/* Wikipedia suggestion dropdown */
.manual-input-suggest-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 700px;
}

.manual-input-suggest-wrapper .manual-input {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.suggest-loading {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #72777d;
    pointer-events: none;
}

.suggest-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    z-index: 9999;
    padding: 0.25rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid #a2a9b1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
}

.suggest-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
    cursor: pointer;
    color: #202122;
}

.suggest-item:hover {
    background: #f0f0f0;
}

.generator-actions {
    display: flex;
    justify-content: flex-end;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-puzzle {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-logo h1 {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    color: #000;
}

.hero-tagline {
    font-size: 1rem;
    color: #54595d;
    font-style: italic;
    margin-top: 0.25rem;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: #54595d;
    line-height: 1.7;
}

/* === Generate Button === */
.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-generate:hover:not(:disabled) {
    background: #2a56b3;
}

.btn-generate:active:not(:disabled) {
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-generate.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.randomize-row-wrapper {
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-bottom 0.3s ease-out, margin-bottom 0.3s ease-out;
    max-height: 0;
    /* When collapsed (no content), cancel the flex gap below so box 1 and box 2 don't get double gap */
    margin-bottom: -0.75rem;
}

.randomize-row-wrapper.randomize-row-wrapper--expanded {
    max-height: 8rem;
    padding-bottom: 0.1rem;
    margin-bottom: -0.6rem;
    box-sizing: content-box;
}

.randomize-row-wrapper.randomize-row-wrapper--collapsing {
    max-height: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.randomize-row-invisible {
    opacity: 0;
    pointer-events: none;
}

.randomize-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.randomize-row.randomize-row-fade-out {
    animation: randomize-fade-out 0.3s ease-out forwards;
    pointer-events: none;
}

@keyframes randomize-fade-out {
    to {
        opacity: 0;
    }
}

.randomize-label {
    font-size: 0.9rem;
    color: #54595d;
}

.btn-randomize {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-randomize:hover {
    background: #2a56b3;
}

.btn-icon {
    font-size: 1.2rem;
}

/* === Loading Section === */
.loading-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.loading-spinner {
    margin-bottom: 1.5rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #3366cc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

.loading-status {
    font-size: 1.15rem;
    font-weight: 600;
    color: #202122;
    margin-bottom: 2rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 350px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #a2a9b1;
    transition: color 0.3s ease;
    width: 100%;
}

.step.active {
    color: #202122;
    font-weight: 600;
}

.step.done {
    color: #202122;
    font-weight: 400;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c8ccd1;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.step.done .step-dot {
    background: #3366cc;
}

.step.active:not(.done) .step-dot {
    background: #3366cc;
    box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.25);
}

/* === Wiki Article === */
.wiki-article {
    background: #ffffff;
    border: 1px solid #a7d7f9;
    border-radius: 2px;
    padding: 1.5rem 2rem 2rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Guaranteed gap below the article div when scrolled to the bottom */
.article-page {
    display: block;
}

.article-page-bottom-gap {
    height: 3rem;
    min-height: 3rem;
}

.wiki-title {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-size: 1.95rem;
    font-weight: 400;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.25rem;
    margin: 0 0 0.25rem 0;
    color: #000;
}

.wiki-from {
    font-size: 0.8rem;
    color: #72777d;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.wiki-divider {
    border: none;
    border-top: 1px solid #a2a9b1;
    margin: 0.5rem 0 1rem;
}

/* Content wrapper for article + infobox */
.wiki-content-wrapper {
    display: flow-root; /* clearfix for float */
}

/* === Infobox (Image + Facts) === */
.wiki-infobox {
    float: right;
    width: 334px;
    margin: 0.3rem 0 1rem 1.4rem;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    font-size: 0.875rem;
    line-height: 1.5;
}

.infobox-header {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.45rem 0.6rem;
    line-height: 1.35;
    color: #000;
}

.infobox-image {
    text-align: center;
    padding: 3px 10px;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #c8ccd1;
}

.infobox-caption {
    text-align: center;
    padding: 0.2rem 0.6rem 0.5rem;
    font-size: 0.8rem;
    color: #202122;
    line-height: 1.4;
}

.infobox-facts {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.infobox-facts tr {
    border: none;
}

.infobox-facts th {
    text-align: left;
    vertical-align: top;
    padding: 0.2rem 0.6rem;
    font-weight: 600;
    color: #202122;
    white-space: nowrap;
}

.infobox-facts td {
    padding: 0.2rem 0.6rem;
    vertical-align: top;
    color: #202122;
    line-height: 1.35;
}

/* === Wiki Body Text === */
.wiki-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #202122;
}

.wiki-body p {
    margin: 0 0 0.8rem 0;
}

.wiki-body .wiki-section-heading {
    margin-top: 1.25rem;
    overflow: hidden; /* prevent border-bottom from touching the floated infobox */
}

/* === Section Headings === */
.wiki-section-heading {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-size: 1.35rem;
    font-weight: 400;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.2rem;
    margin: 2rem 0 0.5rem 0;
    color: #000;
}

.wiki-section-divider {
    display: none;
}

.sources-intro {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

/* === References / Sources === */
.wiki-references {
    font-size: 0.9rem;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.wiki-references li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wiki-references li a {
    font-weight: 600;
}

.ref-extract {
    color: #72777d;
    font-size: 0.85rem;
}

/* === Article Actions === */
.article-generated-by {
    margin: 1.5rem 0 0 0;
    font-size: 0.95rem;
    color: #54595d;
}

.article-generated-by em {
    font-style: italic;
}

.article-generated-by strong {
    font-weight: 700;
}

.article-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaecf0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save:hover:not(:disabled) {
    background: #2a56b3;
}

.btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.save-confirmation {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2d8a4e;
    background: #e8f5e9;
    border-radius: 8px;
}

/* Copy link button */
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    min-width: 7rem;
    font-size: 1rem;
    font-weight: 600;
    color: #202122;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-share:hover {
    background: #eaecf0;
    border-color: #72777d;
}

.article-actions-pair {
    display: inline-flex;
    align-items: stretch;
    gap: 0.5rem;
}

.article-actions-pair .btn-share {
    padding: 0.8rem 1.25rem;
}

/* On mobile: Generate Article + Copy link side by side, Generate wider */
@media (max-width: 700px) {
    .article-actions-pair {
        display: flex;
        width: 100%;
    }

    .article-actions-pair .btn-generate-wide {
        flex: 1;
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .article-actions-pair .btn-share {
        flex-shrink: 0;
    }
}

/* === Error Banner === */
.error-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fee7e6;
    border: 1px solid #d33;
    border-radius: 4px;
    margin-top: 1.5rem;
    font-size: 0.92rem;
}

.error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-banner p {
    margin: 0.25rem 0 0;
    color: #54595d;
}

.error-banner .btn-generate {
    margin-left: auto;
    flex-shrink: 0;
}

/* === Responsive === */
@media (max-width: 700px) {
    .wiki-infobox {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section.generator-panel {
        padding: 0 1rem 2rem 1rem;
    }

    .generator-auth-bar {
        margin: 0 -1rem 0 -1rem;
        padding: 0.5rem 1rem 0.5rem 1rem;
    }

    .generator-status-dot {
        left: 0.5rem;
    }

    .generator-title {
        left: 1.1rem;
    }

    .hero-logo h1 {
        font-size: 2rem;
    }

    .wiki-article {
        padding: 1rem;
    }

    .wiki-title {
        font-size: 1.5rem;
    }

    .error-banner {
        flex-direction: column;
        text-align: center;
    }

    .error-banner .btn-generate {
        margin-left: 0;
    }

    input, textarea, select {
        font-size: 16px !important;
    }
}

/* === Home Page === */
.home-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Match MainLayout .header-content so logo aligns with other pages */
.home-header {
    width: 100%;
    margin-bottom: 2rem;
}

.home-header-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.home-page-body {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.home-logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: #202122;
    margin: 0 0 0.3rem 0;
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    text-shadow:
        0 1px 0 #c0c0c0,
        0 2px 0 #b0b0b0,
        0 3px 0 #a0a0a0,
        0 4px 0 #909090,
        0 5px 6px rgba(0, 0, 0, 0.15);
}

.logo-wrapper {
    display: inline-block;
    position: relative;
    animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.quip-container {
    position: relative;
    font-size: 1.1rem;
    font-style: italic;
    color: #54595d;
    margin: 0;
    user-select: none;
    min-height: 1.6em;
}

.quip-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    animation: quip-rotate 12s infinite;
}

.quip-item:nth-child(1) { animation-delay: 0s; }
.quip-item:nth-child(2) { animation-delay: -4s; }
.quip-item:nth-child(3) { animation-delay: -8s; }

@keyframes quip-rotate {
    0% { opacity: 0 }
    5% { opacity: 1 }
    28% { opacity: 1 }
    33% { opacity: 0 }
    100% { opacity: 0 }
}

@media (max-width: 767px) {
    .quip-container {
        font-size: 14px;
        min-height: 1.4em;
    }

    .home-header {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        max-height: 280px;
        overflow: hidden;
        opacity: 1;
        transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
    }

    .search-container {
        margin-bottom: 0.35rem;
        transition: margin 0.35s ease;
    }

    .home-generate-btn {
        max-height: 60px;
        overflow: hidden;
        opacity: 1;
        margin-top: 0.5rem;
        transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    }

    /* Search active: hide logo/header, push search to top, hide generate button */
    .home-page--search-active .home-header {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-page--search-active .home-header-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    .home-page--search-active .search-container {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }

    .home-page--search-active .home-generate-btn {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, max-height 0.3s ease 0.3s, margin 0.3s ease 0.3s, padding 0.3s ease 0.3s;
    }

    .recent-articles {
        margin-top: 0.15rem;
    }

    .recent-articles::after {
        background: linear-gradient(to bottom, rgba(246,246,246,0) 0%, rgba(246,246,246,0) 82%, rgba(246,246,246,1) 100%);
    }

    .home-page-body {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .search-box {
        max-width: 100%;
    }

    /* Recent articles fits on the page (like desktop): lock home to viewport so no document scroll */
    body:has(.home-page) {
        overflow: hidden;
        position: fixed;
        inset: 0;
        width: 100%;
    }

    .home-page {
        position: fixed;
        top: 3.5rem; /* below navbar (.site-header) */
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100% - 3.5rem);
        overflow: hidden;
    }

    .home-page-body {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .search-results {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .recent-articles {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        margin-top: 0.5rem;
    }

    .recent-articles-list {
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.home-tagline {
    color: #54595d;
    font-size: 1.1rem;
    margin: 0;
}

.search-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1rem auto;
    border: 1.98px solid #a2a9b1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.search-box:focus-within {
    border-color: #3366cc;
}

.search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
    border: none;
    outline: none;
    background: transparent;
    color: #202122;
}

.search-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: #3366cc;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.search-button:hover {
    background: #2a56b3;
}

.home-generate-btn {
    display: inline-flex;
    margin-top: 0.5rem;
    text-decoration: none;
}

.recent-articles {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.recent-articles::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: calc(45% + 60px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to bottom, rgba(246,246,246,0) 0%, rgba(246,246,246,0) 35%, rgba(246,246,246,1) 54%);
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.recent-articles-list {
    height: 100%;
    overflow: hidden;
}

/* Desktop: constrain home to viewport so recent-articles has fixed height and fade always shows; clip list, no scrollbar */
@media (min-width: 768px) {
    .page-wrapper:has(.home-page) {
        height: 100vh;
        overflow: hidden;
    }

    .recent-articles::after {
        background: linear-gradient(to bottom, rgba(246,246,246,0) 0%, rgba(246,246,246,0) 35%, rgba(246,246,246,1) 54%);
    }

    .recent-articles-list {
        overflow: hidden;
    }
}

/* === Search Results / Article Cards === */
.search-results {
    margin-top: 0.25rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.search-results-list {
    overflow: hidden;
}

.load-more-container {
    text-align: center;
    padding: 1.5rem 0;
}

.load-more-btn {
    padding: 0.6rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    border: 2px solid #3366cc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover:not(:disabled) {
    background: #2952a3;
    border-color: #2952a3;
    color: #fff;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.results-heading {
    font-size: 1.2rem;
    font-weight: 400;
    color: #54595d;
    border-bottom: 1px solid #eaecf0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.article-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #202122;
    transition: background 0.15s;
}

.article-card:hover {
    background: #eaecf0;
}

.article-card-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #c8ccd1;
    flex-shrink: 0;
}

.article-card-body h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0645ad;
}

.article-card-body .article-card-date {
    font-size: 0.85rem;
    color: #72777d;
}

/* === Account pages (Login, Register, etc.) - match site style === */
.account-page {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border: 1px solid #a7d7f9;
    border-radius: 4px;
    box-sizing: border-box;
}

.account-page h1 {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.account-page .account-subheading {
    margin: -0.25rem 0 1rem 0;
    font-size: 1.1rem;
    color: #54595d;
}

.profile-username-section {
    margin: 0.5rem 0 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
}

.profile-username-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.profile-username-input {
    flex: 1;
    min-width: 280px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.profile-username-form .account-external-btn.subscription-manage-btn {
    max-width: 300px;
}

.profile-username-input:focus {
    outline: none;
    border-color: #3366cc;
}

@media (max-width: 700px) {
    .profile-username-form {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-username-input {
        width: 100%;
        min-width: 0;
    }

    .profile-username-form .account-external-btn.subscription-manage-btn {
        max-width: none;
    }
}

/* Profile page on mobile: reduce outer padding/margin so username and subscription sections have more room */
@media (max-width: 700px) {
    .account-page {
        margin: 0.75rem auto;
        padding: 1rem 1rem;
    }

    .profile-username-section,
    .profile-subscription {
        margin: 0.4rem 0 0.75rem 0;
        padding: 1rem 1rem;
    }
}

.profile-subscription {
    margin: 0.5rem 0 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
}

.subscription-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.profile-subscription h2 {
    margin: 0;
}

.subscription-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    margin: 0;
    flex-shrink: 0;
}

.subscription-badge.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.subscription-badge.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Yellow PRO badge next to username for subscribers */
.pro-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #6b5a0a;
    background: #f0e130;
    border: 1px solid #c9b800;
    border-radius: 8px;
    vertical-align: middle;
}

.subscription-info {
    font-size: 0.95rem;
    color: #54595d;
    margin: 0.5rem 0;
}

.subscription-form {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.subscription-price-select {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
    background: #fff;
}

.subscription-subscribe-btn {
    background: #3366cc !important;
    color: #fff !important;
}

.subscription-subscribe-btn:hover {
    background: #2a52a3 !important;
}

.subscription-manage-btn {
    background: #54595d !important;
    color: #fff !important;
}

.subscription-manage-btn:hover {
    background: #3e4245 !important;
}

.account-page .account-logout-form {
    margin-top: 1.25rem;
}

.account-page .account-logout-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: #72777d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.account-page .account-logout-btn:hover {
    background: #54595d;
}

.account-page h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #202122;
    margin: 1rem 0 0.5rem 0;
}

.account-page .account-divider {
    border: none;
    border-top: 1px solid #a2a9b1;
    margin: 1rem 0;
}

.account-page .account-form-group {
    margin-bottom: 1rem;
}

.account-page .account-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #54595d;
    margin-bottom: 0.25rem;
}

.account-page .account-input {
    width: 100%;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.account-page .account-input:focus {
    border-color: #3366cc;
}

.account-page .account-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.account-page .account-checkbox-row input {
    width: 1rem;
    height: 1rem;
}

.account-page .account-submit {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #3366cc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.account-page .account-submit:hover {
    background: #2a56b3;
}

.account-page .account-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.account-page .account-links a {
    color: #0645ad;
}

.account-page .account-links a:hover {
    text-decoration: underline;
}

.account-page .validation-message {
    font-size: 0.85rem;
    color: #d33;
    margin-top: 0.25rem;
}

.account-page .account-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.account-page .account-alert.danger {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
}

.account-page .account-alert.success {
    background: #efe;
    border: 1px solid #cfc;
    color: #060;
}

.account-page .account-link-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3366cc;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 2px solid #3366cc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.account-page .account-link-btn:hover {
    background: #3366cc;
    color: #fff;
    text-decoration: none;
}

.account-page .account-external-form {
    margin-top: 0;
}

.account-page .account-external-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    max-width: 650px;
}

.account-page .account-external-btn {
    flex: 1;
    min-width: 180px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.account-page .account-external-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.account-page .account-external-icon svg {
    display: block;
}

.account-page .account-external-btn:hover {
    opacity: 0.92;
}

/* Google official “Continue with Google” light-theme styling (branding guidelines) */
.account-page .account-external-google {
    max-width: 650px;
    background: #2f2f2f;
    color: #fff;
    border: 1px solid #2f2f2f;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.account-page .account-external-google:hover {
    background: #404040;
    border-color: #404040;
}

.account-page .account-external-microsoft {
    background: #2f2f2f;
    color: #fff;
}

/* === Blazor Error Boundary === */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}
