/* FILE_VERSION = 1.1.1 (24.10.2026, D-018: campul Telefon si pasul cu codul din email, sectiunea 6; 1.1.1: etichetele lor pe contur)
 * VOGO Register Page Style - pagina https://vogo.family/register/ (pagina 4537): banda „Register” fara golul de sub ea
 * si formularul de inregistrare (form.custom-register-form.vogo-login-form, din register-shortcode.php) in stilul VOGO.
 * Variabilele --vlf-*, etichetele pe contur, butonul Google si ascunderea Facebook vin din vogo-login-form-style.css
 * (clasa vogo-login-form); aici sunt doar campurile formularului de inregistrare, butonul lui si asezarea paginii.
 */

/* =========================================================================
 * SECTIUNI:
 *   1. Banda „Register” (caruselul cu un singur slide, widgetul a021d9b): fara cei 400px ficsi si fara punctul de navigare
 *   2. Formularul: card centrat pe calculator, pe toata latimea pe telefon
 *   3. Campurile de 48px cu iconite outline albastre VOGO (plic, lacat, cadou)
 *   4. Indicatorul de putere a parolei si textul de confidentialitate
 *   5. Randul de jos: butonul „Inregistrare” si Google, unul sub altul, cat campurile
 * ========================================================================= */

/* 1. Banda: caruselul are inaltimea fixa 400px din slider.css, dar slide-ul are doar inaltimea textului */
.page-id-4537 .elementor-element-a021d9b .main-slider {
    height: auto !important;
    margin-bottom: 0 !important;
}

.page-id-4537 .elementor-element-a021d9b .main-slider .slick-dots {
    display: none !important;
}

.page-id-4537 .elementor-element-a021d9b .main-slider .slider-overlay {
    position: static !important;
    clip-path: none !important;
    padding: 22px 28px !important;
    border-radius: var(--vlf-radius, 5px);
}

.page-id-4537 .elementor-element-a021d9b .main-slider .slider-overlay .slider-title {
    margin: 0 0 4px !important;
}

.page-id-4537 .elementor-element-a021d9b .main-slider .slider-overlay p {
    margin: 0 !important;
}

/* 2. Formularul: card alb centrat, cu acelasi contur ca restul cardurilor VOGO */
.page-id-4537 form.custom-register-form {
    max-width: 440px;
    margin: 28px auto 40px;
    padding: 28px 28px 24px;
    box-sizing: border-box;
    background: var(--vlf-surface);
    border: 1px solid var(--vlf-divider);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(16, 38, 64, 0.06);
}

@media (max-width: 767px) {
    .page-id-4537 .elementor-element-a021d9b .main-slider .slider-overlay {
        padding: 16px 18px !important;
    }

    .page-id-4537 form.custom-register-form {
        max-width: none;
        margin: 20px 0 28px;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}

/* 3. Campurile: inaltime egala, iconita in stanga, eticheta pe contur (regula etichetei e in vogo-login-form-style.css) */
form.custom-register-form .floating-group .form-row {
    position: relative;
    margin: 0 0 22px;
    padding: 0;
}

form.custom-register-form .floating-group input#reg_email,
form.custom-register-form .floating-group input#reg_password,
form.custom-register-form .floating-group input#referral_code {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    font-size: 16px;
    color: var(--vlf-text);
    border: 1px solid var(--vlf-border);
    border-radius: var(--vlf-radius);
    padding: 0 14px 0 44px;
    background-color: var(--vlf-surface);
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 20px 20px;
    box-shadow: none;
}

form.custom-register-form .floating-group input#reg_email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6CBD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

form.custom-register-form .floating-group input#reg_password {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6CBD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}

/* Codul de recomandare: iconita de cadou */
form.custom-register-form .floating-group input#referral_code {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6CBD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M5 12v8h14v-8M12 8v12M12 8c-1.5-3-5-3.5-5-1s3 1 5 1c2 0 5 1.5 5-1s-3.5-2-5 1'/%3E%3C/svg%3E");
}

form.custom-register-form .floating-group input#reg_email:hover,
form.custom-register-form .floating-group input#reg_password:hover,
form.custom-register-form .floating-group input#referral_code:hover {
    border-color: var(--vlf-border-hover);
}

