/* ============================================================
   EZRA KILGORE — Cookie Consent & GDPR Banner
   Phosphor retro terminal theme matching Terminal Gothic v2
   ============================================================ */

.cookie-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1.25rem 1rem;
    background: rgba(4, 13, 7, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--amber, #ffb300);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 179, 0, 0.15);
    color: var(--tx4, #d0e8d7);
    font-family: var(--font-ui, sans-serif);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.cookie-banner-wrapper.cookie-banner-hidden {
    display: none !important;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--amber, #ffb300);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.cookie-banner-header .blink-cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background-color: var(--amber, #ffb300);
    animation: cookieBlink 1s infinite steps(2, start);
}

@keyframes cookieBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cookie-banner-text {
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--tx3, #a8c8b0);
    margin: 0;
}

.cookie-banner-text a {
    color: var(--g3, #00e676);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: var(--g2, #5af09a);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.btn-cookie-accept {
    background-color: var(--g3, #00e676);
    color: #010603;
    font-family: var(--font-ui, sans-serif);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    border: 1px solid var(--g3, #00e676);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background-color: var(--g2, #5af09a);
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.5);
    color: #000;
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--tx3, #a8c8b0);
    font-family: var(--font-ui, sans-serif);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    border: 1px solid var(--b2, rgba(0, 230, 118, 0.26));
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--tx3, #a8c8b0);
    color: var(--tx5, #f0f8f2);
}

.cookie-preference-panel {
    background: var(--s2, #08150c);
    border: 1px solid var(--b2, rgba(0, 230, 118, 0.26));
    border-radius: 6px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cookie-badge-status {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-mono, monospace);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.cookie-badge-granted {
    background: rgba(0, 230, 118, 0.15);
    color: var(--g3, #00e676);
    border: 1px solid var(--g3, #00e676);
}

.cookie-badge-denied {
    background: rgba(255, 80, 80, 0.15);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.cookie-badge-unset {
    background: rgba(255, 179, 0, 0.15);
    color: var(--amber, #ffb300);
    border: 1px solid var(--amber, #ffb300);
}

.cookie-footer-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
    text-decoration: underline;
}

.cookie-footer-link:hover {
    color: var(--color-link-hover, #00e676);
}
