﻿
/* =========================================================
           GLOBAL
        ========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.12), transparent 25%), radial-gradient(circle at 90% 80%, rgba(255,255,255,.10), transparent 25%), linear-gradient(135deg, #071a3d 0%, #0b3d91 45%, #1769d1 100%);
    overflow-x: hidden;
}

/* =========================================================
           BACKGROUND SHAPES
        ========================================================= */

.background-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .18;
    pointer-events: none;
}

.shape-one {
    width: 420px;
    height: 420px;
    background: #ffffff;
    top: -180px;
    left: -150px;
}

.shape-two {
    width: 350px;
    height: 350px;
    background: #5eb7ff;
    bottom: -160px;
    right: -100px;
}

.shape-three {
    width: 180px;
    height: 180px;
    background: #ffffff;
    top: 35%;
    right: 15%;
    opacity: .08;
}

/* =========================================================
           PAGE WRAPPER
        ========================================================= */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    position: relative;
    z-index: 2;
}

.login-container {
    width: 100%;
    max-width: 1120px;
}

/* =========================================================
           MAIN CARD
        ========================================================= */

.login-card {
    display: flex;
    min-height: 650px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 80px rgba(0,0,0,.28), 0 10px 30px rgba(0,0,0,.12);
}

/* =========================================================
           LEFT PANEL
        ========================================================= */

.brand-panel {
    width: 55%;
    position: relative;
    padding: 55px 55px 45px;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(5,30,75,.96), rgba(10,76,160,.93) );
}

    .brand-panel::before {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
        top: -180px;
        right: -180px;
    }

    .brand-panel::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 50%;
        bottom: -170px;
        left: -120px;
    }

.brand-content {
    position: relative;
    z-index: 2;
}

/* =========================================================
           LOGO
        ========================================================= */

.logo-container {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}

    .logo-container img {
        width: 78px;
        height: 78px;
        object-fit: contain;
        border-radius: 14px;
    }

/* =========================================================
           BRAND TEXT
        ========================================================= */

.brand-small-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: .75;
    margin-bottom: 8px;
    font-weight: 600;
}

.brand-title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 14px;
}

    .brand-title span {
        color: #7dc4ff;
    }

.brand-description {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.80);
    margin-bottom: 35px;
}

/* =========================================================
           FEATURE GRID
        ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 540px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    transition: all .25s ease;
}

    .feature-item:hover {
        background: rgba(255,255,255,.14);
        transform: translateY(-2px);
    }

.feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    color: #ffffff;
    font-size: 15px;
}

.feature-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

/* =========================================================
           RIGHT PANEL
        ========================================================= */

.form-panel {
    width: 45%;
    padding: 65px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.form-container {
    width: 100%;
    max-width: 390px;
}

/* =========================================================
           LOGIN HEADER
        ========================================================= */

.login-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b5ed7, #2585ef);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 22px;
    box-shadow: 0 10px 25px rgba(11,94,215,.25);
}

.login-title {
    font-size: 30px;
    font-weight: 800;
    color: #172033;
    margin-bottom: 6px;
}

.login-subtitle {
    color: #8a94a6;
    font-size: 14px;
    margin-bottom: 32px;
}

/* =========================================================
           FORM
        ========================================================= */

.form-group-custom {
    margin-bottom: 22px;
}

.form-label-custom {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #344054;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    z-index: 3;
    font-size: 15px;
}

.modern-input {
    width: 100%;
    height: 52px;
    border: 1px solid #dfe4ea;
    border-radius: 13px;
    padding: 0 16px 0 46px;
    font-size: 14px;
    color: #1d2939;
    background: #f9fafb;
    outline: none;
    transition: all .25s ease;
}

    .modern-input:focus {
        border-color: #2676db;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(38,118,219,.10);
    }

    .modern-input::placeholder {
        color: #a5adba;
    }

/* Password */

.password-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    padding: 5px;
    z-index: 4;
}

    .password-toggle:hover {
        color: #1769d1;
    }

/* =========================================================
           LOGIN BUTTON
        ========================================================= */

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 13px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #0b5ed7, #1769d1);
    box-shadow: 0 12px 25px rgba(11,94,215,.24);
    transition: all .25s ease;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(11,94,215,.30);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .login-button:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

