* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Centra el login verticalmente en toda la pantalla */
}

.container {
    width: 100%;
    max-width: 450px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 40px 30px;
    border-radius: 30px;
    margin: 20px;
}

.container img {
    width: 180px;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.input-group input {
    appearance: none;
    width: 100%;
    padding: 18px 50px 18px 25px; /* Espacio extra a la derecha para el ícono */
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group input:focus {
    border-color: white;
    background: transparent;
}

/* Alineación perfecta de los iconos dentro del input */
.input-group i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    transition: color 0.3s ease;
}

.input-group input:focus + i {
    color: white;
}

.send {
    margin-top: 30px;
}

button[type="submit"] {
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button i {
    font-size: 55px;
    color: rgba(255, 255, 255, 0.4);
    /* Transición específica solo para color y brillo, esto evita cualquier salto de posición */
    transition: color 0.3s ease, filter 0.3s ease;
}

/* Al pasar el mouse por el botón, el ícono cambia */
button:hover i {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}