body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-image: url("fotos/bg.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.overlay {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    padding-right: 8%;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    color: #fff;
}

.logo-container {
    text-align: center;
}

.logo {
    width: 140px;
    margin-bottom: 10px;
}

.logo-container h2 {
    font-weight: 500;
    margin: 10px 0 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 80%;
    padding: 12px 40px 12px 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
}

.input-group input::placeholder {
    color: #ccc;
}

.input-group-custom {
  position: relative;
  margin-bottom: 20px;
}

.input-group-custom input {
  width: 80%;
  padding: 12px 40px 12px 40px; /* espacio para íconos */
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 14px;
}

.input-group-custom input::placeholder {
  color: #ccc;
}

/* Ícono a la izquierda */
.icon-left {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: white;
  font-size: 18px;
  pointer-events: none;
}

/* Ícono del ojo a la derecha */
.icon-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.icon-img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.icon-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.8;
    cursor: pointer;
}

.links {
    text-align: right;
    margin-bottom: 20px;
}

.links a {
    color: #ddd;
    font-size: 13px;
    text-decoration: none;
}

button {
    width: 100%;
    padding: 12px;
    background: #1e3cf4;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
}

.register {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    color: #ddd;
}

.register a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
