/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    animation: slideIn 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-consent-content {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-text {
    margin-bottom: 20px;
}

.cookie-consent-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a1a1a;
}

.cookie-consent-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-btn-primary {
    background: #FF6B6B;
    color: white;
}

.cookie-btn-primary:hover {
    background: #E63946;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.cookie-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.cookie-btn-secondary:hover {
    background: #e0e0e0;
}

.cookie-btn-tertiary {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn-tertiary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cookie-preference-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.cookie-preference-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.cookie-close:hover {
    background: #f0f0f0;
    color: #333;
}

.cookie-preference-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cookie-option {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #FF6B6B;
}

.cookie-option-header {
    margin-bottom: 8px;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.cookie-option-header input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

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

.cookie-option-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    padding-left: 30px;
}

.cookie-preference-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Toast Notification */
.cookie-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: #1a1a1a;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.cookie-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    #cookieConsentBanner {
        bottom: 0;
    }
    
    .cookie-consent-content {
        padding: 20px 16px;
    }
    
    .cookie-consent-text h3 {
        font-size: 18px;
    }
    
    .cookie-consent-text p {
        font-size: 13px;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-preferences {
        padding: 20px 16px;
    }
    
    .cookie-toast {
        right: 16px;
        left: 16px;
        bottom: 80px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .cookie-preference-header h3 {
        font-size: 18px;
    }
    
    .cookie-close {
        font-size: 28px;
    }
    
    .cookie-option {
        padding: 12px;
    }
    
    .cookie-option-desc {
        font-size: 13px;
        padding-left: 26px;
    }
}
