* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d8a24d;
    --gold-light: #ffcb73;
}

html {
    background: #050505;
}

body {
    font-family: Inter, sans-serif;
    background: #050505;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
    position: relative;
}

    body::before,
    body::after {
        display: none !important;
    }

/* LAYOUT */

.login-container {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    min-height: 100vh;
    padding: 40px;
    position: relative;
    z-index: 2;
}

/* IMAGE */

.left-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card {
    width: 100%;
    height: 100%;
    max-width: 850px;
    overflow: hidden;
    border-radius: 42px;
    background: rgba( 255, 255, 255, .03 );
/*    backdrop-filter: blur( 30px );*/
    border: 1px solid rgba( 255, 255, 255, .06 );
}

    .image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* LOGIN */

.right-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    padding: 52px;
    border-radius: 40px;
    background: rgba( 255, 255, 255, .03 );
/*    backdrop-filter: blur( 30px );*/
    border: 1px solid rgba( 255, 255, 255, .06 );
}

.logo-box {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo-inner {
    width: 90px;
    height: 90px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient( 135deg, var(--gold), var(--gold-light) );
    color: black;
}

.login-card h1 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 12px;
}

.login-card p {
    text-align: center;
    opacity: .7;
    line-height: 1.7;
    margin-bottom: 42px;
}

/* FIELDS */

.field {
    margin-bottom: 22px;
}

    .field label {
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
        opacity: .8;
    }

.input-wrap {
    height: 66px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 22px;
    background: rgba( 255, 255, 255, .04 );
}

    .input-wrap i {
        font-size: 18px;
        color: var(--gold);
        opacity: .9;
        min-width: 20px;
        transition: .3s;
    }

    .input-wrap:focus-within i {
        color: var(--gold-light);
        transform: scale(1.08);
    }

    .input-wrap input {
        flex: 1;
        border: none;
        outline: none;
        background: none;
        color: white;
        font-size: 15px;
    }

/* BUTTON */

button {
    width: 100%;
    height: 66px;
    margin-top: 10px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient( 135deg, var(--gold), var(--gold-light) );
    color: black;
}

.register-link {
    margin-top: 24px;
    text-align: center;
    opacity: .7;
}

    .register-link a {
        color: var(--gold);
        text-decoration: none;
    }

.footer-text {
    margin-top: 34px;
    text-align: center;
    opacity: .45;
}

/* MOBILE */

@media(max-width:1000px) {

    .login-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .left-side {
        display: none;
    }
    .right-side {
        animation: fadeInBottom 1s ease;
    }

    .login-card {
        padding: 36px;
    }
}


@media(max-width:600px) {

    .login-card {
        padding: 28px;
        border-radius: 28px;
    }

    .logo-inner {
        width: 72px;
        height: 72px;
        font-size: 22px;
    }

    .login-card h1 {
        font-size: 30px;
    }

    .input-wrap {
        height: 58px;
    }

    button {
        height: 58px;
    }
}

.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(255, 87, 87, .10);
    border: 1px solid rgba(255, 87, 87, .25);
    color: #ff8c8c;
    font-size: 14px;
    font-weight: 500;
    animation: shakeError .4s ease;
}

    .login-alert span {
        font-size: 18px;
    }

@keyframes shakeError {

    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}
