* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: url('img/fondo-bantrab.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 9px 32px rgba(0,0,0,0.35);
  width: 100%;
  max-width: 420px;
  text-align: center;
  color: white;
}

.logo {
  width: 100px;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #888;
}

select {
  color: #888;
}

select option {
  color: black;
}

.btn {
  background-color: #f7a600;
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background-color: #d88b00;
}

.secondary-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
  margin-top: 12px;
  display: inline-block;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.3s;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

@media screen and (max-width: 480px) {
  .login-container {
    padding: 25px 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  .logo {
    width: 80px;
  }

  .btn {
    font-size: 0.95em;
  }
}

    /* Estilo para modal de cámara */
    #modal-camara {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: rgba(0, 0, 0, 0.85);
      padding: 20px;
      border-radius: 16px;
      display: none;
      flex-direction: column;
      align-items: center;
      z-index: 1000;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    #modal-camara video {
      width: 240px;
      border-radius: 12px;
      margin-bottom: 15px;
    }

    #modal-camara button {
      background-color: #f7a600;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      color: white;
      font-weight: bold;
      cursor: pointer;
    }

    #modal-camara button:hover {
      background-color: #d88b00;
    }

    #passwordHelp, #confirmPasswordHelp {
  font-weight: 600;
}
