@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #050505;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(255,255,255,0.02) 0%, transparent 60%);
    color: #fff;
    font-family: 'Inter', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 44px 40px;
    border-radius: 16px;
    width: min(360px, calc(100% - 32px));
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 24px 64px rgba(0,0,0,0.7),
        0 8px 24px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
}

/* Línea de acento blanca en el top del card */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    border-radius: 1px;
}

#overlay-image {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
#overlay-image img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
}

h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin-bottom: 28px;
    color: #f0f0f0;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #777;
    margin-top: 18px;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    background: #080808;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 8px;
    color: #e8e8e8;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: rgba(255,255,255,0.35);
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.05),
        0 2px 12px rgba(0,0,0,0.4);
}

button[type="submit"] {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 28px;
    font-family: inherit;
    letter-spacing: .2px;
    transition: opacity .15s, transform .08s, box-shadow .2s;
    box-shadow:
        0 4px 16px rgba(255,255,255,0.12),
        0 2px 6px rgba(0,0,0,0.4);
}

button[type="submit"]:hover {
    opacity: .92;
    box-shadow:
        0 6px 24px rgba(255,255,255,0.18),
        0 2px 8px rgba(0,0,0,0.4);
}

button[type="submit"]:active { transform: scale(.98); }

#login-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 14px;
    min-height: 18px;
    text-align: center;
}
