/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #007bff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.cookie-message {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.cookie-accept {
    background: #007bff;
    color: white;
}

.cookie-accept:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.cookie-decline {
    background: #6c757d;
    color: white;
}

.cookie-decline:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.cookie-learn-more {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cookie-learn-more:hover {
    background: #f8f9fa;
    color: #0056b3;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    
    .cookie-banner-text {
        text-align: center;
    }
    
    .cookie-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .cookie-message {
        font-size: 13px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .cookie-learn-more {
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 12px;
    }
    
    .cookie-title {
        font-size: 15px;
    }
    
    .cookie-message {
        font-size: 12px;
    }
    
    .cookie-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .cookie-learn-more {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-banner {
        background: #2d3748;
        border-top-color: #4299e1;
    }
    
    .cookie-title {
        color: #f7fafc;
    }
    
    .cookie-message {
        color: #cbd5e0;
    }
    
    .cookie-learn-more:hover {
        background: #4a5568;
        color: #63b3ed;
    }
}

/* Animation for better UX */
.cookie-banner * {
    box-sizing: border-box;
}

.cookie-btn:active {
    transform: translateY(0);
}

.cookie-learn-more:active {
    transform: translateY(1px);
}

/* Focus states for accessibility */
.cookie-btn:focus,
.cookie-learn-more:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-banner {
        border-top-width: 4px;
    }
    
    .cookie-btn {
        border: 2px solid transparent;
    }
    
    .cookie-accept {
        border-color: #007bff;
    }
    
    .cookie-decline {
        border-color: #6c757d;
    }
    
    .cookie-learn-more {
        border: 2px solid #007bff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: none;
    }
    
    .cookie-btn,
    .cookie-learn-more {
        transition: none;
    }
    
    .cookie-btn:hover,
    .cookie-decline:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .cookie-banner {
        display: none !important;
    }
}
