@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fc;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
}

/* LEFT */

.login-left {
    width: 50%;
    background: linear-gradient(135deg,
            #12074b,
            #4f1fff);
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.brand h2 {
    margin: 0;
}

.welcome-content {
    max-width: 500px;
}

.welcome-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: 18px;
    opacity: .9;
    line-height: 1.8;
}

.illustration {
    width: 350px;
    margin-top: 40px;
}

/* RIGHT */

.login-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 24px;
    padding: 45px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
}

.login-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    color: #777;
    margin-bottom: 30px;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.input-group {
    height: 55px;
}

.input-group-text {
    background: #f4f5fb;
    border-right: none;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
}

.login-btn {
    background: #5a24ff;
    color: #fff;
    height: 55px;
    border-radius: 12px;
    font-weight: 600;
}

.login-btn:hover {
    background: #4617e8;
    color: #fff;
}

.forgot-link {
    color: #5a24ff;
    text-decoration: none;
}

.divider {
    text-align: center;
    margin: 25px 0;
    color: #999;
    position: relative;
}

.divider:before,
.divider:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #ddd;
}

.divider:before {
    left: 0;
}

.divider:after {
    right: 0;
}

.social-btn {
    width: 100%;
    height: 55px;
    border-radius: 12px;
}

.register-link {
    text-align: center;
    margin-top: 25px;
}

.register-link a {
    color: #5a24ff;
    text-decoration: none;
    font-weight: 600;
}

/* MOBILE */

@media(max-width:992px) {

    .login-wrapper {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-left {
        padding: 40px;
    }

    .welcome-content h1 {
        font-size: 36px;
    }

    .illustration {
        width: 250px;
    }
}