/* GDPR Cookie Banner */
.gdpr-banner {
    position: fixed !important; /* Force fixed positioning */
    bottom: 0 !important; /* Force positioning at viewport bottom */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: rgba(15, 23, 42, 0.98); /* More opaque for better readability */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid rgba(99, 102, 241, 0.5); /* Highlighted border with primary color */
    padding: 1.5rem 2rem; /* Slightly larger padding */
    z-index: 2147483647 !important; /* Maximum z-index value to ensure it's above everything */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: var(--light);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow */
    opacity: 1 !important; /* Force visibility */
    visibility: visible !important; /* Force visibility */
    transform: translateY(0) !important; /* Force position */
    
    /* Additional properties to ensure banner is always visible */
    margin: 0 !important;
    max-height: none !important; 
    min-height: auto !important;
    overflow: visible !important;
    transition: transform 0.5s ease, opacity 0.5s ease !important;
}

.gdpr-banner.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease !important;
    pointer-events: none !important; /* Disable interaction when hidden */
}

.gdpr-content {
    flex: 1;
    padding-right: 2rem;
    max-width: 800px; /* Limit width for better readability */
}

.gdpr-title {
    font-weight: 700; /* Bolder title */
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #ffffff; /* Ensure high contrast */
}

.gdpr-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.gdpr-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking on small screens */
}

.gdpr-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.gdpr-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.gdpr-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 100px; /* Ensure buttons are wide enough to be clickable */
    text-align: center;
}

.gdpr-btn-accept {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.gdpr-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.gdpr-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gdpr-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobiliems įrenginiams */
@media (max-width: 768px) {
    .gdpr-banner {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .gdpr-content {
        padding-right: 0;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .gdpr-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .gdpr-btn {
        padding: 0.8rem 1rem;
        min-width: 90px;
    }
}

/* Small mobile optimization */
@media (max-width: 480px) {
    .gdpr-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .gdpr-btn, .gdpr-link {
        width: 100%;
    }
}
