/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

/* Estilos base del diseño */
:root {
  --primary-color: #e62e00;
  --secondary-color: #1a1a1a;
  --light-color: #f5f5f5;
  --dark-color: #121212;
  --accent-color: #ffbb00;
  --primary-rgb: 230, 46, 0;
  --secondary-rgb: 26, 26, 26;
  --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg,
        rgba(230, 46, 0, 0.1) 0%,       /* Rojo opaco */
        rgba(230, 46, 0, 0.1) 15%,
        rgba(255, 202, 40, 0.1) 15%,    /* Amarillo opaco */
        rgba(255, 202, 40, 0.1) 30%,
        rgba(230, 46, 0, 0.1) 30%,
        rgba(230, 46, 0, 0.26) 45%,
        rgba(245, 245, 245, 0.5) 45%,  /* Gris claro semi-transparente */
        rgba(245, 245, 245, 0.5) 60%,
        rgba(230, 46, 0, 0.1) 60%,
        rgba(230, 46, 0, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    background-attachment: fixed;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0,0,0,0.98) !important;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* Hero Section para Cambio de Contraseña */
.password-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%), 
              url('../fotos/bushidotodos.jpg') center/cover no-repeat;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: -50px;
  position: relative;
}

.password-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.password-hero h1 span {
  color: var(--primary-color);
}

.password-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Contenedor principal */
.password-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.password-form {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-all);
}

.password-form:hover {
  box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.2);
}

.password-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  letter-spacing: 2px;
  position: relative;
}

.password-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

/* Campos del formulario */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition-all);
  background-color: rgba(0, 0, 0, 0.02);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  background-color: white;
}

.input-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Botón de submit */
.submit-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background: var(--primary-color);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-all);
  margin-top: 1rem;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.submit-btn:hover {
  background: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

/* Toggle para mostrar formulario */
.toggle-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--secondary-color);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-all);
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(255, 187, 0, 0.3);
}

.toggle-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Mensaje de respuesta */
.response-message {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
}

.response-message.success {
  background-color: rgba(0, 200, 0, 0.1);
  color: #006600;
  border: 1px solid #006600;
}

.response-message.error {
  background-color: rgba(200, 0, 0, 0.1);
  color: #660000;
  border: 1px solid #660000;
}

/* Responsive */
@media (max-width: 992px) {
  .password-hero h1 {
      font-size: 3.5rem;
  }
  
  .password-form {
      padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .password-hero {
      height: 35vh;
  }
  
  .password-hero h1 {
      font-size: 3rem;
  }
  
  .password-hero p {
      font-size: 1.1rem;
  }
  
  .password-form {
      padding: 2rem;
  }
}

@media (max-width: 576px) {
  .password-hero {
      height: 30vh;
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }
  
  .password-hero h1 {
      font-size: 2.5rem;
  }
  
  .password-form {
      padding: 1.5rem;
  }
  
  .password-title {
      font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .password-form {
      padding: 1.2rem;
  }
  
  .form-control {
      padding: 0.8rem 1rem 0.8rem 2.5rem;
  }
  
  .input-icon {
      left: 1rem;
      font-size: 1rem;
  }
}