html {
    scrollbar-gutter: stable;
    color-scheme: dark;
}

body {
    overflow-y: scroll;
    background-color: #0f172a;
    color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0f0f17 0%, #1a1a2e 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding-bottom: 0 !important;
}

main {
    flex: 1;
    padding: 2rem 1rem;
    padding-bottom: 60px;
}


.flash-container {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 99999 !important;
    pointer-events: none !important;
}

.flash-item {
    pointer-events: auto !important;
    min-width: 280px !important;
    max-width: 360px !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.35s ease-out !important;
}

.flash-success,
.flash-danger,
.flash-error,
.flash-warning,
.flash-info {
    background: inherit !important;
    border: none !important;
}

/* Анимация */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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