:root {
    --accent-blue: #1A3A6B;
    --digital-steel: #4A6A8F;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    color: #2D2D2D;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--digital-steel);
}

.hero-section {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--digital-steel) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-section .mud-typography-h2,
.hero-section h2 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
}

.hero-section .mud-typography-subtitle1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.hero-button {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.hero-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.accent-card {
    border-left: 4px solid var(--accent-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}

.accent-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-menu-trigger {
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.footer {
    background-color: var(--accent-blue);
    color: white;
    padding: 2rem 1rem;
    font-size: 0.85rem;
    margin-top: auto;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: var(--accent-blue);
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Загрузка");
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
