/* Cookie Banner Styles */

#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 2px solid #dc3545;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
}

#cookieBanner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-banner-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: #dc3545;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #c82333;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-banner-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Funnel Sans', sans-serif;
}

.cookie-banner-btn-primary {
    background-color: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
}

.cookie-banner-btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.cookie-banner-btn-secondary {
    background-color: #2d2d2d;
    color: #ccc;
    border: 2px solid #444;
}

.cookie-banner-btn-secondary:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.cookie-banner-btn-tertiary {
    background-color: #2d2d2d;
    color: #999;
    border: 2px solid #444;
}

.cookie-banner-btn-tertiary:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Cookie Settings Modal */
#cookieSettingsModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#cookieSettingsModal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #dc3545;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dc3545;
}

.cookie-settings-header h2 {
    color: #dc3545;
    margin: 0;
    font-size: 1.5rem;
}

.cookie-settings-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.cookie-settings-close:hover {
    color: #dc3545;
}

.cookie-settings-section {
    margin-bottom: 25px;
}

.cookie-settings-section h3 {
    color: #dc3545;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cookie-settings-section p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cookie-settings-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 5px;
    margin-bottom: 10px;
}

.cookie-settings-option input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #dc3545;
}

.cookie-settings-option label {
    flex: 1;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 0.95rem;
}

.cookie-settings-option label strong {
    color: #dc3545;
    display: block;
    margin-bottom: 5px;
}

.cookie-settings-option label small {
    color: #999;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.cookie-settings-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-option.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.cookie-settings-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(220, 53, 69, 0.2);
}

.cookie-settings-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Funnel Sans', sans-serif;
}

.cookie-settings-btn-primary {
    background-color: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
}

.cookie-settings-btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.cookie-settings-btn-secondary {
    background-color: #2d2d2d;
    color: #ccc;
    border: 2px solid #444;
}

.cookie-settings-btn-secondary:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Footer Cookie Link - Works with existing footer styles */
footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #c82333;
    text-decoration: underline;
}

footer .footer-text {
    color: #666;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookieBanner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        gap: 12px;
    }
    
    .cookie-banner-text {
        font-size: 0.9rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-banner-btn {
        width: 100%;
    }
    
    .cookie-settings-content {
        padding: 20px;
        max-height: 95vh;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.3rem;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

