/* =========================================================
   SKL HRMS LOGIN
   Modern Enterprise UI
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary: #1268e8;
    --primary-dark: #0954c7;
    --text: #12213a;
    --muted: #64748b;
    --border: #dce5f0;
    --bg: #f4f8fd;
}


html,
body {
    width: 100%;
    height: 100%;
}


body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}


/* =========================================================
   MAIN
========================================================= */

.hrms-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 56% 44%;
}


/* =========================================================
   LEFT SHOWCASE
========================================================= */

.login-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(5, 37, 82, .98),
            rgba(10, 85, 176, .92)
        );
}


.login-showcase::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(67, 160, 255, .42),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 90%,
            rgba(0, 185, 255, .20),
            transparent 30%
        );
}


.showcase-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 26, 58, .12),
            rgba(2, 27, 62, .45)
        );
}


/* Decorative grid */

.login-showcase::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* =========================================================
   SHOWCASE CONTENT
========================================================= */

.showcase-content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 850px;

    min-height: 100vh;

    padding: 55px 70px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   BRAND
========================================================= */

.brand img {
    width: 190px;
    max-width: 100%;
    height: auto;

    display: block;

    filter:
        brightness(0)
        invert(1);
}


/* =========================================================
   HEADING
========================================================= */

.showcase-heading {
    margin-top: 105px;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255,255,255,.68);
}


.showcase-heading h1 {
    font-size: clamp(48px, 5vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

    color: white;
}


.showcase-heading h1 span {
    color: #4fa0ff;
}


.showcase-heading p {
    max-width: 570px;

    margin-top: 28px;

    font-size: 18px;
    line-height: 1.7;

    color: rgba(255,255,255,.75);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    margin-top: 58px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(150px, 1fr));

    gap: 24px 18px;

    max-width: 650px;
}


.feature-item {
    display: flex;
    align-items: center;

    gap: 13px;

    color: white;
}


.feature-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.16);

    backdrop-filter: blur(12px);
}


.feature-icon svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: #8bc2ff;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.feature-item strong,
.feature-item span {
    display: block;
}


.feature-item strong {
    font-size: 13px;
    font-weight: 600;
}


.feature-item span {
    margin-top: 4px;

    font-size: 12px;

    color: rgba(255,255,255,.55);
}


/* =========================================================
   QUOTE
========================================================= */

.quote-card {
    position: absolute;

    right: 65px;
    bottom: 135px;

    width: 235px;

    padding: 25px;

    border-radius: 22px;

    background: rgba(255,255,255,.11);

    border: 1px solid rgba(255,255,255,.18);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.15);
}


.quote-mark {
    font-size: 45px;
    line-height: 25px;

    color: #64adff;
}


.quote-card p {
    margin-top: 10px;

    font-size: 15px;
    line-height: 1.55;

    color: white;
}


.quote-card span {
    display: block;

    margin-top: 14px;

    font-size: 11px;

    color: rgba(255,255,255,.55);
}


/* =========================================================
   BOTTOM
========================================================= */

.showcase-bottom {
    margin-top: auto;

    display: flex;
    align-items: center;

    gap: 16px;

    font-size: 11px;

    color: rgba(255,255,255,.45);

    letter-spacing: .5px;
}


.bottom-line {
    width: 42px;
    height: 2px;

    background: #3f99ff;

    border-radius: 20px;
}


/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);

    z-index: 1;
}


.circle-one {
    width: 500px;
    height: 500px;

    right: -240px;
    top: -180px;
}


.circle-two {
    width: 350px;
    height: 350px;

    left: -190px;
    bottom: -170px;
}


.shape {
    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -150px;

    background: rgba(67,160,255,.15);

    filter: blur(3px);

    transform: rotate(35deg);
}


/* =========================================================
   RIGHT LOGIN SECTION
========================================================= */

.login-section {
    position: relative;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(18,104,232,.07),
            transparent 28%
        ),
        #f8fbff;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   TOP
========================================================= */

