/* =============================================================
   CORRECCIÓN FINAL: ALINEACIÓN Y BOTONES (SELECTORES PHP)
   ============================================================= */

#abc-registro-wrapper {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    background: transparent !important;
}

/* 1. TEXTOS INFORMATIVOS EN BLANCO */
#abc-registro-wrapper h3, 
#abc-registro-wrapper label, 
#abc-registro-wrapper p, 
#abc-registro-wrapper span,
#abc-registro-wrapper a {
    color: #ffffff !important;
}

/* 2. CAMPOS DE ESCRITURA (Transparentes y legibles) */
#abc-registro-wrapper input[type="text"],
#abc-registro-wrapper input[type="email"],
#abc-registro-wrapper input[type="password"],
#abc-registro-wrapper select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important; /* Texto que escribe el usuario en blanco */
    box-sizing: border-box;
}

/* 3. CENTRADO DE CÓDIGOS (Confirmado funciona) */
#codigo_invitacion,
#codigo_validacion {
    text-align: center !important;
    font-weight: bold !important;
    font-size: 20px !important;
}

/* 4. FECHA: FORZAR FILA ÚNICA (Selectores según tu PHP) */
.abc-fecha-nacimiento {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    align-items: center;
}

.abc-fecha-nacimiento select {
    flex: 1 !important;
    margin-bottom: 0 !important; /* Evita que el margen inferior los apile */
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important; /* Texto del select en blanco */
}

/* Forzar que las opciones del select se vean (fondo oscuro) */
.abc-fecha-nacimiento select option {
    background-color: #333 !important;
    color: #fff !important;
}

/* 5. BOTONES: ESTILO "NO" (Anulando el Tema) */
#abc-registro-wrapper .abc-botones button.button,
#abc-registro-wrapper .abc-botones button {
    display: block !important;
    width: 100% !important;
    /* Estilo visual botón NO */
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
    height: auto !important; /* Evita alturas forzadas por el tema */
}

#abc-registro-wrapper .abc-botones button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
}

/* 6. OTROS AJUSTES */
.abc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.abc-checkbox input { width: auto !important; margin-bottom: 0 !important; }
.abc-error { color: #ff9b9b; font-size: 13px; margin-top: -10px; margin-bottom: 10px; text-align: center; }

/* Espaciado para el aviso del padrino */
#status-suerte-padrino {
    display: flex;
    justify-content: center;
    align-items: center;
}

#status-suerte-padrino div {
    background: rgba(70, 180, 80, 0.2); /* Verde semitransparente */
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px; /* Bordes redondeados como tus botones */
    border: 1px solid rgba(70, 180, 80, 0.5);
    font-size: 14px;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Para que el enlace de 'Código asignado' no se vea redundante */
#abc-obtener-suerte {
    transition: all 0.3s ease;
}