/* =====================================
   PREVIX - LOGIN PAGE DESIGN
   Premium Orange + White Theme
===================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #FFF5ED;
}

.login-container {
    width: 100%;
    max-width: 1050px;
    min-height: 580px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #FFFFFF;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.10);
}

/* LEFT BANNER */

.login-banner {
    background: linear-gradient(
        145deg,
        #F47721,
        #E85D04
    );
    color: #FFFFFF;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-banner::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 50px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.login-banner::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    bottom: -100px;
    left: -80px;
}

.login-banner-content {
    position: relative;
    z-index: 1;
}

.login-banner h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.login-banner p {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.95;
}

.login-banner img {
    width: 100%;
    max-width: 320px;
    height: 210px;
    object-fit: contain;
    margin: 25px auto 0;
}

/* RIGHT LOGIN FORM */

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
}

.login-form {
    width: 100%;
    max-width: 380px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.login-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.login-logo span {
    font-size: 28px;
    font-weight: 800;
    color: #F47721;
}

.login-heading {
    text-align: center;
    margin-bottom: 28px;
}

.login-heading h2 {
    font-size: 25px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 7px;
}

.login-heading p {
    color: #718096;
    font-size: 13px;
}

/* LOGIN TYPE */

.login-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.login-type button {
    min-height: 48px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 9px;
    color: #64748B;
    font-weight: 600;
    transition: 0.25s ease;
}

.login-type button.active {
    background: #FFF0E4;
    color: #F47721;
    border: 1px solid #F47721;
}

/* INPUTS */

.login-form .form-group {
    margin-bottom: 17px;
}

.login-form .form-control {
    min-height: 48px;
    font-size: 13px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #718096;
    font-size: 16px;
}

.login-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 8px;
    background: #F47721;
    color: #FFFFFF;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.25s ease;
}

.login-submit:hover {
    background: #DF620F;
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    color: #94A3B8;
    font-size: 11px;
    margin-top: 28px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .login-page {
        padding: 15px;
        align-items: center;
    }

    .login-container {
        max-width: 430px;
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .login-banner {
        padding: 22px 20px;
        min-height: 145px;
        text-align: center;
    }

    .login-banner h1 {
        font-size: 23px;
        margin-bottom: 7px;
    }

    .login-banner p {
        font-size: 12px;
        line-height: 1.6;
    }

    .login-banner img {
        display: none;
    }

    .login-form-section {
        padding: 28px 22px;
    }

    .login-logo {
        margin-bottom: 16px;
    }

    .login-logo img {
        width: 38px;
        height: 38px;
    }

    .login-logo span {
        font-size: 23px;
    }

    .login-heading h2 {
        font-size: 22px;
    }

    .login-footer {
        margin-top: 22px;
    }
}

@media (max-width: 360px) {

    .login-form-section {
        padding: 22px 15px;
    }

    .login-banner h1 {
        font-size: 20px;
    }
}
