/* Reset y Fuente Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden; /* Evita scroll si la imagen es muy grande */
}

/* Imagen de Fondo */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Puedes cambiar esta URL por la imagen de paisaje que prefieras */
    background: url('http://localhost/registrar_datos/UE_GBJ.png') no-repeat center center/cover;
    filter: blur(4px) brightness(0.7); /* Desenfoca y oscurece el fondo */
    z-index: -1; 
}
/* background: url('https://images.unsplash.com/photo-1472214103451-9374bd1c798e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover; */
/* Contenedor de la Tarjeta */
.form-card {
    background-color: #1a2238; /* Color oscuro exacto de la imagen */
    padding: 40px 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    text-align: center;
}

.form-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Estilos para los Inputs y sus Iconos */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 20px; 
    border: none;
    border-radius: 50px; 
    background-color: #ffffff;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

/* Placeholder color */
.input-wrapper input::placeholder {
    color: #999;
    font-weight: 500;
}

/* Icono dentro del input */
.input-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
}

.toggle-password {
    cursor: pointer; 
}

/* Estilos Personalizados para Radio Buttons (Género) */
.gender-wrapper {
    text-align: left;
    margin-bottom: 20px;
    color: #fff;
}

.gender-title {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.radio-group {
    display: flex;
    justify-content: space-between;
}

/* Contenedor del radio personalizado */
.radio-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    margin-right: 10px;
}

/* Ocultar el radio button nativo */
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Crear el círculo personalizado */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 2px solid #008cff; /* Borde azul */
    border-radius: 50%;
}

/* Cuando está seleccionado, llenar de azul */
.radio-container input:checked ~ .checkmark {
    background-color: #008cff;
}

/* Crear el punto blanco interior */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Mostrar el punto cuando está seleccionado */
.radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* Estilo del punto blanco */
.radio-container .checkmark:after {
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}


/* Botón de Envío */
.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background-color: #008cff; /* Azul vibrante exacto */
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #006bbf; /* Un poco más oscuro al pasar el mouse */
}

/* Link inferior */
.signin-link {
    margin-top: 25px;
    color: #ffffff;
    font-size: 13px;
}

.signin-link a {
    color: #008cff;
    text-decoration: none;
    font-weight: 600;
}

.signin-link a:hover {
    text-decoration: underline;
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .form-card {
        padding: 30px 20px;
        width: 90%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 5px;
    }
}