/* ==============================================================================================================================
   [ COMPONENT: COOKIE CONSENT ]
   Description: Consent banner of the public runtimes (bottom of the screen, equal buttons).
   ============================================================================================================================== */

.cookie-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-body { flex: 1 1 420px; min-width: 0; }
.cookie-consent-title { display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-consent-text { margin: 0; }
.cookie-consent-details { margin-top: 8px; }
.cookie-consent-details summary { cursor: pointer; font-weight: 600; }
.cookie-consent-details ul { margin: 8px 0 0; padding-left: 18px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }

.cookie-consent-button {
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid #111827;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-button.is-primary { background: #111827; color: #ffffff; }

@media (max-width: 600px) {
    .cookie-consent { right: 8px; bottom: 8px; left: 8px; padding: 16px; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-button { flex: 1; }
}

.cookie-consent-link { color: inherit; font-weight: 600; text-decoration: underline; }
