body {
    margin: 0;
    padding: 0 1rem;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f6f9;
    font-family: Roboto, sans-serif;
}

.login_box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
}

.login_box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.frase_valor_login {
    background-color: #d9f2f8;
    color: #003344;
    text-align: center;
    padding: 0.8rem 1rem;
    margin: 0 auto 1.5rem auto;
    border-radius: 10px;
    display: block;
    width: fit-content;
    max-width: 90%;
}

.form_login {
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 50px;
    padding: 0.2rem;
    box-shadow: 0 0 0 1px #ccc;
}

.form_login input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    background: transparent;
    font-size: 1rem;
}

.btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #0044ff9a;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0044ff70;
}

.line_login {
    border: none;
    height: 1px;
    padding: 0.8rem;
    width: 90%;
}

.password_reset_login {
    text-align: center;
    margin-top: 1rem;
}

.password_reset_login a {
    color: #0044ff9a;
    text-decoration: underline;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.password_reset_login a:hover {
    color: #0044ff70;
}

.notification-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.8);
    font-weight: bold;
    z-index: 9999;
    min-width: 280px;
    text-align: center;
    animation: slideUpFade 0.5s ease forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.otp_box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: 100%;
}

.codigo_qr {
    flex: 1;
    display: flex;
    justify-content: center;
}

.codigo_qr img {
    width: 200px;
    max-width: 100%;
    border-radius: 8px;
}

.linea_separadora {
    width: 1px;
    background-color: #ddd;
    align-self: stretch;
}

.form_otp {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.form_otp h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.form_otp input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.2s;
    text-align: center;
}

.buttons_otp {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.buttons_otp button {
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
}

.buttons_otp button:first-child {
    background-color: #52585c42;
}

.buttons_otp button:last-child {
    background-color: #0044ff9a;
}

.buttons_otp button:hover {
    opacity: 0.9;
}

.mensaje_otp {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

.notification-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    /* rojo por defecto */
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.8);
    font-weight: bold;
    z-index: 9999;
    min-width: 280px;
    text-align: center;
    animation: slideUpFade 0.5s ease forwards;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Sombra neutral opcional */
}

.botones-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.btn_recuperar {
    flex: 1;
    padding: 0.8rem;
    background-color: #0044ff9a;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn_recuperar:hover {
    background-color: #0044ff70;
}

.btn-back_recuperar {
    flex: 1;
    padding: 0.8rem;
    background-color: #646c726c;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-back_recuperar:hover {
    background-color: #52585c42;
}

.notification-bottom.success {
  background-color: #42b983;
  color: #ffffff;
  border: 1px solid #369f6e;
}

.reset-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px 25px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.reset-title {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 24px;
  color: #222;
}

.reset-form {
  display: flex;
  flex-direction: column;
}

.reset-label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

.reset-input {
  padding: 10px 14px;
  margin-bottom: 20px;
  border: 1.5px;
  border-radius: 30px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.reset-button {
  background-color: #0044ff9a;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reset-button:hover {
  background-color: #0044ff70;
}

.mensaje-error {
  margin-top: 10px;
  color: #e74c3c;
  font-weight: 600;
  text-align: center;
}

.mensaje-exito {
  margin-top: 10px;
  color: #2ecc71;
  font-weight: 600;
  text-align: center;
}

.reset-container {
  width: 350px;
  margin: 40px auto;
  padding: 25px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.reset-title {
  text-align: center;
  margin-bottom: 20px;
}

.reset-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.reset-input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 1rem;
  box-sizing: border-box;
}

.button-container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.reset-button {
  flex: 1;
  padding: 12px 0;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reset-button.volver {
  background-color: #646c726c;
  color: white;
}

.reset-button.enviar {
  background-color: #0044ff9a;
  color: white;
}

.reset-button.volver:hover {
  background-color: #52585c42;
}

.reset-button.enviar:hover {
  background-color: #0044ff70;
}

/* Responsive */
@media (max-width: 480px) {
  .reset-container {
    width: 90%;
    padding: 20px 15px;
  }

  .reset-button {
    padding: 10px 0;
    font-size: 14px;
  }

  .button-container {
    flex-direction: column;
  }

  .reset-button {
    flex: none;
    width: 100%;
  }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* resposive para dispositivos moviles */
@media screen and (min-width: 600px) and (max-width: 950px) and (orientation: landscape) {

    .login_box {
        padding: 2.5rem 2rem;
        max-height: 100vh;
        margin-top: 8rem;
    }
}

@media (max-width: 768px) {
    .otp_box {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .linea_separadora {
        display: none;
    }

    .codigo_qr img {
        width: 150px;
    }

    .form_otp input[type="text"],
    .buttons_otp {
        width: 100%;
    }
}
































/* Regla global para quitar todos los estilos de focus */
:focus {
    outline: none !important;
    box-shadow: none !important;
}
