/* ── Consent overlay ── */
.consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
}

.consent-panel {
    width: min(760px, calc(100vw - 48px));
    max-height: 85vh;
    overflow-y: auto;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 40px 48px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #ccc;
}

.consent-panel h1 {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.consent-panel h2,
.consent-panel h3 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #98aa40;
    margin: 30px 0 10px;
}

.consent-panel p {
    margin-bottom: 14px;
}

.consent-panel ol,
.consent-panel ul {
    margin: 0 0 14px;
    padding-left: 24px;
}

.consent-panel li {
    margin: 8px 0;
}

.consent-panel a,
.consent-panel a:visited {
    color: #7af;
}

.consent-panel hr {
    border: none;
    border-top: 1px solid #333;
    margin: 20px 0;
}

.consent-panel strong {
    color: #eee;
}

/* Statement rows: checkbox | mandatory star | text */
.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
    cursor: pointer;
}

.consent-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    accent-color: #98aa40;
    cursor: pointer;
}

.consent-star {
    flex-shrink: 0;
    width: 10px;
    margin-top: 1px;
    color: #e05c2a;
    font-weight: bold;
}

.consent-field {
    display: block;
    margin: 16px 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.consent-input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: normal;
    text-transform: none;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #eee;
}

.consent-input:focus {
    outline: none;
    border-color: #98aa40;
}

/* Name/credit field under the credit statement: visible but dormant until
   its checkbox is ticked. */
.consent-credit {
    margin: 8px 0 16px 45px;
    opacity: 0.4;
    transition: opacity 0.15s;
}

.consent-credit.consent-credit-enabled {
    opacity: 1;
}

.consent-input:disabled {
    cursor: not-allowed;
}

.consent-date {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consent-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.consent-primary {
    background: #98aa40;
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 220, 80, 0.5);
}

.consent-primary:hover {
    background: #a8ba50;
}

.consent-msg {
    margin-top: 16px;
    color: #e05c2a;
    font-size: 0.85rem;
}