form.custom-register-form .floating-group input#reg_email:focus,
form.custom-register-form .floating-group input#reg_password:focus,
form.custom-register-form .floating-group input#referral_code:focus {
    border-color: var(--vlf-blue);
    box-shadow: 0 0 0 3px var(--vlf-blue-soft);
    outline: none;
}

/* 4. Puterea parolei: un rand mic sub camp, ascuns cat timp e gol */
form.custom-register-form #password-strength {
    margin: 6px 0 0;
    padding: 0;
    background: none;
    border: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--vlf-muted);
    text-align: left;
}

form.custom-register-form #password-strength:empty {
    display: none;
}

form.custom-register-form .woocommerce-privacy-policy-text {
    margin: 0 0 18px !important;
    color: var(--vlf-muted);
    font-size: 13px;
    line-height: 1.5;
}

form.custom-register-form .woocommerce-privacy-policy-text p {
    margin: 0 0 8px;
}

form.custom-register-form .woocommerce-privacy-policy-text a {
    color: var(--vlf-blue);
    font-weight: 600;
}

/* 5. Randul de jos: butonul „Inregistrare” albastru si Google alb, pe toata latimea */
form.custom-register-form .register-form-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

form.custom-register-form .register-form-row .mo-google-login {
    width: 100%;
}

form.custom-register-form .button-register {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    border: 0 !important;
    border-radius: var(--vlf-radius) !important;
    background: var(--vlf-blue) !important;
    color: #ffffff !important;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

form.custom-register-form .button-register:hover,
form.custom-register-form .button-register:focus {
    background: var(--vlf-blue-dark) !important;
    box-shadow: 0 0 0 3px var(--vlf-blue-soft);
}

/* 6. Telefonul si pasul cu codul din email (1.1.0): aceleasi campuri de 48px, cu iconita lor */
form.custom-register-form .floating-group input#reg_phone,
form.custom-register-form .floating-group input#vogo_register_code {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    font-size: 16px;
    color: var(--vlf-text);
    border: 1px solid var(--vlf-border);
    border-radius: var(--vlf-radius);
    padding: 0 14px 0 44px;
    background-color: var(--vlf-surface);
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 20px 20px;
    box-shadow: none;
}

/* Telefonul: iconita de telefon mobil */
form.custom-register-form .floating-group input#reg_phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6CBD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

/* Codul: iconita de scut, cifrele mari si rarite, usor de citit pe telefon */
form.custom-register-form .floating-group input#vogo_register_code {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6CBD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

form.custom-register-form .floating-group input#reg_phone:hover,
form.custom-register-form .floating-group input#vogo_register_code:hover {
    border-color: var(--vlf-border-hover);
}

form.custom-register-form .floating-group input#reg_phone:focus,
form.custom-register-form .floating-group input#vogo_register_code:focus {
    border-color: var(--vlf-blue);
    box-shadow: 0 0 0 3px var(--vlf-blue-soft);
    outline: none;
}

/* Etichetele „Telefon” si „Codul din email” pe conturul de sus, ca ale emailului si parolei (vogo-login-form-style.css) */
form.custom-register-form .floating-group label[for="reg_phone"],
form.custom-register-form .floating-group label[for="vogo_register_code"] {
    position: absolute !important;
    top: -8px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 3;
    display: block;
    margin: 0 !important;
    padding: 0 6px !important;
    background: var(--vlf-surface) !important;
    border-radius: var(--vlf-radius);
    color: var(--vlf-blue) !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 16px !important;
    white-space: nowrap;
    pointer-events: none;
}

/* Textul de deasupra codului */
form.vogo-register-code .vogo-register-code__intro {
    margin: 0 0 20px;
    color: var(--vlf-text);
    font-size: 15px;
    line-height: 1.5;
}

/* „Retrimite codul”: buton cu contur, cat campurile, sub „Confirmă codul” */
form.custom-register-form .button-register-secondary {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    border: 1px solid var(--vlf-blue) !important;
    border-radius: var(--vlf-radius) !important;
    background: transparent !important;
    color: var(--vlf-blue) !important;
    box-shadow: none;
    cursor: pointer;
}

form.custom-register-form .button-register-secondary:hover,
form.custom-register-form .button-register-secondary:focus {
    background: var(--vlf-blue-soft) !important;
}
