/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section Gradient Background */
.hero-gradient {
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(244, 114, 182, 0.1) 0%, transparent 40%);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

/* Line Animation */
.line-animation {
    background: linear-gradient(90deg, transparent, #a78bfa, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Marquee Animation */
.marquee {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Dadata Address Autocomplete Styles
   ======================================== */

/* Контейнер подсказок */
.suggestions-wrapper {
    position: relative !important;
    z-index: 9999 !important;
}

/* Список подсказок */
.suggestions-suggestions {
    background: #1a1a1b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

/* Элемент подсказки */
.suggestions-suggestion {
    padding: 12px 16px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

.suggestions-suggestion:last-child {
    border-bottom: none !important;
}

/* Hover состояние */
.suggestions-suggestion.suggestions-selected,
.suggestions-suggestion:hover {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #a78bfa !important;
}

/* Выделенная часть текста */
.suggestions-suggestion strong {
    color: #8b5cf6 !important;
    font-weight: 600 !important;
}

/* Hint (подсказка в инпуте) */
.suggestions-hint {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Адрес (основной текст) */
.suggestions-value {
    display: block !important;
    margin-bottom: 4px !important;
}

/* Дополнительная информация */
.suggestions-unrestricted-value {
    display: block !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Loader */
.suggestions-spinner {
    border-top-color: #8b5cf6 !important;
}

/* Сообщение об ошибке */
.suggestions-error {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #fca5a5 !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
}

/* Адаптация для темной темы */
@media (prefers-color-scheme: dark) {
    .suggestions-suggestions {
        background: #0a0a0b !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    }
}

/* Анимация появления */
@keyframes suggestionsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestions-suggestions {
    animation: suggestionsFadeIn 0.2s ease-out !important;
}

/* Стилизация скроллбара для списка подсказок */
.suggestions-suggestions::-webkit-scrollbar {
    width: 6px;
}

.suggestions-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.suggestions-suggestions::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.suggestions-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Иконка местоположения в подсказках */
.suggestions-suggestion::before {
    content: '📍';
    margin-right: 8px;
    opacity: 0.6;
}
