/* Clean up site.css to avoid conflicts with modern-theme.css */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    margin: 0;
    padding: 0;
}

/* Page titles should follow modern-theme.css */
h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content {
    padding-top: 0; /* Remove top gap */
}

/* Keep essential validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--success);
}
.invalid {
    outline: 1px solid var(--danger);
}
.validation-message {
    color: var(--danger);
}

/* Bottom Nav Safe Area - handled in modern-theme.css */

/* Blazor Error UI - скрыт по умолчанию, показывается только при ошибках */
#blazor-error-ui {
    display: none;
    background: #d32f2f;
    color: white;
    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: 100000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
}
