/* Стили из base.html */
.gradient-bg {
    background: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 50%, #EC4899 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    border-radius: 12px !important;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white !important;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Современный футер */
.footer-modern {
    background: linear-gradient(90deg, #f8fafc 60%, #f3e8ff 100%);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 16px 0 rgba(120, 80, 200, 0.04);
    position: relative;
}

.footer-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa 0%, #6366f1 100%);
    border-radius: 2px;
    margin: 0 auto 10px auto;
    opacity: 0.15;
}

.footer-text {
    font-size: 0.98em;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.95;
}

.footer-icon {
    color: #a78bfa;
    font-size: 1.1em;
    opacity: 0.7;
}

.footer-link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #7c3aed;
    text-decoration: underline;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: #fff;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 12px;
    padding: 4px 8px;
    margin-left: 0.5em;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.admin-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.admin-badge:hover::before {
    left: 100%;
}

.admin-badge:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.admin-badge i {
    color: #fbbf24;
    font-size: 0.9em;
    margin-right: 0.2em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* ─── Extra visual polish ──────────────────────────────────────────────── */

/* Floating animation for decorative blobs */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

/* Particle animation */
.particle {
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) {
    animation-delay: 0s;
}

.particle:nth-child(2) {
    animation-delay: 1s;
}

.particle:nth-child(3) {
    animation-delay: 2s;
}

.particle:nth-child(4) {
    animation-delay: 3s;
}

.particle:nth-child(5) {
    animation-delay: 4s;
}

.particle:nth-child(6) {
    animation-delay: 5s;
}

.particle:nth-child(7) {
    animation-delay: 6s;
}

.particle:nth-child(8) {
    animation-delay: 7s;
}

.particle:nth-child(9) {
    animation-delay: 8s;
}

/* Fade‑in‑up animation for elements on reveal */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Glass‑morphism card surface */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Stronger hover elevation for cards */
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

/* Wave divider helper */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
}

/* ─── Helpers for new layout ───────────────────────────────────────── */
.section-title {
    font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.25rem);
    /* 3xl‑4xl range */
    font-weight: 800;
    letter-spacing: -0.01em;
}

.pricing-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

/* ─── Enhanced animations ─────────────────────────────────────────────── */

/* Pulse animation for status indicators */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scale animation for icons */
@keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.animate-scale {
    animation: scale 2s ease-in-out infinite;
}

/* Bounce animation for interactive elements */
@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -8px, 0);
    }

    70% {
        transform: translate3d(0, -4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-bounce {
    animation: bounce 1s;
}

/* Shimmer effect for loading states */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* ─── Form enhancements ──────────────────────────────────────────────── */

/* Input focus effects */
.form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Стили для полей ввода с иконками */
input[type="text"],
input[type="email"],
input[type="password"] {
    /* Улучшаем четкость текста */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Обеспечиваем правильное отображение на всех устройствах */
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    /* Убираем любые эффекты размытия */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ─── Navigation enhancements ─────────────────────────────────────────── */

/* Sticky navigation with blur effect */
.nav-sticky {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* Стили для пользовательского меню */
#userMenuBtn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 10px 16px !important;
}

#userMenuBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

#userMenuBtn:hover::before {
    left: 100%;
}

#userMenuBtn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%) !important;
}

#userMenuBtn:active {
    transform: translateY(0) scale(0.98) !important;
}

#userMenuBtn span {
    color: white !important;
    font-weight: 600 !important;
}

#userMenuBtn i {
    color: white !important;
}

/* Анимация стрелки при открытии меню */
#userMenuDropdown.show~#userMenuBtn .fa-chevron-down,
#userMenuDropdown:not(.hidden)~#userMenuBtn .fa-chevron-down {
    transform: rotate(180deg) !important;
}

/* Стили для выпадающего меню пользователя */
#userMenuDropdown {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(139, 92, 246, 0.1) !important;
    animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 16px !important;
    display: none !important;
}

#userMenuDropdown.show {
    display: block !important;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

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

/* Стили для пунктов меню */
#userMenuDropdown a,
#userMenuDropdown button {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #374151 !important;
    font-weight: 500 !important;
}

#userMenuDropdown a::before,
#userMenuDropdown button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s;
}

#userMenuDropdown a:hover::before,
#userMenuDropdown button:hover::before {
    left: 100%;
}

#userMenuDropdown a:hover,
#userMenuDropdown button:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1) !important;
    color: #7c3aed !important;
}

/* Специальные стили для кнопки выхода */
#userMenuDropdown button[onclick="logout()"]:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}

