/* GDPR Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 9999;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text {
    margin-bottom: 20px;
}

.cookie-banner-text p {
    margin: 0 0 12px 0;
    color: #2A2A2A;
    line-height: 1.6;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 8px;
    color: #1E2952;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-policy-link {
    color: #2C3E7A;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-policy-link:hover {
    color: #E8593C;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    transition: all 0.2s ease;
}

.cookie-btn:focus {
    outline: 2px solid #2C3E7A;
    outline-offset: 2px;
}

.cookie-btn-accept {
    background-color: #E8593C;
    color: #FFFFFF;
    border-color: #E8593C;
}

.cookie-btn-accept:hover {
    background-color: #D14A2F;
    border-color: #D14A2F;
}

.cookie-btn-reject {
    background-color: transparent;
    color: #2C3E7A;
    border-color: #2C3E7A;
}

.cookie-btn-reject:hover {
    background-color: #2C3E7A;
    color: #FFFFFF;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #5A5A5A;
    border-color: #CCCCCC;
}

.cookie-btn-customize:hover {
    background-color: #F5F5F5;
    border-color: #999999;
}

.cookie-preferences {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #E8E8E8;
}

.cookie-preferences.show {
    display: block;
}

.cookie-preferences-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1E2952;
    margin-bottom: 16px;
}

.cookie-preference-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background-color: #FBF8F3;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
}

.cookie-preference-item.disabled {
    opacity: 0.7;
    background-color: #F0F0F0;
}

.cookie-preference-checkbox {
    margin-right: 12px;
    margin-top: 4px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-preference-checkbox:disabled {
    cursor: not-allowed;
}

.cookie-preference-info {
    flex: 1;
}

.cookie-preference-name {
    font-weight: 600;
    color: #1E2952;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-preference-badge {
    display: inline-block;
    padding: 2px 8px;
    background-color: #E8593C;
    color: #FFFFFF;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.cookie-preference-desc {
    font-size: 0.875rem;
    color: #5A5A5A;
    line-height: 1.5;
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-preferences-actions .cookie-btn {
    flex: 0 1 auto;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 16px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-preferences-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-preferences-actions .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text strong {
        font-size: 1.125rem;
    }

    .cookie-preference-item {
        padding: 12px;
    }
}
