/**
 * VueReka GDPR Cookie Consent Banner Styles
 */

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1A1A2E;
    color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.cookie-consent-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #FFFFFF;
}

.cookie-consent-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-consent-btn-primary {
    background: #F58220;
    color: #FFFFFF;
}

.cookie-consent-btn-primary:hover {
    background: #D96A00;
}

.cookie-consent-btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Add bottom padding to body when banner is visible to prevent content overlap */
body.cookie-banner-visible {
    padding-bottom: 100px;
}

/* Responsive styles */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .cookie-consent-btn {
        width: 100%;
    }

    body.cookie-banner-visible {
        padding-bottom: 200px;
    }
}
