/*
 * mcsh-consent-gate-v1.css
 * Floating privacy/cookie notice above the login and registration card.
 * Only loaded on guest auth pages (see partials/cookie-banner.blade.php).
 */

.mcsh-consent-gate-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2040;
    background: rgba(12, 18, 26, .74);
}

body.mcsh-consent-gate-active {
    overflow: hidden;
}

details.mcsh-google-privacy.mcsh-consent-gate-open {
    position: fixed !important;
    top: 50%;
    left: 50%;
    z-index: 2050;
    width: min(94vw, 540px);
    max-height: 88vh;
    margin: 0;
    padding: 1.1rem 1.25rem;
    overflow: auto;
    border: 1px solid #526173;
    border-radius: .8rem;
    background: #283442;
    color: #f7fafc;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%);
}

details.mcsh-google-privacy.mcsh-consent-gate-open > summary {
    margin-bottom: .6rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: default;
}

details.mcsh-google-privacy.mcsh-consent-gate-open [data-necessary-ack] {
    margin: .35rem .35rem .35rem 0;
    padding: .55rem .9rem;
    border: 0;
    border-radius: .4rem;
    background: #1683e8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

details.mcsh-google-privacy.mcsh-consent-gate-open [data-necessary-ack]:hover {
    background: #0d6fc9;
}

.mcsh-consent-gate-hint {
    margin: .7rem 0 0;
    color: #f9c846;
    font-weight: 600;
}

.mcsh-consent-gate-disabled {
    opacity: .5;
    cursor: not-allowed !important;
}

a.mcsh-consent-gate-disabled {
    pointer-events: none;
}
