body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('../img/inicio.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar-login {
    width: 100%;
    padding: 15px 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
}

.logo-container img {
    height: 38px;
}

/* CONTENEDOR PRINCIPAL */
.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

/* CAJA DEL FORMULARIO */
.register-box {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.35);
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
}

/* TÍTULO */
.register-box h2 {
    text-align: center;
    color: #ff2e2e;
    margin-bottom: 25px;
    font-size: 1.6em;
}

/* INPUTS UNIFORMES */
.register-box input {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    background-color: #1c1c1c;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1em;
    box-sizing: border-box;
}

.register-box input::placeholder {
    color: #aaa;
}

/* BOTÓN */
.register-box button {
    width: 100%;
    padding: 12px;
    background-color: #e62424;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1em;
    color: #ccc;
}

.register-box button:hover {
    background-color: #c91515;
}

/* MENSAJE DE ERROR */
.error-msg {
    color: #ff4d4d;
    margin-bottom: 12px;
    font-size: 0.9em;
}
/**/
/**/
.captcha-container {
    text-align: center;
    margin: 20px 0;
}

.g-recaptcha {
    display: inline-block;
    transform: scale(1.05);
    transform-origin: center;
}
/* RESPONSIVE */
@media (max-width: 480px) {
    .register-box {
        padding: 30px 20px;
    }

    .register-box h2 {
        font-size: 1.5em;
    }

    .register-box button {
        font-size: 1em;
    }
}
