/* GDPR Cookie Banner - Non-blocking bottom bar */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #1B2838 0%, #2a3f54 100%);
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: gdprSlideUp 0.4s ease-out;
}

.gdpr-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.gdpr-banner-text {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gdpr-banner-text strong {
    color: #C9A227;
}

.gdpr-banner-text a {
    color: #C9A227;
    text-decoration: underline;
    font-weight: 500;
}

.gdpr-banner-text a:hover {
    color: #e6c24a;
}

/* Cookie type indicators - compact inline */
.gdpr-cookie-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.gdpr-cookie-type {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border-left: 2px solid #C9A227;
}

.gdpr-cookie-icon {
    font-size: 1rem;
}

.gdpr-cookie-type strong {
    color: #fff;
    font-size: 0.8rem;
}

.gdpr-cookie-type small {
    display: none;
}

/* Action buttons - horizontal row */
.gdpr-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gdpr-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.gdpr-btn-accept {
    background: linear-gradient(135deg, #C9A227 0%, #d4af37 100%);
    color: #1B2838;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.gdpr-btn-accept:hover {
    background: linear-gradient(135deg, #d4af37 0%, #e6c24a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.gdpr-btn-settings {
    background: transparent;
    color: #fff;
    border: 2px solid #C9A227;
}

.gdpr-btn-settings:hover {
    background: #C9A227;
    color: #1B2838;
}

.gdpr-btn-refuse {
    background: transparent;
    color: #aaa;
    border: 1px solid #666;
}

.gdpr-btn-refuse:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #aaa;
}

.gdpr-btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.gdpr-btn-secondary:hover {
    background: #dee2e6;
}

/* Animations */
@keyframes gdprSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes gdprSlideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Settings Modal - centered, lighter backdrop (no blur) */
.gdpr-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.gdpr-settings-content {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease-out;
}

.gdpr-settings-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.gdpr-settings-header h2 {
    font-family: 'Oswald', sans-serif;
    color: #1B2838;
    font-size: 1.3rem;
    margin: 0;
}

.gdpr-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.3s;
}

.gdpr-close-btn:hover {
    color: #dc3545;
}

.gdpr-settings-body {
    padding: 1.5rem;
}

.gdpr-cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fafafa;
}

.gdpr-category-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.gdpr-category-info h4 {
    font-family: 'Oswald', sans-serif;
    color: #1B2838;
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
}

.gdpr-category-info p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.gdpr-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.gdpr-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.gdpr-switch input:checked + .gdpr-slider {
    background-color: #C9A227;
}

.gdpr-switch input:checked + .gdpr-slider:before {
    transform: translateX(24px);
}

.gdpr-switch input:disabled + .gdpr-slider {
    background-color: #C9A227;
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-settings-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.75rem;
    background: #f8f9fa;
}

.gdpr-settings-footer .gdpr-btn {
    flex: 1;
}

/* Reopen cookie settings button */
.gdpr-reopen-btn {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: linear-gradient(145deg, #1B2838 0%, #2a3f54 100%);
    color: #C9A227;
    border: 1px solid #C9A227;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 99998;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gdpr-reopen-btn:hover {
    background: #C9A227;
    color: #1B2838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .gdpr-banner-content {
        padding: 1rem 1.25rem;
    }

    .gdpr-banner-text {
        font-size: 0.85rem;
    }

    .gdpr-cookie-info {
        display: none;
    }

    .gdpr-banner-actions {
        flex-direction: column;
    }

    .gdpr-btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .gdpr-settings-footer {
        flex-direction: column;
    }

    .gdpr-reopen-btn {
        bottom: 0.5rem;
        left: 0.5rem;
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
}
