/* Cookie Consent Popup Styles */
#cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

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

.cookie-text {
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.cookie-text p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.cookie-accept {
    background: rgb(93, 131, 153);
    color: white;
}

.cookie-accept:hover {
    background: rgb(73, 111, 133);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(93, 131, 153, 0.3);
}

.cookie-reject {
    background: white;
    color: rgb(93, 131, 153);
    border: 2px solid rgb(93, 131, 153);
}

.cookie-reject:hover {
    background: rgb(93, 131, 153);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(93, 131, 153, 0.3);
}

.cookie-btn:focus {
    outline: 2px solid rgb(93, 131, 153);
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookie-consent-popup {
        padding: 0.5rem;
    }
    
    .cookie-consent-content {
        padding: 1rem;
    }
    
    .cookie-text {
        margin-right: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-close-btn {
        top: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-popup {
        transition: none;
    }
    
    .cookie-btn {
        transition: none;
    }
    
    .cookie-close-btn {
        transition: none;
    }
}