@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Jost:wght@300;400;500&display=swap');

:root {
    --ebano:        #1C1810;
    --ebano-soft:   #2A2318;
    --oro:          #8B6914;
    --oro-claro:    #C9A84C;
    --oro-miel:     #E8D5A3;
    --marfil:       #FFFFFF;
    --crema:        #F7F6F4;
    --crema-borde:  #E8E6E2;
    --texto-ppal:   #1C1810;
    --texto-sec:    #6B6560;
    --texto-hint:   #A09890;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--crema);
    background-image: radial-gradient(var(--oro-miel) 1px, transparent 1px);
    background-size: 20px 20px;
}

.login-card {
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--marfil);
    box-shadow: 0px 12px 32px rgba(28, 24, 16, 0.18);
}

.login-top {
    background-color: var(--ebano);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
    border-bottom: 0.5px solid rgba(201, 168, 76, 0.2);
}

.login-logo-icono {
    height: 70px;
    width: auto;
}

.login-logo-tipo {
    height: 60px;
    width: auto;
    margin-top: 0.6rem;
    margin-bottom: -6px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 380px) {
    .login-logo-icono {
        height: 76px;
        margin-top: -8px;
        margin-bottom: -8px;
    }

    .login-logo-tipo {
        height: 26px;
    }
}

.login-bottom {
    padding: 2rem;
}

.bienvenida {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--texto-ppal);
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

.subtitulo {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--texto-hint);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-bottom: 1.8rem;
}

.input-linea {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--crema-borde);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s;
}

.input-linea:focus-within {
    border-color: var(--oro-claro);
}

.input-linea i {
    font-size: 1.1rem;
    color: var(--texto-hint);
    transition: color 0.2s;
}

.input-linea:focus-within i {
    color: var(--oro);
}

.input-linea input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--texto-ppal);
    background: transparent;
    letter-spacing: 0.02em;
}

.input-linea input::placeholder {
    color: var(--crema-borde);
    font-weight: 300;
}

.btn-nuevo-login {
    width: 100%;
    padding: 14px;
    background-color: var(--ebano);
    color: var(--oro-claro);
    border: none;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-nuevo-login:hover {
    background-color: var(--ebano-soft);
    color: var(--oro-miel);
}