
/* =====================================================
   TEAMTRACK BOOK KEEPING
   MODERN ERP LOGIN - VERSION 1
   ===================================================== */

body[data-path="login"] {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    color: #171923 !important;
    background: #f3f5fc !important;
}

body[data-path="login"] .navbar,
body[data-path="login"] .web-footer {
    display: none !important;
}

body[data-path="login"] #page-login {
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    background: #f3f5fc !important;
}

body[data-path="login"] .page-content-wrapper,
body[data-path="login"] main.container,
body[data-path="login"] .page_content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* MAIN LAYOUT */

body[data-path="login"] .teamtrack-login-layout {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 43% 57%;
    overflow: hidden;
}

/* =====================================================
   LEFT SHOWCASE
   ===================================================== */

.teamtrack-showcase {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;

    background:
        radial-gradient(ellipse at 20% 15%, #ed3045 0%, transparent 38%),
        linear-gradient(145deg, #b60026 0%, #87001c 48%, #4e0015 100%);
}

/* Curved decorative background */

.teamtrack-showcase::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 850px;
    height: 1050px;
    top: -330px;
    right: -610px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.12),
        rgba(255,255,255,.015)
    );
    border: 1px solid rgba(255,255,255,.12);
}

.teamtrack-showcase::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 750px;
    height: 750px;
    bottom: -510px;
    left: -300px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.teamtrack-showcase-decoration {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.decoration-one {
    width: 550px;
    height: 550px;
    top: -390px;
    left: -260px;
    background: rgba(255,255,255,.055);
}

.decoration-two {
    width: 650px;
    height: 650px;
    bottom: -480px;
    right: -360px;
    background: rgba(0,0,0,.09);
}

.teamtrack-showcase-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    padding: 45px 45px;
}

/* =====================================================
   FINANCIAL ILLUSTRATION
   ===================================================== */

