/* Styles for Merritt HubSpot Gate plugin */

/* Initially hide gated content. You can override this in your theme once validation passes. */
.gated-content {
    display: none;
}

/* Modal overlay */
.mhg-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Modal dialog */
.mhg-dialog {
    background: #ffffff;
    max-width: 520px;
    width: 92%;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close button */
.mhg-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* Form layout */
#mhg-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

#mhg-form input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

#mhg-submit {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    min-width: 110px;
}

.mhg-error {
    margin-top: 10px;
    color: #b91c1c;
    font-size: 0.9rem;
}

.mhg-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}