/**
 * Cookie Consent Banner Styles
 * GDPR-compliant cookie consent modal
 */

/* Overlay */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.cookie-consent-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-consent-overlay.visible .cookie-consent-modal {
    transform: translateY(0);
}

/* Icon */
.cookie-consent-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Title */
.cookie-consent-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

/* Description */
.cookie-consent-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Cookie types list */
.cookie-consent-types {
    text-align: left;
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
}

.cookie-consent-types li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.cookie-consent-types li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #667eea;
    font-size: 18px;
    line-height: 1;
}

.cookie-consent-types li strong {
    color: #1a1a1a;
}

/* Buttons container */
.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* Buttons base */
.cookie-consent-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}

/* Primary button - Accept all */
.cookie-consent-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cookie-consent-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cookie-consent-btn-primary:active {
    transform: translateY(0);
}

/* Secondary button - Only necessary */
.cookie-consent-btn-secondary {
    background: #f0f0f0;
    color: #444;
    border: 1px solid #ddd;
}

.cookie-consent-btn-secondary:hover {
    background: #e5e5e5;
    border-color: #ccc;
}

/* Privacy link */
.cookie-consent-privacy-link {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-consent-privacy-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-consent-modal {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .cookie-consent-icon {
        font-size: 40px;
    }
    
    .cookie-consent-title {
        font-size: 20px;
    }
    
    .cookie-consent-description {
        font-size: 14px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Body scroll lock when banner is shown */
body.cookie-consent-active {
    overflow: hidden;
}