#userMenuDropdown button[onclick="logout()"]:hover i {
    color: #ef4444;
    transform: scale(1.1);
}

/* Анимация для иконок в меню */
#userMenuDropdown i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #8b5cf6 !important;
}

#userMenuDropdown a:hover i,
#userMenuDropdown button:hover i {
    transform: scale(1.1) rotate(5deg) !important;
    color: #7c3aed !important;
}

/* Стили для разделителя в меню */
#userMenuDropdown .border-t {
    border-color: rgba(139, 92, 246, 0.2) !important;
    margin: 8px 0 !important;
    border-width: 1px !important;
}

/* Dropdown animations */
.dropdown-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.dropdown-exit {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms, transform 200ms;
}

/* ─── Toast notifications ────────────────────────────────────────────── */

.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.1),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    min-width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

/* ─── Responsive improvements ────────────────────────────────────────── */

@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(8px);
    }

    .section-title {
        font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    }

    .pricing-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-wave {
        height: 60px;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ─── Dark mode support (optional) ─────────────────────────────────── */

@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(31, 41, 55, 0.75);
        border-color: rgba(75, 85, 99, 0.3);
    }

    .footer-modern {
        background: linear-gradient(90deg, #1f2937 60%, #374151 100%);
    }
}

/* ─── Performance optimizations ──────────────────────────────────────── */

/* Hardware acceleration for animations */
.animate-float,
.animate-pulse,
.animate-scale,
.animate-bounce {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ─── Accessibility improvements ─────────────────────────────────────── */

/* Focus indicators */
*:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─── New modern styles ─────────────────────────────────────────────── */

/* Backdrop blur effects */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

/* Modern gradient backgrounds */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Enhanced shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Modern border radius */
.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

/* Text gradients */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    background-clip: text;
}

