/* Cookie Consent Banner Styles */
.cookie-consent-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s ease;
    padding: 20px 0;
}

.cookie-consent-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-consent-content {
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #069756 0%, #1c934c 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.cookie-consent-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.cookie-consent-header .btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cookie-consent-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-consent-body {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-body p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #666;
    font-size: 1rem;
}

.cookie-types {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-type {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #069756;
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
    min-width: 150px;
}

.cookie-type strong {
    color: #069756;
    display: block;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

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

.cookie-consent-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-width: 120px;
}

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

.cookie-consent-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.cookie-consent-actions .btn-primary {
    background: #069756;
    border-color: #069756;
    color: white;
}

.cookie-consent-actions .btn-primary:hover {
    background: #1c934c;
    border-color: #1c934c;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-modal {
        padding: 15px 0;
    }
    
    .cookie-consent-content {
        width: 98%;
        margin: 0 10px;
    }
    
    .cookie-consent-header {
        padding: 15px 20px;
    }
    
    .cookie-consent-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-body {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-consent-text {
        width: 100%;
    }
    
    .cookie-types {
        justify-content: center;
    }
    
    .cookie-type {
        min-width: 120px;
        flex: none;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-consent-actions .btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-header {
        padding: 12px 15px;
    }
    
    .cookie-consent-body {
        padding: 15px;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
    }
    
    .cookie-types {
        flex-direction: column;
    }
    
    .cookie-type {
        min-width: auto;
    }
}

/* Animation for cookie icon */
.cookie-consent-header i {
    animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Accessibility improvements */
.cookie-consent-modal:focus {
    outline: none;
}

.cookie-consent-content:focus {
    outline: 2px solid #069756;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-consent-content {
        border: 2px solid #000;
    }
    
    .cookie-consent-header {
        background: #000;
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-modal,
    .cookie-consent-content,
    .cookie-consent-actions .btn {
        transition: none;
    }
    
    .cookie-consent-header i {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent-content {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .cookie-consent-body p {
        color: #cbd5e0;
    }
    
    .cookie-type {
        background: #4a5568;
        color: #e2e8f0;
    }
    
    .cookie-consent-actions .btn-outline-secondary {
        background: #4a5568;
        color: #e2e8f0;
        border-color: #718096;
    }
} 