@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

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

body {
    align-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(212, 175, 55, .20), transparent 22rem),
        radial-gradient(circle at 82% 82%, rgba(192, 192, 192, .10), transparent 24rem),
        linear-gradient(135deg, #0A0A0A 0%, #111111 48%, #1C1C1C 100%);
    color: #F8F8F8;
    display: flex;
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.wave {
    display: none;
}

.contenedor {
    align-items: center;
    display: grid;
    gap: clamp(24px, 6vw, 96px);
    grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
    margin: 0 auto;
    max-width: 1180px;
    min-height: 100vh;
    padding: 32px;
    width: 100%;
}

.img {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 420px;
    position: relative;
}

.img::before {
    background: linear-gradient(135deg, rgba(212, 175, 55, .20), rgba(255, 255, 255, .04));
    border: 1px solid rgba(212, 175, 55, .22);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    content: "";
    inset: 6%;
    position: absolute;
    transform: rotate(-4deg);
}

.img img {
    filter: drop-shadow(0 28px 45px rgba(0, 0, 0, .42));
    max-height: 440px;
    max-width: min(520px, 92%);
    object-fit: contain;
    position: relative;
    width: 100%;
}

.contenido-login {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

form {
    background: rgba(28, 28, 28, .78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 175, 55, .22);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
    padding: 34px;
    width: min(100%, 410px);
}

.contenido-login img {
    height: 118px;
    margin-bottom: 8px;
    object-fit: contain;
    width: 100%;
}

.contenido-login h1 {
    color: #D4AF37;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    margin: 6px 0;
}

.contenido-login h3 {
    color: #F8F8F8;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 26px;
}

.contenido-login .input-div {
    align-items: center;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(192, 192, 192, .20);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 42px 1fr;
    margin: 18px 0;
    min-height: 56px;
    padding: 0 12px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contenido-login .input-div.focus {
    background: rgba(255, 255, 255, .07);
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .14), 0 0 12px rgba(212, 175, 55, .30);
}

.i {
    align-items: center;
    color: #D4AF37;
    display: flex;
    justify-content: center;
}

.input-div > div {
    height: 48px;
    position: relative;
}

.input-div > div > h5 {
    color: #C0C0C0;
    font-size: 15px;
    font-weight: 700;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .2s ease;
}

.input-div.focus > div > h5 {
    color: #F4D77A;
    font-size: 12px;
    top: 4px;
}

.input-div > div > input {
    background: transparent;
    border: none;
    color: #F8F8F8;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    height: 100%;
    left: 0;
    outline: none;
    padding: 16px 0 0;
    position: absolute;
    top: 0;
    width: 100%;
}

a {
    color: #C0C0C0;
    display: block;
    font-size: .9rem;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: #F4D77A;
}

.btn {
    background-image: linear-gradient(135deg, #B8860B, #D4AF37, #F4D77A);
    background-size: 180%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(212, 175, 55, .26);
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    height: 52px;
    margin: 24px 0 0;
    outline: none;
    text-transform: uppercase;
    transition: background-position .25s ease, transform .25s ease, box-shadow .25s ease;
    width: 100%;
}

.btn:hover {
    background-position: right;
    box-shadow: 0 18px 34px rgba(212, 175, 55, .34);
    transform: translateY(-1px);
}

@media screen and (max-width: 980px) {
    .contenedor {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .img {
        min-height: 220px;
    }

    .img::before {
        inset: 12%;
    }

    .img img {
        max-height: 230px;
    }
}

@media screen and (max-width: 560px) {
    body {
        align-items: stretch;
    }

    .contenedor {
        min-height: 100svh;
        padding: 18px;
    }

    .img {
        display: none;
    }

    form {
        border-radius: 14px;
        padding: 24px 18px;
    }

    .contenido-login img {
        height: 96px;
    }
}
