/* SoleoDigital — consentement cookies (pages publiques app) */
:root {
    --color-primary: #0b1220;
    --color-cyan: #3eb8ff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
}

.cookie-banner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10050;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(640px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    z-index: 10060;
    text-align: center;
    border: 1px solid rgba(62, 184, 255, 0.25);
}

.cookie-banner.hidden,
.cookie-banner-overlay.hidden {
    display: none !important;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.6);
    z-index: 10070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-settings-content {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cookie-manage-button {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 10040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(11, 18, 32, 0.92);
    color: #eaf2ff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cookie-manage-button:hover {
    filter: brightness(1.08);
    color: #fff;
}

.cookie-btn {
    display: inline-block;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: filter 0.15s ease;
}

.cookie-btn:hover { filter: brightness(1.05); }

.cookie-btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.cookie-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cookie-btn-accent {
    background: var(--color-cyan);
    color: var(--color-primary);
}

.cookie-btn-ghost {
    background: #f1f5f9;
    color: var(--color-primary);
}

.soleo-i18n-switcher {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 10030;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(11, 18, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.soleo-i18n-switcher button {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.soleo-i18n-switcher button.active,
.soleo-i18n-switcher button:hover {
    background: rgba(62, 184, 255, 0.25);
    color: #fff;
}

body.cookie-banner-open {
    overflow: hidden;
}

@media (max-width: 576px) {
    .cookie-banner { padding: 18px 16px; bottom: 12px; }
    .cookie-manage-button span { display: none; }
    .soleo-i18n-switcher { top: auto; bottom: 72px; right: 12px; }
}