/* =========================================================
           FORGOT PASSWORD
        ========================================================= */

.forgot-wrapper {
    text-align: center;
    margin-top: 22px;
}

.forgot-link {
    color: #667085;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

    .forgot-link:hover {
        color: #0b5ed7;
    }

/* =========================================================
           FOOTER
        ========================================================= */

.login-footer {
    text-align: center;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    color: #98a2b3;
    font-size: 11px;
}

/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 991px) {

    .login-card {
        max-width: 800px;
    }

    .brand-panel {
        width: 50%;
        padding: 45px 35px;
    }

    .form-panel {
        width: 50%;
        padding: 45px 35px;
    }

    .brand-title {
        font-size: 34px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    body {
        overflow-y: auto;
    }

    .login-wrapper {
        padding: 20px 15px;
    }

    .login-card {
        display: block;
        max-width: 500px;
        border-radius: 22px;
    }

    .brand-panel,
    .form-panel {
        width: 100%;
    }

    .brand-panel {
        padding: 35px 28px;
        text-align: center;
    }

    .logo-container {
        margin-left: auto;
        margin-right: auto;
    }

    .brand-title {
        font-size: 30px;
    }

    .brand-description {
        font-size: 14px;
    }

    .feature-grid {
        text-align: left;
    }

    .form-panel {
        padding: 40px 28px;
    }

    .login-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .login-title,
    .login-subtitle {
        text-align: center;
    }
}

@media (max-width: 400px) {

    .brand-title {
        font-size: 26px;
    }

    .feature-item {
        padding: 12px;
    }

    .form-panel {
        padding: 35px 20px;
    }
}


/* =========================================================
       PAGE
    ========================================================= */
.change-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.12), transparent 25%), radial-gradient(circle at 90% 80%, rgba(255,255,255,.10), transparent 25%), linear-gradient( 135deg, #071a3d 0%, #0b3d91 45%, #1769d1 100% );
}


.change-container {
    width: 100%;
    max-width: 1120px;
}


/* =========================================================
       MAIN CARD
    ========================================================= */

.change-main-card {
    display: flex;
    min-height: 650px;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0,0,0,.28), 0 10px 30px rgba(0,0,0,.12);
}


/* =========================================================
       LEFT CARD
    ========================================================= */

.change-left {
    width: 55%;
    position: relative;
    padding: 55px;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(5,30,75,.96), rgba(10,76,160,.93) );
}


    .change-left::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
        top: -190px;
        right: -190px;
    }


    .change-left::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 50%;
        bottom: -170px;
        left: -120px;
    }


.change-left-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
       LOGO
    ========================================================= */

.change-logo-box {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}


    .change-logo-box img {
        width: 78px;
        height: 78px;
        object-fit: contain;
        border-radius: 14px;
    }


/* =========================================================
       LEFT TEXT
    ========================================================= */

.change-small-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: .75;
    margin-bottom: 8px;
    font-weight: 600;
}


.change-brand-title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 14px;
}


    .change-brand-title span {
        color: #7dc4ff;
    }


.change-description {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.80);
    margin-bottom: 35px;
}


/* =========================================================
       FEATURES
    ========================================================= */

.change-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 540px;
}


.change-feature {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    transition: all .25s ease;
}


    .change-feature:hover {
        background: rgba(255,255,255,.14);
        transform: translateY(-2px);
    }


.change-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    color: #ffffff;
    font-size: 15px;
}


.change-feature-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}


/* =========================================================
       RIGHT CARD
    ========================================================= */

.change-right {
    width: 45%;
    padding: 48px 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}


.change-form-container {
    width: 100%;
    max-width: 400px;
}


/* =========================================================
       RIGHT HEADER
    ========================================================= */

.change-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient( 135deg, #0b5ed7, #2585ef );
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(11,94,215,.25);
}


.change-title {
    font-size: 28px;
    font-weight: 800;
    color: #172033;
    margin-bottom: 6px;
}


.change-subtitle {
    color: #8a94a6;
    font-size: 13px;
    margin-bottom: 27px;
    line-height: 1.6;
}


/* =========================================================
       LABEL
    ========================================================= */

