/**
 * GDPR Cookie Consent Banner Styles
 */

#cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99998;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #0D0D52;
}

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

.cookie-consent-text a {
    color: #0D0D52;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #1a1a7a;
}

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

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-btn-accept {
    background: #0D0D52;
    color: #ffffff;
}

.cookie-consent-btn-accept:hover {
    background: #1a1a7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 13, 82, 0.3);
}

.cookie-consent-btn-reject {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-consent-btn-reject:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 16px;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-consent-content {
        min-width: 100%;
    }
    
    .cookie-consent-title {
        font-size: 16px;
    }
    
    .cookie-consent-text {
        font-size: 13px;
    }
    
    .cookie-consent-actions {
        width: 100%;
    }
    
    .cookie-consent-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Adjust body padding when banner is visible */
body.cookie-banner-visible {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    body.cookie-banner-visible {
        padding-bottom: 180px;
    }
}

/* Cookie reset link styling */
.cookie-reset-link {
    color: #0D0D52;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.cookie-reset-link:hover {
    color: #1a1a7a;
}
