﻿body {
    overflow: hidden;
}

/* ===== PAGE ===== */

.login-page {
    height: 100vh;
    display: flex;
    background: linear-gradient( 135deg, #1e1b4b, #312e81, #4c1d95);
    overflow: hidden;
}

/* ===== LEFT SIDE ===== */

.login-left {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

    .login-left::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient( rgba(255, 255, 255, .12), transparent 70%);
        border-radius: 50%;
        top: -120px;
        left: -120px;
    }

.brand-box {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
}

.brand-logo {
    width: 210px;
    margin-bottom: 14px;
    filter: drop-shadow( 0 10px 20px rgba(0, 0, 0, .35));
}

.brand-box h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.brand-box p {
    font-size: 22px;
    opacity: .9;
    line-height: 1.6;
}

/* ===== RIGHT SIDE ===== */

.login-right {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
}

/* ===== LOGIN BOX ===== */

.login-box {
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    animation: popupFade .45s ease;
}

.welcome-text {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 6px;
}

.login-box h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* ===== INPUTS ===== */

.input-group {
    margin-bottom: 22px;
}

    .input-group label {
        display: block;
        color: white;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
    }

    .input-group input {
        width: 100%;
        padding: 15px 18px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, .15);
        background: rgba(255, 255, 255, .10);
        color: white;
        font-size: 15px;
        outline: none;
        transition: .25s;
    }

        .input-group input::placeholder {
            color: #d1d5db;
        }

        .input-group input:focus {
            border-color: #a855f7;
            box-shadow: 0 0 0 4px rgba(168, 85, 247, .18);
        }

/* ===== BUTTON ===== */

.login-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #7c3aed, #9333ea);
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(124, 58, 237, .35);
    }

/* ===== ERROR ===== */

.error {
    color: #fecaca;
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
}

/* ===== ANIMATION ===== */

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
    .login-page {
        flex-direction: column;
    }

    .login-left {
        width: 100%;
        height: 35vh;
        padding: 30px;
    }

    .login-right {
        width: 100%;
        height: 65vh;
    }

    .brand-box {
        text-align: center;
    }

        .brand-box h1 {
            font-size: 42px;
        }

        .brand-box p {
            font-size: 18px;
        }
}
