/* ── Base ────────────────────────────────────────────── */
body {
    background: url('/image/background.jpg') center top / cover fixed no-repeat !important;
    min-height: 100vh;
}

/* ── Contenedor ──────────────────────────────────────── */
.reg-view-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* ── Pasos (reutiliza clases de registro_membresia) ───── */
.rv-pasos {
    margin-bottom: 18px;
}

/* ── Resumen localidad ───────────────────────────────── */
.loca-resumen {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0,40,140,.55);
    border: 1px solid rgba(0,80,255,.4);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    margin-bottom: 24px;
}
.loca-resumen img {
    width: 72px; height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.loca-resumen .res-nombre { font-weight: 700; font-size: 15px; }
.loca-resumen .res-precio { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }
.loca-resumen .res-precio strong { color: #fff; }
.loca-resumen .volver-link {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 13px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}
.loca-resumen .volver-link:hover { color: #fff; }

/* ── Card del formulario ─────────────────────────────── */
.rv-card {
    background: rgba(0,20,90,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,80,255,.35);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}
.rv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0050ff, #0dcbff);
}

/* ── Título sección ──────────────────────────────────── */
.rv-titulo {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.rv-subtitulo {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 24px;
}

/* ── Social login ────────────────────────────────────── */
.rv-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.rv-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}
#buttonDiv {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* ── Divisor ─────────────────────────────────────────── */
.rv-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.35);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.rv-divider::before,
.rv-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
}

/* ── Grid de campos ──────────────────────────────────── */
.rv-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rv-field-full {
    grid-column: 1 / -1;
}

/* ── Campo individual ────────────────────────────────── */
.rv-field {
    display: flex;
    flex-direction: column;
}
.rv-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.rv-field input,
.rv-field select {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    width: 100%;
    transition: border-color .2s, background .2s;
    -webkit-appearance: none;
    appearance: none;
}
.rv-field input::placeholder { color: rgba(255,255,255,.25); }
.rv-field input:focus,
.rv-field select:focus {
    border-color: #0050ff;
    background: rgba(0,40,140,.4);
    box-shadow: 0 0 0 3px rgba(0,80,255,.15);
}
.rv-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(.5);
    cursor: pointer;
}
.rv-field select option {
    background: #0a1540;
    color: #fff;
}

/* ── Campo contraseña con toggle ─────────────────────── */
.rv-pass-wrap {
    position: relative;
}
.rv-pass-wrap input {
    padding-right: 44px;
}
.rv-pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.35);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    transition: color .2s;
}
.rv-pass-toggle:hover { color: rgba(255,255,255,.8); }

/* ── Checkboxes términos ─────────────────────────────── */
.rv-checks {
    margin: 22px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rv-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    cursor: pointer;
}
.rv-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.3);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: #0050ff;
}
.rv-check-item a {
    color: #0dcbff;
    text-decoration: none;
}
.rv-check-item a:hover { text-decoration: underline; }

/* ── Botón submit ────────────────────────────────────── */
.rv-btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #003FE3, #0060ff);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    min-height: 52px;
}
.rv-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #0050ff, #0080ff);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,63,227,.45);
}
.rv-btn-submit:disabled {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.35);
    cursor: not-allowed;
}

/* ── Loading ─────────────────────────────────────────── */
.rv-loading {
    text-align: center;
    padding: 80px 20px;
}

/* ── Card cédula (Facebook/Google) ───────────────────── */
.rv-cedula-card {
    background: rgba(0,20,90,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,80,255,.35);
    border-radius: 20px;
    padding: 28px 24px;
    margin-top: 16px;
}
.rv-cedula-card h4 {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 20px;
}
.rv-cedula-card .rv-btn-guardar {
    width: 100%;
    padding: 12px;
    background: #0050ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: background .2s;
}
.rv-cedula-card .rv-btn-guardar:hover { background: #0040cc; }

/* ── Botón Google con enlace (registro_hincha) ───────── */
.rv-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #3c4043;
    text-decoration: none;
    transition: box-shadow .2s, background .2s;
    white-space: nowrap;
}
.rv-google-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    color: #3c4043;
    text-decoration: none;
}
.rv-google-btn img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .reg-view-wrap { padding: 88px 14px 50px; }
    .rv-card { padding: 24px 18px; }
    .rv-form-grid { grid-template-columns: 1fr; }
    .rv-field-full { grid-column: auto; }
    .rv-social { grid-template-columns: 1fr; }
}
