﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: url('../Img/fondo.jpeg') no-repeat center center fixed;
    background-size: cover;
}

.container {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 90%;
    max-width: 900px;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.left {
    background: url('../Img/fondo2.jpeg') no-repeat center center;
    background-size: cover;
    flex: 1;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

.right {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .right h2 {
        text-align: center;
        margin-bottom: 20px;
    }

form {
    display: flex;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
}

.password-container {
    position: relative;
}

    .password-container .eye {
        position: absolute;
        right: 10px;
        top: 13px;
        cursor: pointer;
    }

.submit {
    margin-top: 20px;
    padding: 10px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 20px;
    width: 100%;
    cursor: pointer;
}

.info-text {
    margin-top: 15px;
    font-size: 0.85em;
    color: #666;
    text-align: center;
}

/* Forzar Times New Roman en el formulario de recuperación */
.login-box,
.login-box * {
    font-family: "Times New Roman", Times, serif !important;
}



/* ==== Borde eléctrico azul–celeste ==== */
.electric-blue {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 35px rgba(0, 180, 255, 0.25);
  z-index: 0;
}

/* Capa de rayos eléctricos */
.electric-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 4px; /* grosor del borde */
  background: linear-gradient(
    120deg,
    #00eaff,
    #00bfff,
    #009dff,
    #00bfff,
    #00eaff
  );
  background-size: 300% 300%;
  animation: electricBlueRecover 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; /* deja pasar clics */
  z-index: 0;
}

/* Resplandor externo */
.electric-blue::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 42px 10px rgba(0, 170, 255, 0.6);
  pointer-events: none;
  z-index: 0;
}

/* Animación de corriente eléctrica */
@keyframes electricBlueRecover {
  0%   { background-position: 0% 50%;   filter: hue-rotate(0deg) brightness(1.3); }
  50%  { background-position: 100% 50%; filter: hue-rotate(35deg) brightness(1.6); }
  100% { background-position: 0% 50%;   filter: hue-rotate(0deg) brightness(1.3); }
}

/* Fondo más oscuro para resaltar el efecto */
body {
  background-color: #0a0f1f;
  background-image: url('../Img/fondo.jpeg');
  background-size: cover;
  background-blend-mode: multiply;
}

