/* ============================================================
   GDPR COOKIE BANNER
   ============================================================ */

.gdpr-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 99998;
    background: #1a1a2e;
    color: #fff;
    border-radius: 0.75rem;
    max-width: 420px;
    width: calc(100% - 3rem);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gdpr-banner.gdpr-show {
    transform: translateY(0);
}

.gdpr-banner.gdpr-hide {
    transform: translateY(120%);
}

.gdpr-banner-inner {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gdpr-banner-text {
    flex: 1;
    min-width: 280px;
}

.gdpr-banner-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.gdpr-banner-text p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
}

.gdpr-banner-text a {
    color: #D4A843;
    text-decoration: underline;
}

.gdpr-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.gdpr-btn-accept {
    background: #D4A843;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: background 0.15s;
}

.gdpr-btn-accept:hover {
    background: #c09a3a;
    color: #fff;
}

.gdpr-btn-essential {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background 0.15s;
}

.gdpr-btn-essential:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.gdpr-btn-settings {
    background: none;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s;
}

.gdpr-btn-settings:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

/* ============================================================
   GDPR SETTINGS MODAL
   ============================================================ */

.gdpr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gdpr-modal-overlay.gdpr-show {
    opacity: 1;
}

.gdpr-modal {
    background: #fff;
    border-radius: 0.75rem;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gdpr-modal-overlay.gdpr-show .gdpr-modal {
    transform: translateY(0);
}

.gdpr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.gdpr-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #002B75;
}

.gdpr-modal-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #6c757d;
    cursor: pointer;
}

.gdpr-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.gdpr-category {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.gdpr-category:last-of-type {
    border-bottom: none;
}

.gdpr-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.gdpr-category-header small {
    display: block;
    margin-top: 0.2rem;
}

.gdpr-info {
    margin-top: 0.5rem;
}

.gdpr-info h6 {
    color: #002B75;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.gdpr-info ul {
    padding-left: 1rem;
    margin: 0;
    font-size: 0.85rem;
    color: #495057;
}

.gdpr-info li {
    margin-bottom: 0.35rem;
}

.gdpr-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Cookie floating button (bottom right) */
.gdpr-cookie-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99997;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background: var(--primary, #003DA5);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.2s;
}

.gdpr-cookie-btn:hover {
    background: var(--primary-dark, #002B75);
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 575.98px) {
    .gdpr-banner {
        left: 0.75rem;
        bottom: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }
    .gdpr-banner-actions {
        flex-direction: column;
    }
    .gdpr-banner-actions .btn {
        width: 100%;
    }
    .gdpr-modal {
        max-height: 90vh;
    }
    .gdpr-cookie-btn {
        bottom: 1rem;
        right: 1rem;
    }
}
