﻿/* =========================================================
   SKILLIOX CBT LOGIN PAGE
   Modern Light Blue / Purple Theme
========================================================= */

:root {
    --primary: #2166f3;
    --primary-dark: #173f91;
    --secondary: #7554f6;
    --purple: #9b55f6;
    --cyan: #43b8ff;
    --orange: #ff826e;
    --text-dark: #142b57;
    --text: #52698f;
    --text-light: #8292ad;
    --bg: #f7faff;
    --white: #ffffff;
    --border: #dce6f7;
    --shadow-sm: 0 8px 25px rgba(35, 91, 170, 0.07);
    --shadow-md: 0 20px 50px rgba(43, 92, 170, 0.12);
    --shadow-lg: 0 25px 70px rgba(39, 79, 150, 0.17);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text-dark);
}


/* =========================================================
   MAIN PAGE
========================================================= */
.auth-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 255, 0.84) 45%, rgba(235, 242, 255, 0.72) 100% ), url('/Images/check2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* =========================================================
   BACKGROUND SHAPES
========================================================= */

.bg-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px);
}

.bg-shape-one {
    width: 430px;
    height: 430px;
    right: -180px;
    top: -130px;
    background: linear-gradient( 135deg, rgba(74, 128, 245, 0.13), rgba(143, 100, 250, 0.04) );
}

.bg-shape-two {
    width: 360px;
    height: 360px;
    left: -190px;
    bottom: -170px;
    background: radial-gradient( circle, rgba(85, 137, 255, 0.08), transparent 68% );
}

.bg-shape-three {
    width: 250px;
    height: 250px;
    right: 37%;
    bottom: -150px;
    background: radial-gradient( circle, rgba(255, 136, 120, 0.08), transparent 70% );
}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.bg-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    opacity: .18;
    background-image: linear-gradient( rgba(83, 129, 220, .08) 1px, transparent 1px ), linear-gradient( 90deg, rgba(83, 129, 220, .08) 1px, transparent 1px );
    background-size: 38px 38px;
    mask-image: linear-gradient( to left, black, transparent );
    pointer-events: none;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.auth-container {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: calc(100vh - 55px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
    gap: 35px;
    padding: 24px 42px 30px;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.auth-left {
    position: relative;
    min-width: 0;
    padding-right: 15px;
}


/* =========================================================
   BRAND
========================================================= */

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(214,226,247,.95);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(37, 84, 150, .07);
    backdrop-filter: blur(12px);
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.brand-content h4 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-dark);
}

    .brand-content h4 span {
        color: var(--primary);
    }

.brand-content p {
    margin: 3px 0 0;
    font-size: 10px;
    color: #71819e;
    font-weight: 500;
}

.brand-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.brand-dot {
    margin: 0 4px;
    color: #aab8cf;
}


/* =========================================================
   HERO
========================================================= */

