/* Cookie Consent Banner Styles */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid #6f42c1;
    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: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.cookie-consent-banner.hide {
    transform: translateY(100%);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
}

.cookie-consent-text h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-consent-actions .btn {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-consent-actions .btn-success {
    background: #28a745;
    border-color: #28a745;
}

.cookie-consent-actions .btn-success:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
}

.cookie-consent-actions .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.cookie-consent-actions .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.cookie-consent-actions .btn-link {
    color: #6f42c1;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
}

.cookie-consent-actions .btn-link:hover {
    color: #5a2d91;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .cookie-consent-content {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
    
    .cookie-consent-text h5 {
        font-size: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cookie-consent-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .cookie-consent-content {
        padding: 0.875rem;
    }
    
    .cookie-consent-text h5 {
        font-size: 0.95rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
    }
    
    .cookie-consent-actions .btn {
        flex: 1;
        min-width: 0;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .cookie-consent-actions .btn-link {
        flex: none;
        font-size: 0.75rem;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-top-color: #805ad5;
    }
    
    .cookie-consent-text h5 {
        color: #f7fafc;
    }
    
    .cookie-consent-text p {
        color: #cbd5e0;
    }
}

/* Animation for improved UX */
.cookie-consent-banner {
    animation: slideUpBounce 0.5s ease-out;
}

@keyframes slideUpBounce {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    70% {
        transform: translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Focus states for accessibility */
.cookie-consent-actions .btn:focus {
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.25);
    outline: none;
}

.cookie-consent-actions .btn-success:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
}