* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #EAEAEA, #C4CBCC ,#183855);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fondo difuminado */
.background {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(12px);
}

/* Card */
.login-card {
    position: relative;
    width: 360px;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(15px);
    color: #092639;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-container img {
    width: 200px;   /* prueba 140px – 200px */
    height: auto;
}

/* Inputs */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}

.input-group .icon {
    margin-right: 10px;
    opacity: 0.8;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #092639;
    padding: 10px 0;
    font-size: 15px;
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Opciones */
.options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 25px;
}

/* Botón */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(90deg, #092639, #183855);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.03);
}


.error-message {
    background-color: #ffe5e5;
    color: #b30000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.error-msg {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}
