/* /Components/Features/Characters/Components/BiographyComponent.razor.rz.scp.css */
/* BiographyComponent scoped styles */

/* Subsection container */
.bio-subsection[b-ldfcgdifs8] {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #fff;
}

/* Subsection header — clickable, with hover */
.bio-subsection-header[b-ldfcgdifs8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
}

.bio-subsection-header:hover[b-ldfcgdifs8] {
    background-color: #f1f5f9;
}

/* Subsection body */
.bio-subsection-body[b-ldfcgdifs8] {
    padding: 0.75rem;
}

/* Label with icon */
.bio-label[b-ldfcgdifs8] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.375rem;
}

/* Textarea styling — ::deep to penetrate into InitialSizeTextArea child component */
[b-ldfcgdifs8] .bio-textarea {
    width: 100%;
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1e293b;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    resize: vertical;
}

[b-ldfcgdifs8] .bio-textarea:hover {
    border-color: #94a3b8;
}

[b-ldfcgdifs8] .bio-textarea:focus {
    outline: none;
    border-color: #4B7FAF;
    box-shadow: 0 0 0 3px rgba(75, 127, 175, 0.15);
    background-color: #fafbfd;
}

[b-ldfcgdifs8] .bio-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Larger textarea for Notes and Backstory */
[b-ldfcgdifs8] .bio-textarea-large {
    min-height: 6rem;
}

/* Markdown preview area */
.bio-preview[b-ldfcgdifs8] {
    min-height: 4rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #fafbfd;
    font-size: 0.875rem;
    line-height: 1.6;
}

.bio-preview:empty[b-ldfcgdifs8]::before {
    content: "Нет содержимого для отображения";
    color: #9ca3af;
    font-style: italic;
}

/* Mode toggle buttons (Editor / Preview) */
.bio-mode-btn[b-ldfcgdifs8] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bio-mode-btn:hover[b-ldfcgdifs8] {
    background-color: #e2e8f0;
    color: #334155;
}

.bio-mode-btn-active[b-ldfcgdifs8] {
    background-color: #4B7FAF;
    color: #fff;
    border-color: #4B7FAF;
}

.bio-mode-btn-active:hover[b-ldfcgdifs8] {
    background-color: #3D6792;
    border-color: #3D6792;
}

/* Animation for subsection expand/collapse */
@keyframes fadeSlideIn-b-ldfcgdifs8 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bio-subsection-body[b-ldfcgdifs8] {
    animation: fadeSlideIn-b-ldfcgdifs8 0.15s ease-out;
}
/* /Components/Features/Characters/Components/DerivedAttributesTable.razor.rz.scp.css */
/* DerivedAttributesTable component scoped styles */

/* Progress bar animation */
[b-t605tzyrka] .h-1\.5 > div {
    transition: width 0.5s ease-out;
}

/* Print progress bars */
@media print {
    [b-t605tzyrka] .bg-red-500,
    [b-t605tzyrka] .bg-blue-500,
    [b-t605tzyrka] .bg-purple-500,
    [b-t605tzyrka] .bg-green-500 {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Features/Characters/Components/SkillGroupCard.razor.rz.scp.css */
/* SkillGroupCard component scoped styles */

/* Smooth hover transition for skill rows */
[b-krcfhhms4b] .skill-row {
    transition: background-color 0.15s ease;
}

/* Print-friendly skill cards */
@media print {
    [b-krcfhhms4b] .bg-primary-50 {
        background-color: #F8FAFC !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Features/Characters/Components/UnifiedPersonalInfoCard.razor.rz.scp.css */
/* UnifiedPersonalInfoCard component scoped styles */

/* Print optimizations */
@media print {
    [b-5zrz2gh4ch] input {
        border: 1px solid #d1d5db !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    [b-5zrz2gh4ch] .bg-gray-50 {
        background-color: #f9fafb !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Features/Characters/Pages/CharacterPage.razor.rz.scp.css */
/* CharacterPage component scoped styles */

/* Section header hover effect */
.section-header[b-uh0sl7njui] {
    transition: filter 0.2s ease;
}

.section-header:hover[b-uh0sl7njui] {
    filter: brightness(1.08);
}

/* Smooth section collapse animation via print optimization */
@media print {
    .section-header[b-uh0sl7njui] {
        background: #334155 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */

.page[b-9bxfeybak6] {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
}

.main[b-9bxfeybak6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.content[b-9bxfeybak6] {
    padding-top: 1.5rem;
    flex: 1;
    width: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    .page[b-9bxfeybak6] {
        flex-direction: column;
    }

    .content[b-9bxfeybak6] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .page[b-9bxfeybak6] {
        flex-direction: column;
    }
}
/* /Components/Navigation/TopBar.razor.rz.scp.css */

.nav-container[b-egd4ej6r1y] {
    border-bottom: 1px solid var(--cm-border-color);
    backdrop-filter: blur(10px);
    background-color: var(--cm-background-alpha);
    width: 100%;
}

.brand[b-egd4ej6r1y] {
    color: var(--color-primary-800);
    font-weight: 700;
}

.user-avatar[b-egd4ej6r1y] {
    background: var(--color-primary-700);
    flex-shrink: 0;
}

.logout-btn[b-egd4ej6r1y] {
    background: var(--cm-gradient-error);
    flex-shrink: 0;
}

    .logout-btn:hover[b-egd4ej6r1y] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px var(--cm-shadow-error);
    }

.mobile-menu[b-egd4ej6r1y] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cm-overlay);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .mobile-menu.show[b-egd4ej6r1y] {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-menu-content[b-egd4ej6r1y] {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cm-background);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-menu.show .mobile-menu-content[b-egd4ej6r1y] {
    transform: translateX(0);
}

.google-btn[b-egd4ej6r1y] {
    background: var(--cm-background);
    border: 1px solid var(--cm-border-color);
    border-radius: var(--cm-radius-md);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    color: var(--cm-text-primary, #374151);
    font: inherit;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

    .google-btn:hover[b-egd4ej6r1y] {
        border-color: var(--cm-border-color-hover);
        box-shadow: var(--cm-shadow-sm);
    }

    .google-btn:focus-visible[b-egd4ej6r1y] {
        outline: 2px solid var(--cm-border-color-hover);
        outline-offset: 2px;
    }

.auth-alert[b-egd4ej6r1y] {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--cm-radius-md);
    color: #dc2626;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-right: 1rem;
    max-width: 300px;
}
/* /Components/Shared/ConfirmationModal.razor.rz.scp.css */
/* ConfirmationModal component scoped styles */
/* CSS isolation automatically applies [b-{component-id}] scope to these styles */

@keyframes scaleIn-b-g3es17t0u9 {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn-b-g3es17t0u9 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeIn[b-g3es17t0u9] {
    animation: fadeIn-b-g3es17t0u9 0.15s ease-out;
}

.animate-scaleIn[b-g3es17t0u9] {
    animation: scaleIn-b-g3es17t0u9 0.15s ease-out;
}
/* /Components/Shared/Modal.razor.rz.scp.css */
/* Modal component scoped styles */
/* CSS isolation automatically applies [b-{component-id}] scope to these styles */

@keyframes scaleIn-b-f4o2nabf8y {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn-b-f4o2nabf8y {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeIn[b-f4o2nabf8y] {
    animation: fadeIn-b-f4o2nabf8y 0.15s ease-out;
}

.animate-scaleIn[b-f4o2nabf8y] {
    animation: scaleIn-b-f4o2nabf8y 0.15s ease-out;
}
