/* ============================================
   EXISTING STYLES
   ============================================ */

.navbar-nav .nav-link {
    font-size: 14px !important;
    color: rgb(255, 255, 255) !important;
}

.toast {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close:hover {
    color: #490f15;
}

/* Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1050;
}

/* ============================================
   GDPR COOKIE CONSENT BANNER - Bottom Centered
   ============================================ */

.gdpr-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(13, 110, 253, 0.15);
    padding: 16px 24px;
    animation: gdprSlideUp 0.5s ease-out;
}

@keyframes gdprSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.gdpr-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1 1 60%;
    min-width: 280px;
}

.gdpr-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 1.3rem;
}

.gdpr-message {
    flex: 1;
}

.gdpr-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #212529;
}

.gdpr-description {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.gdpr-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.gdpr-link:hover {
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.gdpr-btn {
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gdpr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-btn-accept {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.gdpr-btn-accept:hover:not(:disabled) {
    background: #0b5ed7;
    border-color: #0a58ca;
}

.gdpr-btn-decline {
    background: transparent;
    color: #6c757d;
    border-color: #dee2e6;
}

.gdpr-btn-decline:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #ced4da;
}

.gdpr-btn-customize {
    background: transparent;
    color: #495057;
    border-color: #dee2e6;
}

.gdpr-btn-customize:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #ced4da;
}

/* Loading state for GDPR buttons */
.gdpr-btn .spinner-border {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

/* ============================================
   GDPR BANNER - MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 768px) {
    .gdpr-banner {
        bottom: 10px;
        width: 95%;
        padding: 14px 16px;
        border-radius: 12px;
    }
    
    .gdpr-banner-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .gdpr-banner-text {
        flex: 1 1 100%;
        min-width: 0;
        gap: 10px;
    }
    
    .gdpr-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .gdpr-title {
        font-size: 0.85rem;
    }
    
    .gdpr-description {
        font-size: 0.75rem;
    }
    
    .gdpr-buttons {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
    
    .gdpr-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
        flex: 1;
        text-align: center;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .gdpr-banner {
        bottom: 8px;
        padding: 12px 12px;
        border-radius: 10px;
    }
    
    .gdpr-buttons {
        flex-wrap: wrap;
    }
    
    .gdpr-btn {
        font-size: 0.7rem;
        padding: 4px 10px;
        flex: 1 1 calc(33.33% - 6px);
        min-width: 50px;
    }
}

/* Dark mode support for GDPR banner */
@media (prefers-color-scheme: dark) {
    .gdpr-banner {
        background: rgba(33, 37, 41, 0.98);
        border-color: rgba(13, 110, 253, 0.3);
    }
    
    .gdpr-title {
        color: #f8f9fa;
    }
    
    .gdpr-description {
        color: #adb5bd;
    }
    
    .gdpr-btn-decline {
        color: #adb5bd;
        border-color: #495057;
    }
    
    .gdpr-btn-decline:hover:not(:disabled) {
        background: #2c3034;
        border-color: #6c757d;
    }
    
    .gdpr-btn-customize {
        color: #adb5bd;
        border-color: #495057;
    }
    
    .gdpr-btn-customize:hover:not(:disabled) {
        background: #2c3034;
        border-color: #6c757d;
    }
}