.change-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #344054;
    margin-bottom: 7px;
}


/* =========================================================
       INPUT
    ========================================================= */

.change-input-wrapper {
    position: relative;
}


.change-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    z-index: 3;
    font-size: 14px;
}


.change-input {
    width: 100%;
    height: 49px;
    border: 1px solid #dfe4ea;
    border-radius: 12px;
    padding: 0 15px 0 44px;
    font-size: 14px;
    color: #1d2939;
    background: #f9fafb;
    outline: none;
    transition: all .25s ease;
}


    .change-input:focus {
        border-color: #2676db;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(38,118,219,.10);
    }


    .change-input::placeholder {
        color: #a5adba;
    }


/* =========================================================
       EMPLOYEE ID + OTP
    ========================================================= */

.employee-otp {
    display: flex;
    gap: 8px;
    align-items: center;
}


.employee-field {
    flex: 1;
    min-width: 0;
}


.otp-btn {
    height: 49px;
    padding: 0 15px;
    border: 1px solid #0b5ed7;
    border-radius: 12px;
    background: #ffffff;
    color: #0b5ed7;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .25s ease;
}


    .otp-btn:hover:not(:disabled) {
        background: #0b5ed7;
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(11,94,215,.20);
    }


    .otp-btn:disabled {
        opacity: .6;
        cursor: not-allowed;
    }


.otp-sent {
    color: #12b76a;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
       PASSWORD
    ========================================================= */

.password-wrapper {
    position: relative;
}


.password-input {
    padding-right: 48px;
}


.password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    padding: 5px;
    z-index: 4;
}


    .password-toggle:hover {
        color: #0b5ed7;
    }


/* =========================================================
       PASSWORD RULES
    ========================================================= */

.password-rules {
    margin-top: 10px;
    padding: 11px 13px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 11px;
}


.password-rule {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    margin-bottom: 5px;
}


    .password-rule:last-child {
        margin-bottom: 0;
    }


.rule-icon {
    width: 17px;
    height: 17px;
    min-width: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}


.rule-valid {
    color: #039855;
}


    .rule-valid .rule-icon {
        background: #dcfae6;
        color: #039855;
    }


.rule-invalid {
    color: #d92d20;
}


    .rule-invalid .rule-icon {
        background: #fee4e2;
        color: #d92d20;
    }


/* =========================================================
       UPDATE BUTTON
    ========================================================= */

.update-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient( 135deg, #0b5ed7, #1769d1 );
    box-shadow: 0 12px 25px rgba(11,94,215,.24);
    transition: all .25s ease;
}


    .update-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(11,94,215,.30);
    }


    .update-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
        box-shadow: none;
    }


/* =========================================================
       LOGIN LINK
    ========================================================= */

.login-back {
    text-align: center;
    margin-top: 18px;
    color: #98a2b3;
    font-size: 12px;
}


    .login-back a {
        color: #0b5ed7;
        font-weight: 700;
        text-decoration: none;
    }


        .login-back a:hover {
            text-decoration: underline;
        }


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 991px) {

    .change-left {
        width: 50%;
        padding: 40px 30px;
    }

    .change-right {
        width: 50%;
        padding: 40px 30px;
    }

    .change-brand-title {
        font-size: 34px;
    }

    .change-feature-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .change-page {
        padding: 20px 15px;
    }

    .change-main-card {
        display: block;
        max-width: 500px;
        border-radius: 22px;
    }

    .change-left,
    .change-right {
        width: 100%;
    }

    .change-left {
        padding: 35px 28px;
        text-align: center;
    }

    .change-logo-box {
        margin-left: auto;
        margin-right: auto;
    }

    .change-brand-title {
        font-size: 30px;
    }

    .change-description {
        font-size: 14px;
    }

    .change-feature-grid {
        text-align: left;
    }

    .change-right {
        padding: 40px 28px;
    }

    .change-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .change-title,
    .change-subtitle {
        text-align: center;
    }
}


@media (max-width: 400px) {

    .change-brand-title {
        font-size: 26px;
    }

    .change-right {
        padding: 32px 20px;
    }

    .employee-otp {
        flex-wrap: wrap;
    }

    .otp-btn {
        flex: 1;
    }
}



