.auth-reg-v2-page {
    display: flex;
    justify-content: center;
    padding: 24px 16px 48px;
}

.auth-reg-v2-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

.auth-reg-v2-header {
    position: relative;
    padding: 20px 48px 16px 24px;
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
}

.auth-reg-v2-header h1 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.auth-reg-v2-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    color: #333;
    text-decoration: none;
}

.auth-reg-v2-body {
    padding: 20px 24px 28px;
}

.auth-reg-v2-row-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.auth-reg-v2-row-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.auth-reg-v2-link {
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.auth-reg-v2-social-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: #6b7280;
}

.auth-reg-v2-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-reg-v2-social-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.auth-reg-v2-social-btn--fb { background: #1877f2; }
.auth-reg-v2-social-btn--google { background: #fff; border: 1px solid #dadce0; }
.auth-reg-v2-social-btn--apple { background: #000; }

.auth-reg-v2-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 20px;
    color: #9ca3af;
    font-size: 13px;
}

.auth-reg-v2-divider::before,
.auth-reg-v2-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-reg-v2-field {
    margin-bottom: 12px;
}

/* Igualar email e password — forms.css global aplica borda/branco só a [type=password] */
.auth-reg-v2-page input.auth-reg-v2-input,
.auth-reg-v2-page input.auth-reg-v2-input[type="email"],
.auth-reg-v2-page input.auth-reg-v2-input[type="password"],
.auth-login-page input.auth-reg-v2-input,
.auth-login-page input.auth-reg-v2-input[type="text"],
.auth-login-page input.auth-reg-v2-input[type="email"],
.auth-login-page input.auth-reg-v2-input[type="password"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    font-family: inherit;
    color: #1a1a1a;
    background: #f0f2f5;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.auth-reg-v2-page input.auth-reg-v2-input::placeholder,
.auth-login-page input.auth-reg-v2-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.auth-reg-v2-page input.auth-reg-v2-input:focus,
.auth-login-page input.auth-reg-v2-input:focus {
    background: #fff;
    border-color: #2563eb;
    outline: none;
    box-shadow: none;
}

.auth-login-page input.auth-reg-v2-input.is-invalid {
    background: #fef2f2;
    border-color: #f87171;
}

.auth-login-page .auth-reg-v2-field {
    margin-bottom: 12px;
}

.auth-login-page .auth-reg-v2-social-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: #6b7280;
}

.auth-login-page .auth-reg-v2-social {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.auth-login-page .auth-reg-v2-social-btn--google {
    width: 100%;
    flex: none;
    height: 44px;
}

.auth-login-page .auth-reg-v2-divider {
    margin: 4px 0 20px;
}

.auth-login-page .auth-reg-v2-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-login-page .auth-reg-v2-notice {
    margin: 0 0 16px;
}

/* Legado: manter alias da classe única */
.auth-reg-v2-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    background: #f0f2f5;
    border: 1px solid transparent;
    border-radius: 4px;
}

.auth-reg-v2-input:focus {
    background: #fff;
    border-color: #2563eb;
    outline: none;
}

.auth-reg-v2-legal {
    margin: 16px 0 20px;
    font-size: 12px;
    text-align: center;
    color: #6b7280;
}

.auth-reg-v2-legal a {
    color: #2563eb;
    text-decoration: none;
}

.auth-reg-v2-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.auth-reg-v2-submit:hover {
    background: #1d4ed8;
}

.auth-reg-v2-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 4px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.auth-reg-v2-notice--warn {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.auth-reg-v2-notice--ok {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.auth-reg-v2-legacy {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
}

.auth-reg-v2-legacy a {
    color: #9ca3af;
}

.auth-reg-v2-recaptcha {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .auth-reg-v2-page { padding: 12px; }
    .auth-reg-v2-card { box-shadow: none; border: 1px solid #e8e8e8; }
}
