/* OnlyGain public styles */
.onlygain-buttons-container {
    display: inline-block;
    margin: 0.5rem;
}

/* Modal styles */
.onlygain-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.onlygain-modal-content {
    background: #ffffff; /* card background */
    padding: 1.5rem;
    max-width: 520px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    position: relative;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: #1E2126;
}
.onlygain-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #6B7280;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.onlygain-modal-close:hover {
    background: rgba(13,158,214,0.06);
    color: #0D9ED6;
}
.onlygain-form-response { margin-top: .5rem; color: inherit; }

/* If the user wants Elementor-styled modal, they can pass a class to the shortcode
   and Elementor global styles will apply. The submit button uses .elementor-button by default. */
.onlygain-modal .onlygain-form input,
.onlygain-modal .onlygain-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.onlygain-modal .onlygain-form label { display:block; margin-bottom: .25rem; font-weight:600; color: #1E2126; }
.onlygain-modal .onlygain-form p { margin-bottom: .75rem; }
.onlygain-modal .onlygain-form input[type="text"],
.onlygain-modal .onlygain-form input[type="email"],
.onlygain-modal .onlygain-form input[type="tel"] {
    padding: .75rem .9rem;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #1E2126;
}
.onlygain-modal .onlygain-form .onlygain-submit {
    background: #0D9ED6; /* primary brand color */
    color: #ffffff;
    border: none;
    padding: .75rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
}
.onlygain-modal .onlygain-form .onlygain-submit:hover { opacity: .95; }
.onlygain-modal .onlygain-form .onlygain-form-response { color: #0D9ED6; margin-top: .5rem; }

/* Consent checkbox alignment to match landing */
.onlygain-consent {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.6rem 0;
}
.onlygain-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0D9ED6;
}
.onlygain-modal .onlygain-form h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 24px;
    font-weight: 700;
    color: #1E2126;
}
