/**
 * Cookie Consent Banner Styles
 * NO RISK SERVIS - GDPR Compliant Cookie Banner
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(220, 38, 38, 0.3);
    border-top: 2px solid rgba(220, 38, 38, 0.5);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.5s ease-out forwards;
}

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

#cookie-consent-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-title i {
    color: #dc2626;
    font-size: 1.25rem;
}

.cookie-consent-description {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.cookie-consent-link {
    color: #dc2626;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-consent-link:hover {
    color: #ef4444;
}

.cookie-consent-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .cookie-consent-buttons {
        flex-direction: row;
    }
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(220, 38, 38, 0.5);
}

.cookie-btn-secondary:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
}

.cookie-btn-text {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.cookie-btn-text:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Icon animations */
.cookie-consent-title i {
    animation: cookieBounce 2s infinite;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    #cookie-consent-banner {
        padding: 1rem 0;
    }

    .cookie-consent-title {
        font-size: 1rem;
    }

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

    .cookie-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
        width: 100%;
    }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    #cookie-consent-banner {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.99) 0%, rgba(15, 15, 15, 0.99) 100%);
    }
}

/* Accessibility */
.cookie-btn:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.cookie-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Print styles - hide banner */
@media print {
    #cookie-consent-banner {
        display: none !important;
    }
}
