/* ============================================================
   cookie-banner.css
   Styles for the global cookie-notice banner rendered in footer.html.
   ============================================================ */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--phoenix-gray-900, #1a1a2e);
    color: #fff;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}

.cookie-banner--visible {
    display: block;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner__text {
    font-size: 0.875rem;
    margin: 0;
}

.cookie-banner__link {
    color: #90caf9;
    text-decoration: underline;
}

.cookie-banner__link:hover {
    color: #bbdefb;
}

.cookie-banner__btn {
    white-space: nowrap;
    background: #ffffff;
    color: #1a1a2e;
    border: none;
    border-radius: 4px;
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cookie-banner__btn:hover {
    background: #e3f2fd;
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.cookie-banner__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-banner__error {
    flex-basis: 100%;
    color: #ffcdd2;
    margin: 0;
}

.site-footer__quick-link {
    display: block;
    width: fit-content;
    min-height: 1.75rem;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.site-footer__quick-link:link,
.site-footer__quick-link:visited,
.site-footer__quick-link:active {
    text-decoration: none;
}

.site-footer__quick-link:hover:not(:focus-visible) {
    text-decoration: underline;
}

button.site-footer__quick-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.site-footer__quick-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}
