:root {
    --dark: #171512;
    --gold: #bd8737;
    --gold-dark: #96621f;
    --cream: #f6f0e7;
    --paper: #fffdf9;
    --text: #211c17;
    --muted: #81776d;
    --line: rgba( 55, 41, 28, .13 );
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 30px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient( circle at top right, rgba(189,135,55,.14), transparent 35% ), radial-gradient( circle at bottom left, rgba(71,52,31,.08), transparent 38% ), var(--cream);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
}

a {
    text-decoration: none;
}

.login-wrapper {
    width: 100%;
    max-width: 1050px;
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid rgba(70,50,30,.08);
    border-radius: 25px;
    background: white;
    box-shadow: 0 35px 100px rgba(47,34,20,.13);
}

/*
==========================================================
ART SIDE
==========================================================
*/
.login-art {
    position: relative;
    padding: 52px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient( 180deg, rgba(20,17,14,.10), rgba(20,17,14,.92) ), url( "../images/artists/gopal/Energy.jpg" ) center / cover no-repeat;
    color: white;
}

.login-art::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -110px;
    border: 1px solid rgba(224,181,105,.35);
    border-radius: 50%;
}

.login-art::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: 35px;
    top: -15px;
    border: 1px solid rgba(224,181,105,.16);
    border-radius: 50%;
}

.art-content {
    position: relative;
    z-index: 2;
    max-width: 430px;
}

.art-label {
    display: block;
    margin-bottom: 14px;
    color: #e3b362;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.art-content h2 {
    margin: 0 0 18px;
    font-family: "Poppins", sans-serif;
    font-size: clamp( 42px, 5vw, 59px );
    font-weight: 500;
    line-height: 1.02;
}

.art-content p {
    max-width: 370px;
    margin: 0;
    color: rgba(255,255,255,.67);
    font-size: 16px;
    line-height: 1.75;
}

/*
==========================================================
FORM SIDE
==========================================================
*/
.login-panel {
    padding: 62px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.login-panel h1 {
    margin: 0 0 9px;
    font-family: "Poppins", sans-serif;
    font-size: 42px;
    font-weight: 500;
}

.login-description {
    margin: 0 0 31px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/*
INPUT
*/
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #443c35;
    font-size: 16px;
    font-weight: 600;
}

.input-wrap {
    position: relative;
}

.input-wrap > i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #a29990;
    font-size: 15px;
}

.form-control {
    width: 100%;
    height: 53px;
    padding: 0 17px 0 47px;
    border: 1px solid #ded6cc;
    border-radius: 10px;
    outline: none;
    background: #fdfbf8;
    color: #302923;
    font-family: inherit;
    font-size: 16px;
    transition: .2s ease;
}

.form-control:focus {
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(189,135,55,.10);
}

/*
LOGIN BUTTON
*/
.login-btn {
    width: 100%;
    height: 53px;
    margin-top: 5px;
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--dark);
    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.login-btn:hover {
    background: var(--gold-dark);
}

/*
ALERT
*/
.alert-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #ebcccc;
    border-radius: 9px;
    background: #fff3f3;
    color: #a34646;
    font-size: 16px;
}

/*
SIGNUP
*/
.signup-text {
    margin-top: 23px;
    color: #83796f;
    text-align: center;
    font-size: 18px;
}

.signup-text a {
    margin-left: 4px;
    color: var(--gold-dark);
    font-weight: 700;
}

/*
ARTIST LOGIN LINK
*/
.artist-login-box {
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.artist-login-box span {
    color: #8b8177;
    font-size: 20px;
}

.artist-login-box a {
    margin-left: 5px;
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 700;
}

.artist-login-box a i {
    margin-left: 3px;
}

/*
HOME LINK
*/
.browse-link {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #92887f;
    font-size: 16px;
}

.browse-link:hover {
    color: var(--gold-dark);
}

/*
==========================================================
RESPONSIVE
==========================================================
*/
@media (max-width: 850px) {
    .login-wrapper {
        max-width: 590px;
        grid-template-columns: 1fr;
    }

    .login-art {
        min-height: 285px;
        padding: 35px;
    }

    .art-content h2 {
        font-size: 40px;
    }

    .login-panel {
        padding: 45px;
    }
}

@media (max-width: 520px) {
    body {
        padding: 0;
        align-items: stretch;
    }

    .login-wrapper {
        min-height: 100vh;
        border: none;
        border-radius: 0;
    }

    .login-art {
        min-height: 235px;
        padding: 26px 22px;
    }

    .art-content h2 {
        font-size: 34px;
    }

    .art-content p {
        font-size: 12px;
    }

    .login-panel {
        padding: 37px 22px;
    }

    .login-panel h1 {
        font-size: 35px;
    }
}
