/* Accessible Consent Panel - Brutalist Analog Luxury */
.consent-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--charcoal, #1c1c1c);
    border-top: 2px solid var(--gold, #c5a059);
    z-index: 9999;
    padding: 2rem;
    padding-left: calc(2rem + env(safe-area-inset-left));
    padding-right: calc(2rem + env(safe-area-inset-right));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.consent-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--paper, #ecece8);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.consent-content h2 {
    font-size: 1.2rem;
    color: var(--gold, #c5a059);
    margin-bottom: 0.5rem;
}

.consent-content h2:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.consent-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #ccc;
}

.consent-status {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem !important;
    color: var(--gold, #c5a059) !important;
    margin-bottom: 1.5rem !important;
    border-left: 2px solid var(--gold);
    padding-left: 0.75rem;
}

.consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-consent {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid var(--paper, #ecece8);
    background-color: transparent;
    color: var(--paper, #ecece8);
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    text-align: center;
}

.btn-consent:hover, 
.btn-consent:focus-visible {
    background-color: var(--paper, #ecece8);
    color: var(--ink, #050505);
}

.btn-consent[aria-pressed="true"] {
    background-color: var(--paper, #ecece8);
    color: var(--ink, #050505);
    border-color: var(--paper, #ecece8);
}

.btn-consent:focus-visible {
    outline: 3px solid var(--gold, #c5a059);
    outline-offset: 4px;
}

.consent-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.consent-links a {
    color: var(--gold, #c5a059);
    font-size: 0.75rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.consent-links a:hover, .consent-links a:focus-visible {
    color: var(--paper, #ecece8);
}

.btn-consent-close {
    background: none;
    border: none;
    color: #ccc;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.btn-consent-close:hover, .btn-consent-close:focus-visible {
    color: var(--paper, #ecece8);
}

@media (max-width: 600px) {
    .consent-panel { padding: 1.5rem; }
    .consent-actions { flex-direction: column; width: 100%; gap: 0.75rem; }
    .btn-consent { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}