.teamtrack-visual {
    position: relative;
    height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Laptop */

.teamtrack-laptop {
    position: relative;
    width: 285px;
    height: 195px;
    padding: 10px;
    border-radius: 14px 14px 7px 7px;
    background: linear-gradient(145deg, #e6eaf4, #a9b3c7);
    transform: rotate(-5deg);
    box-shadow: 0 25px 45px rgba(0,0,0,.35);
    z-index: 3;
}

.laptop-camera {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #303447;
    top: 3px;
    left: 50%;
}

.teamtrack-laptop-screen {
    height: 100%;
    padding: 10px;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    color: #252b3a;
}

.laptop-base {
    position: absolute;
    bottom: -10px;
    left: -17px;
    width: 318px;
    height: 12px;
    border-radius: 2px 2px 12px 12px;
    background: linear-gradient(#e8ebf3, #8995aa);
    box-shadow: 0 9px 14px rgba(0,0,0,.2);
}

.teamtrack-screen-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .6px;
    margin-bottom: 14px;
}

.teamtrack-screen-header > span:last-child {
    margin-left: 8px;
}

.screen-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ee4657;
}

.screen-dashboard {
    display: flex;
    gap: 9px;
    height: 130px;
}

.screen-sidebar {
    width: 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 4px;
    background: #f1f3f9;
}

.screen-sidebar span {
    height: 5px;
    background: #c5cadd;
    border-radius: 4px;
}

.screen-main {
    flex: 1;
    min-width: 0;
}

.screen-summary {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.screen-summary div {
    height: 19px;
    flex: 1;
    background: #f2f3f8;
    border-radius: 3px;
}

.teamtrack-chart {
    height: 73px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 7px;
    border-bottom: 1px solid #dce1ed;
}

.teamtrack-chart span {
    width: 17px;
    background: linear-gradient(#f15a67, #bb0023);
    border-radius: 3px 3px 0 0;
}

.screen-chart-footer {
    font-size: 8px;
    color: #8991a2;
    margin-top: 5px;
}

/* Plant */

.teamtrack-plant {
    position: absolute;
    left: -5px;
    top: 100px;
    width: 75px;
    height: 110px;
    z-index: 2;
}

.plant-leaf {
    position: absolute;
    width: 27px;
    height: 44px;
    background: linear-gradient(140deg, #56d48a, #087b42);
    border-radius: 100% 0 100% 0;
    transform-origin: bottom;
}

.leaf-one {
    left: 10px;
    top: 2px;
    transform: rotate(-42deg);
}

.leaf-two {
    right: 2px;
    top: 0;
    transform: rotate(42deg) scaleX(-1);
}

.leaf-three {
    left: 23px;
    top: -15px;
    transform: rotate(0deg);
}

.plant-pot {
    position: absolute;
    bottom: 0;
    left: 17px;
    width: 45px;
    height: 42px;
    background: linear-gradient(90deg, #d6d9e4, #fff, #aeb5c5);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    border-radius: 4px;
}

/* Coins */

.teamtrack-coins {
    position: absolute;
    left: 35px;
    bottom: 12px;
    z-index: 5;
    width: 85px;
    height: 65px;
}

.coin {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 23px;
    border-radius: 50%;
    background: linear-gradient(#ffdf76, #d98a0d);
    border-bottom: 6px solid #a95b06;
    color: #9d5200;
    font-weight: 900;
    box-shadow: 0 4px 5px rgba(0,0,0,.2);
}

.coin-one {
    bottom: 14px;
    left: 0;
}

.coin-two {
    bottom: 0;
    left: 32px;
}

/* Calculator */

.teamtrack-calculator {
    position: absolute;
    right: 4px;
    bottom: 0;
    z-index: 5;
    width: 65px;
    height: 85px;
    padding: 9px 6px;
    background: linear-gradient(145deg, #41495a, #151a25);
    border: 3px solid #8993a5;
    border-radius: 9px;
    transform: rotate(8deg);
    box-shadow: 0 9px 18px rgba(0,0,0,.3);
}

.calculator-display {
    height: 18px;
    background: #c5e5e4;
    border-radius: 3px;
    margin-bottom: 8px;
}

.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.calculator-buttons span {
    height: 8px;
    background: #d7dce7;
    border-radius: 2px;
}

/* =====================================================
   FEATURES
   ===================================================== */

.teamtrack-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
}

.teamtrack-feature {
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.055);
    border-radius: 13px;
    transition: all .25s ease;
}

.teamtrack-feature:hover {
    background: rgba(255,255,255,.15);
    transform: translateX(5px);
}

.feature-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(145deg, #ff5360, #d80027);
    color: white;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.teamtrack-feature strong {
    font-size: 15px;
    font-weight: 650;
    color: white;
}

.teamtrack-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,.75);
}

.teamtrack-showcase-footer span {
    width: 25px;
    height: 1px;
    background: rgba(255,255,255,.4);
}

/* =====================================================
   RIGHT LOGIN PANEL
   ===================================================== */

.teamtrack-login-right {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 80% 10%, #ffffff 0%, transparent 50%),
        linear-gradient(135deg, #f1f2fb, #e9ecf8 55%, #f8f9ff);
}

.teamtrack-login-right::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(164,174,207,.18);
    border-radius: 50%;
    right: -450px;
    top: -180px;
}

.teamtrack-login-right::after {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(164,174,207,.18);
    border-radius: 50%;
    left: -350px;
    bottom: -350px;
}

.teamtrack-login-background-decoration {
    position: absolute;
    right: 5%;
    top: 20%;
    opacity: .13;
    pointer-events: none;
}

.background-chart {
    height: 130px;
    display: flex;
    align-items: end;
    gap: 12px;
}

.background-chart span {
    width: 30px;
    background: #7481b3;
    border-radius: 4px 4px 0 0;
}

.background-chart span:nth-child(1) { height: 35px; }
.background-chart span:nth-child(2) { height: 65px; }
.background-chart span:nth-child(3) { height: 95px; }
.background-chart span:nth-child(4) { height: 125px; }

/* =====================================================
   LOGIN WRAPPER
   ===================================================== */

body[data-path="login"] .for-login {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 690px;
    margin: auto !important;
    padding: 0 !important;
}

.teamtrack-auth-card {
    width: 100%;
    padding: 28px 55px 40px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 40px;
    background: rgba(255,255,255,.79);
    box-shadow:
        0 25px 65px rgba(52,64,105,.11),
        inset 0 1px 1px rgba(255,255,255,.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* =====================================================
   BRANDING
   ===================================================== */

body[data-path="login"] .teamtrack-login-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 0 27px !important;
    padding: 0 !important;
}

.teamtrack-logo-mark {
    width: 83px;
    height: 83px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(145deg, #ff202e, #a9001e);
    color: #fff;
    font-size: 34px;
    font-style: italic;
    font-weight: 950;
    letter-spacing: -4px;
    box-shadow: 0 10px 23px rgba(180,0,30,.22);
    margin-bottom: 10px;
    transform: rotate(-2deg);
}

.teamtrack-brand-name {
    font-size: 43px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    color: #101217;
}

.teamtrack-brand-name span:last-child {
    color: #c40022;
}

.teamtrack-brand-subtitle {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 7px;
    color: #9f001d;
}

body[data-path="login"] .teamtrack-login-head h4 {
    margin: 29px 0 5px !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    color: #151925 !important;
}

.teamtrack-login-description {
    margin: 0 !important;
    font-size: 16px !important;
    color: #81899d !important;
}

/* =====================================================
   LOGIN CARD
   ===================================================== */

body[data-path="login"] .login-content.page-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-path="login"] .page-card-body {
    padding: 0 !important;
}

body[data-path="login"] .form-group {
    margin-bottom: 14px !important;
}

body[data-path="login"] .email-field,
body[data-path="login"] .password-field {
    position: relative;
}

body[data-path="login"] .for-login .form-control {
    width: 100% !important;
    height: 58px !important;
    padding: 12px 48px 12px 54px !important;
    border: 1px solid #dce1ed !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.82) !important;
    color: #171923 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 3px 8px rgba(25,35,65,.045) !important;
    transition: .2s ease !important;
}

body[data-path="login"] .for-login .form-control:focus {
    border-color: #d20b2c !important;
    box-shadow: 0 0 0 3px rgba(210,11,44,.10) !important;
    outline: none !important;
}

body[data-path="login"] .field-icon {
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: #788197;
    pointer-events: none;
    z-index: 2;
}

body[data-path="login"] .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #747d91 !important;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
}

/* Forgot password */

body[data-path="login"] .forgot-password-message {
    text-align: right !important;
    margin: 12px 0 22px !important;
}

body[data-path="login"] .forgot-password-message a {
    color: #bd001e !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

body[data-path="login"] .forgot-password-message a:hover {
    text-decoration: underline !important;
}

/* =====================================================
   LOGIN BUTTON
   ===================================================== */

body[data-path="login"] .for-login .btn-login {
    width: 100% !important;
    min-height: 59px !important;
    border: none !important;
    border-radius: 15px !important;
    background: linear-gradient(110deg, #f21b2d, #b40020) !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(190,0,30,.20) !important;
    transition: all .2s ease !important;
}

body[data-path="login"] .for-login .btn-login:hover {
    background: linear-gradient(110deg, #dc1026, #940018) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 23px rgba(190,0,30,.25) !important;
}

.tt-login-arrow {
    margin-right: 10px;
    font-size: 24px;
    vertical-align: -1px;
}

/* =====================================================
   EMAIL LINK & SOCIAL LOGIN
   ===================================================== */

body[data-path="login"] .login-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 23px 0 !important;
    color: #858da0 !important;
    font-size: 14px !important;
}

body[data-path="login"] .login-divider span {
    height: 1px;
    flex: 1;
    background: #d4d9e7;
}

body[data-path="login"] .btn-login-option {
    width: 100%;
    min-height: 56px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
    border: 1px solid #dce1ed !important;
    background: rgba(255,255,255,.75) !important;
    color: #242a38 !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 7px rgba(20,30,50,.04) !important;
}

body[data-path="login"] .btn-login-option:hover {
    border-color: #c30022 !important;
    background: #fff !important;
}

.email-link-icon {
    margin-right: 12px;
    font-size: 23px;
}

/* Sign up */

body[data-path="login"] .sign-up-message {
    margin-top: 20px !important;
    font-size: 13px !important;
    color: #858da0 !important;
}

body[data-path="login"] .sign-up-message a {
    color: #b90021 !important;
    font-weight: 700 !important;
}

/* Other login screens */

body[data-path="login"] .for-forgot,
body[data-path="login"] .for-signup,
body[data-path="login"] .for-email-login,
body[data-path="login"] .for-login-with-email-link {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

body[data-path="login"] .for-forgot .form-control,
body[data-path="login"] .for-login-with-email-link .form-control {
    height: 56px !important;
    border-radius: 13px !important;
}

body[data-path="login"] .for-forgot .btn,
body[data-path="login"] .for-login-with-email-link .btn {
    min-height: 52px;
    border-radius: 13px !important;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */

@media (max-width: 1100px) {

    body[data-path="login"] .teamtrack-login-layout {
        grid-template-columns: 40% 60%;
    }

    .teamtrack-showcase-content {
        padding: 30px 22px;
    }

    .teamtrack-visual {
        transform: scale(.85);
        margin-left: -15px;
        margin-right: -15px;
    }

    .teamtrack-auth-card {
        padding: 28px 35px 35px;
        border-radius: 30px;
    }

    body[data-path="login"] .teamtrack-login-head h4 {
        font-size: 31px !important;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */

@media (max-width: 767px) {

    body[data-path="login"] .teamtrack-login-layout {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh;
        overflow: visible;
    }

    .teamtrack-showcase {
        min-height: auto;
        height: auto;
        padding: 24px 15px 27px;
    }

    .teamtrack-showcase-content {
        max-width: 500px;
        padding: 0;
    }

    .teamtrack-visual {
        height: 150px;
        transform: scale(.62);
        transform-origin: center center;
        margin: -15px 0 -10px;
    }

    .teamtrack-laptop {
        width: 260px;
    }

    .teamtrack-plant {
        left: 15px;
    }

    .teamtrack-coins {
        left: 40px;
    }

    .teamtrack-calculator {
        right: 15px;
    }

    .teamtrack-features {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 9px;
        padding: 8px 2px;
        scrollbar-width: none;
    }

    .teamtrack-features::-webkit-scrollbar {
        display: none;
    }

    .teamtrack-feature {
        min-width: 165px;
        min-height: 43px;
        padding: 5px 8px;
        gap: 8px;
    }

    .teamtrack-feature strong {
        font-size: 12px;
        white-space: nowrap;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .teamtrack-showcase-footer {
        margin-top: 12px;
        font-size: 9px;
    }

    .teamtrack-login-right {
        min-height: 650px;
        padding: 30px 17px;
    }

    body[data-path="login"] .for-login {
        max-width: 480px;
    }

    .teamtrack-auth-card {
        padding: 28px 23px 32px;
        border-radius: 27px;
    }

    .teamtrack-logo-mark {
        width: 66px;
        height: 66px;
        font-size: 28px;
    }

    .teamtrack-brand-name {
        font-size: 34px;
    }

    .teamtrack-brand-subtitle {
        font-size: 11px;
        letter-spacing: 5px;
    }

    body[data-path="login"] .teamtrack-login-head h4 {
        font-size: 28px !important;
        margin-top: 22px !important;
    }

    .teamtrack-login-description {
        font-size: 14px !important;
    }

    body[data-path="login"] .for-login .form-control {
        height: 54px !important;
        font-size: 14px !important;
    }

    body[data-path="login"] .for-login .btn-login {
        min-height: 54px !important;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {

    .teamtrack-auth-card {
        padding: 24px 17px 27px;
    }

    .teamtrack-brand-name {
        font-size: 30px;
    }

    .teamtrack-feature {
        min-width: 150px;
    }

    .teamtrack-login-right {
        padding: 22px 12px;
    }
}

/* =========================================
   TEAMTRACK LOGIN FIELD ALIGNMENT V1
   ========================================= */

body[data-path="login"] .email-field,
body[data-path="login"] .password-field {
    position: relative !important;
}

/* Email and Password Icons */

body[data-path="login"] .email-field .field-icon,
body[data-path="login"] .password-field .field-icon {
    position: absolute !important;
    top: 50% !important;
    left: 18px !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    color: #64748b !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

/* Email Input */

body[data-path="login"] #login_email {
    padding-left: 52px !important;
    padding-right: 16px !important;
}

/* Password Input */

body[data-path="login"] #login_password {
    padding-left: 52px !important;
    padding-right: 85px !important;
}

/* Password Show / Hide */

body[data-path="login"] .password-field .toggle-password {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #64748b !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: color 0.2s ease !important;
}

body[data-path="login"] .password-field .toggle-password:hover {
    color: #e60012 !important;
}

/* END TEAMTRACK LOGIN FIELD ALIGNMENT V1 */