.hero-content {
    margin-top: 42px;
    max-width: 760px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient( 135deg, #2475f5, #7653ef );
    box-shadow: 0 7px 18px rgba(57,105,235,.22);
}

.auth-heading {
    margin: 13px 0 7px;
    font-family: "Poppins", sans-serif;
    font-size: clamp( 38px, 4vw, 60px );
    line-height: 1.05;
    letter-spacing: -1.8px;
    font-weight: 800;
    color: #142d5e;
}

.heading-gradient {
    display: block;
    background: linear-gradient( 90deg, #347af5, #6e66ef, #b25cf0 );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtext {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #617597;
    font-weight: 500;
}

.heading-line {
    width: 65px;
    height: 3px;
    margin-top: 16px;
    border-radius: 10px;
    background: linear-gradient( 90deg, var(--primary), var(--purple) );
}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list {
    width: 100%;
    max-width: 720px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 102px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(215,226,245,.9);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(40,88,160,.12);
        border-color: rgba(81,126,226,.25);
    }


/* =========================================================
   FEATURE ICON
========================================================= */

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
    background: #f2f6ff;
}

    .feature-icon.blue {
        color: #3478f6;
        box-shadow: inset 0 0 0 1px #dce8ff;
    }

    .feature-icon.purple {
        color: #7656ee;
        box-shadow: inset 0 0 0 1px #e6deff;
    }

    .feature-icon.cyan {
        color: #35aee9;
        box-shadow: inset 0 0 0 1px #d6f1ff;
    }

    .feature-icon.orange {
        color: #f57c6d;
        box-shadow: inset 0 0 0 1px #ffe0dc;
    }


/* =========================================================
   FEATURE CONTENT
========================================================= */

.feature-content h6 {
    margin: 0 0 5px;
    color: #1a315b;
    font-size: 12px;
    font-weight: 800;
}

.feature-content p {
    margin: 0;
    color: #7283a0;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 500;
}


/* =========================================================
   LAPTOP ILLUSTRATION
========================================================= */

.laptop-illustration {
    position: absolute;
    left: 38%;
    bottom: 8px;
    width: 340px;
    opacity: .78;
    transform: rotate(-4deg);
}

.laptop-screen {
    width: 270px;
    height: 170px;
    margin: auto;
    padding: 9px;
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient( 145deg, #eaf2ff, #ffffff );
    border: 5px solid #cbd9ef;
    box-shadow: 0 20px 35px rgba(51,90,151,.15);
}

.screen-top {
    display: flex;
    gap: 4px;
    padding-bottom: 8px;
}

    .screen-top span {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #9eb7e3;
    }

.screen-content {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px;
    border-radius: 5px;
    background: white;
}

.chart-bars {
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

    .chart-bars span {
        width: 12px;
        border-radius: 4px 4px 1px 1px;
        background: linear-gradient( to top, #397af4, #9d72f5 );
    }

.chart-circle {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: conic-gradient( #7657ef 0 82%, #e8edf8 82% 100% );
}

    .chart-circle div {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: white;
        font-size: 11px;
        font-weight: 800;
        color: #294c88;
    }

.laptop-base {
    width: 340px;
    height: 12px;
    margin: -1px auto 0;
    border-radius: 0 0 15px 15px;
    background: linear-gradient( 180deg, #cbd8eb, #e8eef8 );
    box-shadow: 0 8px 15px rgba(48,86,142,.15);
}


/* =========================================================
   PROTECTED CHIP
========================================================= */

.floating-chip {
    position: absolute;
    left: 42px;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 10px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient( 135deg, #1d5fd7, #7954f0 );
    box-shadow: 0 12px 28px rgba(49,93,205,.2);
}

.chip-icon {
    display: flex;
    align-items: center;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.glass-card {
    width: 100%;
    max-width: 440px;
    padding: 15px 30px;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(218,228,245,.9);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}


/* =========================================================
   LOGIN LOGO
========================================================= */

.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

    .login-brand img {
        width: 245px;
       /* height: auto;*/
       /* max-height: 75px;*/
        object-fit: contain;
    }


/* =========================================================
   LOGIN TITLE
========================================================= */

.login-title {
    margin: 5px 0 5px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: #172f5d;
}

.glass-subtext {
    margin: 0 0 20px;
    text-align: center;
    color: #7b8ba6;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    width: 100%;
}

.form-group-glass {
    margin-bottom: 15px;
}

    .form-group-glass label {
        display: block;
        margin-bottom: 7px;
        color: #1b315a;
        font-size: 11px;
        font-weight: 700;
    }


/* =========================================================
   INPUT
========================================================= */

.input-icon-wrap {
    position: relative;
}

    .input-icon-wrap > i:first-child {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        color: #8fa1bd;
        font-size: 13px;
    }

.form-control-glass {
    width: 100%;
    height: 50px;
    padding: 0 42px;
    border: 1px solid #d6e2f4;
    border-radius: 11px;
    background: #f8faff;
    color: #253b60;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    outline: none;
    transition: all .2s ease;
}

    .form-control-glass::placeholder {
        color: #9aa9bf;
    }

    .form-control-glass:focus {
        background: white;
        border-color: #5d87ef;
        box-shadow: 0 0 0 4px rgba(72,119,236,.08);
    }


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #91a1ba;
    cursor: pointer;
    z-index: 3;
}


/* =========================================================
   OPTIONS
========================================================= */

.form-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 0 18px;
}

.remember-me-check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #71829f;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
}

    .remember-me-check input {
        width: 13px;
        height: 13px;
        margin: 0;
        accent-color: var(--primary);
    }

.forgot-link {
    color: #396cf2;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease;
}

    .forgot-link:hover {
        color: #6849df;
        text-decoration: underline;
    }


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.btn-signin {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient( 100deg, #216cf4 0%, #4e6ff0 50%, #8354ed 100% );
    box-shadow: 0 12px 25px rgba(62,101,224,.23);
    transition: all .25s ease;
}

    .btn-signin:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(62,101,224,.3);
    }

    .btn-signin:active {
        transform: translateY(0);
    }

    .btn-signin i {
        font-size: 13px;
    }


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 17px 0;
}

    .auth-divider span {
        flex: 1;
        height: 1px;
        background: #e2e8f3;
    }

    .auth-divider label {
        margin: 0;
        color: #98a6bc;
        font-size: 9px;
        font-weight: 700;
    }


/* =========================================================
   ROLE BUTTONS
========================================================= */

.auth-role-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-role-btn {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #dbe5f5;
    border-radius: 11px;
    background: white;
    color: #24385c;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: all .2s ease;
}

    .auth-role-btn:hover {
        color: #1f55c7;
        text-decoration: none;
        border-color: #b9caf0;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(48,90,159,.08);
    }

    .auth-role-btn strong {
        display: block;
        font-weight: 800;
    }

.auth-role-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    color: white;
}

    .auth-role-icon.company {
        background: linear-gradient( 135deg, #397af5, #6c58ed );
    }

    .auth-role-icon.candidate {
        background: linear-gradient( 135deg, #f06f67, #f3a076 );
    }


/* =========================================================
   SECURITY NOTE
========================================================= */

.secure-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 11px 12px;
    border: 1px solid #d9e7fb;
    border-radius: 10px;
    background: #f3f8ff;
}

.secure-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #3273ee;
    background: #e7f0ff;
    font-size: 14px;
}

.secure-note strong {
    display: block;
    margin-bottom: 3px;
    color: #2455ad;
    font-size: 9px;
    font-weight: 800;
}

.secure-note span {
    display: block;
    color: #8292aa;
    font-size: 8px;
    line-height: 1.4;
}


/* =========================================================
   FOOTER
========================================================= */

.auth-footer {
    position: relative;
    z-index: 20;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 42px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid #dfe7f4;
    box-shadow: 0 -5px 20px rgba(37,74,132,.03);
}


/* =========================================================
   FOOTER LEFT
========================================================= */

.footer-badges {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .footer-badges span {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #647695;
        font-size: 9px;
        font-weight: 500;
        white-space: nowrap;
    }

    .footer-badges i {
        color: #3476ec;
        font-size: 10px;
    }


/* =========================================================
   FOOTER RIGHT
========================================================= */

.footer-right {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 7px;
}

    .footer-brand span {
        color: #8593a9;
        font-size: 8px;
    }

.footer-brand-logo {
    width: 82px;
    max-height: 28px;
    object-fit: contain;
}

.footer-divider {
    color: #c8d1df;
    font-size: 11px;
}

.footer-right p {
    margin: 0;
    color: #8492a8;
    font-size: 8px;
    white-space: nowrap;
}


/* =========================================================
   FORGOT PASSWORD MODAL
========================================================= */

.modal-glass {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18,42,83,.25);
    backdrop-filter: blur(8px);
}

.modal-glass-dialog {
    width: 100%;
    max-width: 430px;
}

.glass-modal {
    position: relative;
    padding: 28px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 30px 70px rgba(30,60,120,.22);
}

.glass-modal-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 14px;
    color: #3774ee;
    background: #edf4ff;
    font-size: 19px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: #8291a8;
    background: #f4f7fb;
    cursor: pointer;
}

.modal-body {
    padding: 0;
}

    .modal-body h5 {
        margin: 0 0 5px;
        text-align: center;
        color: #182f59;
        font-family: "Poppins", sans-serif;
        font-size: 21px;
        font-weight: 800;
    }

    .modal-body .glass-subtext {
        margin-bottom: 22px;
    }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 0 0;
    border: 0;
}

.btn-modal-secondary,
.btn-modal-primary {
    min-width: 85px;
    height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.btn-modal-secondary {
    color: #52627d;
    border: 1px solid #d9e2ef;
    background: white;
}

.btn-modal-primary {
    color: white;
    border: 0;
    background: linear-gradient( 100deg, #2471f3, #7554ed );
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1100px) {

    .auth-container {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr);
        padding: 20px 25px 25px;
        gap: 20px;
    }

    .auth-heading {
        font-size: 44px;
    }

    .feature-list {
        max-width: 620px;
    }

    .laptop-illustration {
        left: 40%;
        transform: scale(.8) rotate(-4deg);
        transform-origin: left bottom;
    }

    .auth-footer {
        padding: 8px 25px;
    }
}


/* =========================================================
   RESPONSIVE - 900
========================================================= */

@media (max-width: 900px) {

    .auth-container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px 20px 35px;
    }

    .auth-left {
        padding-right: 0;
    }

    .hero-content {
        max-width: 700px;
        margin-top: 30px;
    }

    .auth-heading {
        font-size: 46px;
    }

    .auth-right {
        padding: 10px 0;
    }

    .glass-card {
        max-width: 480px;
    }

    .laptop-illustration {
        display: none;
    }

    .floating-chip {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 25px;
    }

    .auth-footer {
        flex-direction: column;
        justify-content: center;
        padding: 15px 20px;
        gap: 10px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .auth-container {
        padding: 15px 14px 25px;
    }

    .auth-brand {
        width: 100%;
        max-width: 310px;
        padding: 8px 12px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-content h4 {
        font-size: 15px;
    }

    .brand-content p {
        font-size: 8px;
    }

    .hero-content {
        margin-top: 25px;
    }

    .auth-heading {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .auth-subtext {
        font-size: 12px;
    }

    .feature-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card {
        min-height: 85px;
    }

    .auth-right {
        padding: 5px 0;
    }

    .glass-card {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .login-brand img {
        width: 155px;
    }

    .login-title {
        font-size: 22px;
    }

    .auth-role-switch {
        grid-template-columns: 1fr;
    }

    .auth-role-btn {
        min-height: 54px;
    }

    .form-options-row {
        gap: 10px;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

        .footer-right p {
            white-space: normal;
            text-align: center;
        }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .auth-heading {
        font-size: 29px;
    }

    .badge-pill {
        font-size: 10px;
        padding: 5px 12px;
    }

    .glass-card {
        padding: 22px 16px;
    }

    .form-control-glass {
        height: 46px;
    }

    .btn-signin {
        height: 47px;
    }

    .footer-badges span {
        font-size: 8px;
    }
}
