/**
 * Simple Cookie Consent Styles за Regionite.info
 * Responsive, modern design
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    font-size: 2rem;
    line-height: 1;
}

.cookie-consent-text strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: white;
    color: #667eea;
}

.cookie-btn-accept:hover {
    background: #f7f7f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-consent-text {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;
    }

    .cookie-icon {
        font-size: 2.5rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-text strong {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.8125rem;
    }

    .cookie-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Анимация при скриване */
@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}