.login-top {
    padding: 28px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.version {
    font-size: 11px;

    color: #94a3b8;

    font-weight: 600;

    letter-spacing: .5px;
}


.language {
    border: 0;

    background: transparent;

    color: #50627d;

    font-family: inherit;

    font-size: 13px;

    display: flex;
    align-items: center;

    gap: 8px;

    cursor: pointer;
}


/* =========================================================
   LOGIN WRAPPER
========================================================= */

.login-wrapper {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px 45px 50px;
}


.login-card {
    width: 100%;
    max-width: 520px;

    padding: 52px 52px 45px;

    background: rgba(255,255,255,.92);

    border: 1px solid rgba(220,229,240,.9);

    border-radius: 28px;

    box-shadow:
        0 30px 80px rgba(24,54,93,.10),
        0 5px 20px rgba(24,54,93,.04);

    backdrop-filter: blur(20px);
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.welcome-label {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #1268e8;

    margin-bottom: 12px;
}


.login-card h2 {
    font-size: 34px;

    line-height: 1.15;

    letter-spacing: -1px;

    color: #10213b;

    font-weight: 750;
}


.login-subtitle {
    margin-top: 11px;

    font-size: 14px;

    color: #718096;
}


/* =========================================================
   ERROR
========================================================= */

.login-error {
    margin-top: 25px;

    padding: 13px 15px;

    border-radius: 12px;

    display: flex;
    align-items: center;

    gap: 10px;

    background: #fff3f3;

    border: 1px solid #ffd5d5;

    color: #c62828;

    font-size: 13px;
}


.error-icon {
    width: 20px;
    height: 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e53935;

    color: white;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    margin-top: 34px;
}


.form-group {
    margin-bottom: 23px;
}


.form-group label,
.password-header label {
    display: block;

    margin-bottom: 9px;

    color: #192b45;

    font-size: 13px;

    font-weight: 600;
}


.input-wrapper {
    position: relative;
}


.input-wrapper input {
    width: 100%;

    height: 56px;

    padding:
        0 48px
        0 48px;

    border-radius: 13px;

    border: 1px solid #dce5f0;

    outline: none;

    background: #fbfdff;

    color: #182b46;

    font-family: inherit;

    font-size: 14px;

    transition:
        border .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.input-wrapper input::placeholder {
    color: #9aa9bd;
}


.input-wrapper input:focus {
    background: white;

    border-color: #3587ef;

    box-shadow:
        0 0 0 4px rgba(18,104,232,.09);
}


.input-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    pointer-events: none;
}


.input-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: #8091a9;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   PASSWORD
========================================================= */

.password-header {
    display: flex;

    align-items: center;
    justify-content: space-between;
}


.password-header label {
    margin-bottom: 9px;
}


.password-header a {
    font-size: 12px;

    color: #1268e8;

    text-decoration: none;

    font-weight: 600;

    margin-bottom: 9px;
}


.password-header a:hover {
    text-decoration: underline;
}


.password-toggle {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    cursor: pointer;

    padding: 5px;
}


.password-toggle svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: #75869e;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   REMEMBER
========================================================= */

.login-options {
    margin-top: 2px;
}


.remember {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    cursor: pointer;

    color: #5c6d83;

    font-size: 13px;
}


.remember input {
    position: absolute;

    opacity: 0;
}


.checkmark {
    width: 19px;
    height: 19px;

    border-radius: 5px;

    border: 1.5px solid #cbd6e3;

    background: white;

    position: relative;

    transition: .2s;
}


.remember input:checked + .checkmark {
    background: #1268e8;

    border-color: #1268e8;
}


.remember input:checked + .checkmark::after {
    content: "";

    position: absolute;

    left: 6px;
    top: 3px;

    width: 5px;
    height: 9px;

    border: solid white;

    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    margin-top: 27px;

    width: 100%;
    height: 57px;

    border: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            100deg,
            #1268e8,
            #2782f5
        );

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    box-shadow:
        0 10px 25px rgba(18,104,232,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(18,104,232,.28);
}


.login-button:active {
    transform: translateY(0);
}


.button-arrow {
    font-size: 22px;

    line-height: 1;

    transition: transform .2s ease;
}


.login-button:hover .button-arrow {
    transform: translateX(4px);
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 29px 0 20px;
}


.divider span {
    flex: 1;

    height: 1px;

    background: #e1e8f1;
}


.divider strong {
    font-size: 11px;

    color: #9aa8ba;

    font-weight: 600;
}


/* =========================================================
   MICROSOFT
========================================================= */

.microsoft-button {
    width: 100%;

    height: 54px;

    border: 1px solid #dce5ef;

    background: white;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    color: #26364c;

    cursor: pointer;

    transition: .2s;
}


.microsoft-button:hover {
    background: #f8fafc;

    border-color: #c7d5e5;
}


/* Microsoft icon */

.microsoft-logo {
    display: grid;

    grid-template-columns: repeat(2, 9px);

    grid-template-rows: repeat(2, 9px);

    gap: 2px;
}


.microsoft-logo i:nth-child(1) {
    background: #f25022;
}


.microsoft-logo i:nth-child(2) {
    background: #7fba00;
}


.microsoft-logo i:nth-child(3) {
    background: #00a4ef;
}


.microsoft-logo i:nth-child(4) {
    background: #ffb900;
}


/* =========================================================
   HELP
========================================================= */

.help-text {
    margin-top: 28px;

    text-align: center;

    font-size: 12px;

    color: #8492a5;
}


.help-text a {
    color: #1268e8;

    text-decoration: none;

    font-weight: 600;
}


.help-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    padding: 0 45px 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    font-size: 10px;

    color: #98a5b5;
}


.footer-links {
    color: #7d8da1;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .showcase-content {
        padding: 45px;
    }

    .showcase-heading {
        margin-top: 80px;
    }

    .quote-card {
        display: none;
    }

    .login-card {
        padding: 42px;
    }

}


@media (max-width: 950px) {

    .hrms-login {
        grid-template-columns: 1fr;
    }


    .login-showcase {
        display: none;
    }


    .login-section {
        min-height: 100vh;
    }


    .login-wrapper {
        padding: 20px;
    }


    .login-card {
        max-width: 500px;
    }

}


@media (max-width: 600px) {

    .login-top {
        padding: 22px;
    }


    .version {
        display: none;
    }


    .login-wrapper {
        padding:
            10px
            18px
            30px;
    }


    .login-card {
        padding: 35px 24px;

        border-radius: 22px;
    }


    .login-card h2 {
        font-size: 28px;
    }


    .login-subtitle {
        font-size: 13px;
    }


    .login-footer {
        padding:
            0
            20px
            20px;

        justify-content: center;

        text-align: center;
    }


    .footer-links {
        display: none;
    }

}


@media (max-height: 750px) and (min-width: 951px) {

    .showcase-heading {
        margin-top: 55px;
    }


    .feature-grid {
        margin-top: 35px;
    }


    .login-card {
        padding-top: 35px;
        padding-bottom: 30px;
    }

}