/* Opacity utilities */
.opacity-10 {
    opacity: 0.1;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-90 {
    opacity: 0.9;
}

/* Transform utilities */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

.translate-x-1\/2 {
    --tw-translate-x: 50%;
}

.translate-y-1\/2 {
    --tw-translate-y: 50%;
}

/* Z-index utilities */
.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Mix blend modes */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

/* Filter utilities */
.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-3xl {
    --tw-blur: blur(64px);
}

.blur-xl {
    --tw-blur: blur(24px);
}

/* Overflow utilities */
.overflow-hidden {
    overflow: hidden;
}

/* Position utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Flex utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing utilities */
.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Font weight utilities */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

/* Min height utilities */
.min-h-screen {
    min-height: 100vh;
}

/* Max width utilities */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-7xl {
    max-width: 80rem;
}

/* Padding utilities */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Margin utilities */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Width and height utilities */
.w-1 {
    width: 0.25rem;
}

.w-2 {
    width: 0.5rem;
}

.w-6 {
    width: 1.5rem;
}

.w-10 {
    width: 2.5rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-72 {
    width: 18rem;
}

.w-96 {
    width: 24rem;
}

.h-1 {
    height: 0.25rem;
}

.h-2 {
    height: 0.5rem;
}

.h-3 {
    height: 0.75rem;
}

.h-6 {
    height: 1.5rem;
}

.h-10 {
    height: 2.5rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-32 {
    height: 8rem;
}

.h-72 {
    height: 18rem;
}

.h-96 {
    height: 24rem;
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .sm\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .sm\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .sm\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .sm\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .md\:inline-block {
        display: inline-block;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .lg\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .lg\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ─── Mobile Responsive Improvements ─────────────────────────────────────── */

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 64px;
        /* Height of navbar */
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(229, 231, 235, 0.5);
        z-index: 40;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-menu.show {
        transform: translateY(0);
    }

    /* Improve mobile grid */
    .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    /* Mobile spacing adjustments */
    .p-6 {
        padding: 1.5rem;
    }

    .py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .py-24 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* Mobile text sizes */
    .text-4xl {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .text-5xl {
        font-size: 2.5rem;
        line-height: 1;
    }

    .text-6xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-7xl {
        font-size: 3.5rem;
        line-height: 1;
    }

    /* Mobile button adjustments */
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Mobile form adjustments */
    .form-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    /* Mobile navigation adjustments */
    .nav-sticky {
        height: 4rem;
    }

    /* Уменьшаем высоту навигации на мобильных */
    nav .h-16 {
        height: 3.5rem;
    }

    /* Уменьшаем отступы в мобильном меню */
    .mobile-menu .px-2 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .mobile-menu .pt-2 {
        padding-top: 0.5rem;
    }

    .mobile-menu .pb-3 {
        padding-bottom: 0.75rem;
    }

    .mobile-menu .space-y-1>*+* {
        margin-top: 0.25rem;
    }

    /* Mobile footer adjustments */
    .footer-modern {
        padding: 2rem 1rem;
    }

    .footer-modern .grid {
        gap: 2rem;
    }

    /* Mobile modal adjustments */
    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }

    /* Mobile toast adjustments */
    .toast-notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .toast {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        max-width: none;
        min-width: auto;
        border-radius: 12px;
    }

    #toastContainer,
    #toast-container {
        right: 0.5rem;
        left: 0.5rem;
        top: 0.5rem;
        min-width: auto;
        max-width: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .toast {
        top: 0.25rem;
        right: 0.25rem;
        left: 0.25rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        max-width: none;
        min-width: auto;
        border-radius: 10px;
    }

    #toastContainer,
    #toast-container {
        right: 0.25rem;
        left: 0.25rem;
        top: 0.25rem;
        min-width: auto;
        max-width: none;
    }

    .text-4xl {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .text-5xl {
        font-size: 2rem;
        line-height: 1;
    }

    .text-6xl {
        font-size: 2.5rem;
        line-height: 1;
    }

    .text-7xl {
        font-size: 3rem;
        line-height: 1;
    }

    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .py-24 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .p-6 {
        padding: 1rem;
    }

    .gap-6 {
        gap: 1rem;
    }

    .gap-8 {
        gap: 1.5rem;
    }

    /* Mobile hero section adjustments */
    .hero-section {
        min-height: 100vh;
        padding: 1rem;
    }

    @media (max-width: 768px) {
        .hero-section {
            min-height: calc(100vh - 4rem);
            padding: 0.5rem;
        }

        .hero-section .min-h-screen {
            min-height: calc(100vh - 4rem);
            padding-top: 1rem;
        }
    }

    /* Mobile features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile CTA buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Medium mobile devices */
@media (min-width: 481px) and (max-width: 768px) {
    .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .text-5xl {
        font-size: 2.75rem;
        line-height: 1;
    }

    .text-6xl {
        font-size: 3.25rem;
        line-height: 1;
    }

    .text-7xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .text-4xl {
        font-size: 2.5rem;
        line-height: 1;
    }

    .text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-6xl {
        font-size: 3.5rem;
        line-height: 1;
    }

    .text-7xl {
        font-size: 4rem;
        line-height: 1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop devices */
@media (min-width: 1025px) {
    .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ─── Touch Device Optimizations ────────────────────────────────────────── */

@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn-primary,
    .auth-btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }

    /* Disable hover effects on touch devices */
    .hover\:scale-105:hover,
    .hover\:scale-110:hover,
    .hover\:-translate-y-1:hover {
        transform: none;
    }

    /* Improve touch feedback */
    .btn-primary:active,
    .auth-btn:active,
    .nav-link:active {
        transform: scale(0.95);
    }
}

/* ─── High DPI Display Optimizations ───────────────────────────────────── */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .blur-3xl {
        --tw-blur: blur(32px);
    }

    .blur-xl {
        --tw-blur: blur(12px);
    }
}

/* ─── Landscape Mobile Optimizations ────────────────────────────────────── */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem;
    }

    .py-24 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .py-32 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ─── Support Modal Styles ─────────────────────────────────────────────── */

.support-modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.support-modal .modal-content {
    animation: modalSlideIn 0.4s ease-out;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.support-modal .modal-content::-webkit-scrollbar {
    width: 6px;
}

.support-modal .modal-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.support-modal .modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.support-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Crypto donation cards */
.crypto-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.crypto-card:hover::before {
    left: 100%;
}

.crypto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Copy button animations */
.copy-btn {
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* QR code container */
.qr-container {
    transition: all 0.3s ease;
}

.qr-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive support modal */
@media (max-width: 768px) {
    .support-modal .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
    }

    .support-modal .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .crypto-card {
        padding: 1rem;
    }

    .qr-container img {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 480px) {
    .support-modal .modal-content {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        padding: 1rem;
    }

    .qr-container img {
        width: 10rem;
        height: 10rem;
    }

    .crypto-card {
        padding: 0.75rem;
    }

    .crypto-card .font-mono {
        font-size: 0.75rem;
    }
}



/* ─── Print Styles ─────────────────────────────────────────────────────── */

@media print {

    .nav-sticky,
    .mobile-menu,
    .toast-notification,
    .modal-overlay,
    .support-modal {
        display: none !important;
    }

    .hero-section {
        background: white !important;
        color: black !important;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── About Modal Styles ─────────────────────────────────────────────── */

.about-modal {
    animation: modalFadeIn 0.3s ease-out;
}

.about-modal .modal-content {
    animation: modalSlideIn 0.4s ease-out;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.about-modal .modal-content::-webkit-scrollbar {
    width: 6px;
}

.about-modal .modal-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.about-modal .modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.about-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

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

/* Avatar styles */
.avatar-container {
    position: relative;
    transition: all 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.05);
}

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6);
    border-radius: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.avatar-container:hover::before {
    opacity: 1;
}

/* Technology cards */
.tech-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tech-card .tech-icon {
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Version badges */
.version-badge {
    transition: all 0.3s ease;
}

.version-badge:hover {
    transform: scale(1.05);
}

/* Social links */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated background */
.animated-bg {
    background: linear-gradient(-45deg, #8b5cf6, #ec4899, #3b82f6, #10b981);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Modal responsive improvements */
@media (max-width: 768px) {
    .about-modal .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .about-modal .modal-content>div {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }

    .about-modal .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-modal .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-modal .modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }

    .about-modal .modal-content>div {
        max-height: calc(100vh - 2rem);
        padding: 1rem;
    }

    .about-modal .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .about-modal .tech-card {
        padding: 0.75rem;
    }

    .about-modal .tech-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ─── Modal Overlay Effects ──────────────────────────────────────────── */

.modal-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── Loading States ────────────────────────────────────────────────── */

.modal-loading {
    position: relative;
}

.modal-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ─── Новые анимации для главной страницы ────────────────────────────────── */

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    50% {
        border-color: transparent;
    }

    51%,
    100% {
        border-color: #8b5cf6;
    }
}

@keyframes iconGlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }

    50% {
        transform: scale(1.05) rotate(2deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    }
}

/* Классы анимаций */
.animate-float-up {
    animation: floatUp 4s ease-in-out infinite;
}

/* Новая анимация для цифр - более тонкая и плавная */
@keyframes gentleGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    }
}

.animate-gentle-glow {
    animation: gentleGlow 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out;
}

.animate-typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #8b5cf6;
    animation: typewriter 3s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

.animate-gradient-shift {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.animate-icon-glow {
    animation: iconGlow 3s ease-in-out infinite;
}

/* Анимации для меню */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Стили для иконок в полях ввода */
.form-input-icon {
    /* Убираем размывающие эффекты для четкости */
    filter: none;
    text-shadow: none;
    /* Добавляем легкое свечение без размытия */
    color: #8b5cf6 !important;
    font-weight: 600;
    /* Улучшаем четкость на всех устройствах */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Добавляем легкую тень для глубины */
    filter: drop-shadow(0 1px 1px rgba(139, 92, 246, 0.1));
    /* Дополнительные стили для четкости */
    font-size: 1.1em;
    line-height: 1;
    /* Убираем любые трансформации, которые могут влиять на четкость */
    transform: none;
    /* Обеспечиваем правильное отображение на всех устройствах */
    display: inline-block;
    vertical-align: middle;
}

/* Анимации для кнопок */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

/* Исправление отображения email в контактах */
.contact-email-btn {
    word-break: break-all;
    white-space: normal;
    text-align: left;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-email-btn i {
    flex-shrink: 0;
    margin-right: 8px;
}

/* Адаптивность для email кнопки */
@media (max-width: 480px) {
    .contact-email-btn {
        font-size: 12px;
        padding: 6px 8px;
    }

    .contact-email-btn i {
        margin-right: 4px;
    }
}

@media (max-width: 640px) {
    .contact-email-btn {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Улучшенные стили для модальных окон */
.modal-backdrop {
    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 25px 70px 0 rgba(31, 38, 135, 0.25);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f59e0b 100%);
    border-radius: 24px 24px 0 0;
}

/* Улучшенные стили для форм */
.form-input {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

/* Улучшенные стили для таблиц */
.table-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 25px 0 rgba(31, 38, 135, 0.1);
    overflow: hidden;
}

.table-modern th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    font-weight: 600;
    color: #374151;
}

.table-modern td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.table-modern tr:hover td {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: scale(1.01);
}

/* Улучшенные стили для уведомлений */
.toast-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    animation: slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-modern.success {
    border-left: 4px solid #10b981;
}

.toast-modern.error {
    border-left: 4px solid #ef4444;
}

.toast-modern.warning {
    border-left: 4px solid #f59e0b;
}

.toast-modern.info {
    border-left: 4px solid #3b82f6;
}