/* HCP Validation Gate — styles */

/* Hide all page content until validation is confirmed.
   The overlay is excluded so it always renders on top. */
body.hcp-gate-pending > *:not(#hcp-gate-overlay) {
    visibility: hidden !important;
}

/* Overlay: full-screen backdrop */
#hcp-gate-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 20px;
    box-sizing: border-box;
}

#hcp-gate-overlay.active {
    display: flex;
}

/* Modal box */
.hcp-gate-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 48px 40px 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    box-sizing: border-box;
}

/* Body text */
.hcp-gate-body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333333;
    margin: 0 0 32px;
}

/* Button row */
.hcp-gate-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Shared button styles */
.hcp-btn {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 36px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-width: 140px;
    line-height: 1;
}

/* Confirm — solid primary */
.hcp-btn-primary {
    background: #2d61ba;
    color: #ffffff;
    border: 2px solid #2d61ba;
}

.hcp-btn-primary:hover,
.hcp-btn-primary:focus {
    background: #1e4d9a;
    border-color: #1e4d9a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 97, 186, 0.35);
}

/* Decline — outlined */
.hcp-btn-secondary {
    background: transparent;
    color: #2d61ba;
    border: 2px solid #2d61ba;
}

.hcp-btn-secondary:hover,
.hcp-btn-secondary:focus {
    background: #2d61ba;
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 97, 186, 0.35);
}

/* Footer: logo + footnote */
.hcp-gate-footer {
    margin-top: 28px;
    text-align: center;
}

.hcp-gate-logo {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.hcp-gate-footnote {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    color: #999999;
    margin: 0;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 480px) {
    .hcp-gate-box {
        padding: 32px 24px 28px;
    }

    .hcp-gate-body {
        font-size: 15px;
    }

    .hcp-gate-actions {
        flex-direction: column;
        align-items: center;
    }

    .hcp-btn {
        width: 100%;
        max-width: 280px;
    }
}
