
/* TEAMTRACK ERP PREMIUM ANIMATED LOGIN V1 */

body[data-path="login"] {
    background: #fff5f7 !important;
}

body[data-path="login"] .teamtrack-login-layout {
    position: relative;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: 60% 40% !important;
    align-items: center;
    min-height: 100vh;
    padding: 25px 3.5%;
    box-sizing: border-box;
    background:
        radial-gradient(ellipse at 30% 55%, #ffc7d5, transparent 42%),
        radial-gradient(ellipse at 85% 10%, #fff, transparent 55%),
        linear-gradient(135deg,#fff5f8,#f3edf6,#ffe0e8);
    overflow: hidden;
}

/* ANIMATED RED BACKGROUND WAVES */

body[data-path="login"] .teamtrack-login-layout::before,
body[data-path="login"] .teamtrack-login-layout::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    width: 145%;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(
        110deg,#790014,#ff002c,#ff526d,#b00020,#710011
    );
    background-size: 200% 200%;
    box-shadow:
        0 0 0 2px rgba(255,255,255,.9),
        0 0 28px #ff6b89,
        0 0 65px #ff8ca8;
    animation: ttp-wave 9s ease-in-out infinite alternate;
}

body[data-path="login"] .teamtrack-login-layout::before {
    top: -285px;
    left: -30%;
    transform: rotate(-12deg);
}

body[data-path="login"] .teamtrack-login-layout::after {
    bottom: -280px;
    right: -28%;
    transform: rotate(-10deg);
    animation-delay: -4s;
}

@keyframes ttp-wave {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* LEFT SHOWCASE */

.ttp-showcase {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 12px 20px;
    text-align: center;
    box-sizing: border-box;
    animation: ttp-enter .9s ease both;
}

.ttp-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ttp-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(145deg,#ff2037,#b00018);
    color: white;
    font-size: 36px;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -4px;
    box-shadow: 0 12px 28px #dc002e35;
}

.ttp-brand-title {
    font-size: clamp(28px,3.3vw,55px);
    font-weight: 900;
    letter-spacing: -2px;
    color: #111622;
    line-height: 1.1;
}

.ttp-brand-title span,
.ttp-intro h1 span {
    color: #cf001e;
}

.ttp-brand-sub {
    margin-top: 10px;
    font-size: clamp(8px,.8vw,13px);
    font-weight: 800;
    letter-spacing: 3px;
    color: #9e001b;
}

.ttp-intro {
    margin-top: 24px;
}

.ttp-intro h1 {
    font-size: clamp(20px,2vw,34px);
    font-weight: 850;
    letter-spacing: -.8px;
    color: #131823;
    margin: 0 0 8px;
}

.ttp-intro p {
    font-size: clamp(12px,1.15vw,18px);
    color: #68728a;
    font-weight: 600;
    margin: 0;
}

/* FLOATING LAPTOP SCENE */

.ttp-scene {
    position: relative;
    height: clamp(270px,40vh,410px);
    max-width: 780px;
    margin: 12px auto 5px;
    display: grid;
    place-items: center;
}

.ttp-orbit {
    position: absolute;
    width: 82%;
    height: 75%;
    top: 9%;
    border: 2px solid #ffffffbb;
    border-radius: 50%;
    box-shadow:
        0 0 20px #ff829a,
        inset 0 0 20px #ffb5c4;
    animation: ttp-pulse 4s ease-in-out infinite;
}

.ttp-platform {
    position: absolute;
    bottom: 5%;
    width: 74%;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(#fff,#ffc2d0,#ff5e7b);
    border: 3px solid white;
    box-shadow:
        0 12px 30px #ec174b45,
        0 0 28px #ff537c;
}

.ttp-platform-ring {
    position: absolute;
    bottom: 2%;
    width: 85%;
    height: 65px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 20px #ff164d;
    animation: ttp-pulse 3s infinite;
}

.ttp-laptop {
    position: relative;
    width: 55%;
    z-index: 3;
    margin-top: 32px;
    animation: ttp-laptop-float 5s ease-in-out infinite;
}

.ttp-screen {
    aspect-ratio: 1.6;
    padding: 9px;
    border-radius: 14px 14px 5px 5px;
    background: linear-gradient(135deg,#33313b,#160e19,#60505c);
    border: 2px solid #88747c;
    box-shadow: 0 18px 35px #6d173e40;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ttp-screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 9px;
    background: linear-gradient(90deg,#bb001d,#ff3049);
    color: white;
    font-size: clamp(7px,.65vw,11px);
    border-radius: 4px 4px 0 0;
}

.ttp-screen-body {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #fff7fa;
}

.ttp-screen-side {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: #291c32;
    padding: 5px;
    color: #e9dce7;
    font-size: clamp(5px,.5vw,9px);
    text-align: left;
}

.ttp-screen-main {
    width: 75%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ttp-screen-heading {
    font-size: 10px;
    font-weight: 800;
    text-align: left;
    color: #bd0020;
}

.ttp-kpis {
    display: flex;
    gap: 5px;
}

.ttp-kpis i {
    flex: 1;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(135deg,#fff,#f8dce5);
}

.ttp-charts {
    display: flex;
    flex: 1;
    min-height: 45px;
    align-items: center;
    gap: 10px;
}

.ttp-bars {
    display: flex;
    flex: 1;
    height: 100%;
    align-items: flex-end;
    gap: 5px;
    padding: 6px;
    background: white;
    border-radius: 5px;
}

.ttp-bars i {
    display: block;
    flex: 1;
    height: var(--h);
    border-radius: 3px 3px 0 0;
    background: linear-gradient(#ff5067,#c50024);
    transform-origin: bottom;
    animation: ttp-bar 3s ease-in-out infinite alternate;
}

.ttp-bars i:nth-child(2n) {
    animation-delay: -.8s;
}

.ttp-bars i:nth-child(3n) {
    animation-delay: -1.5s;
}

.ttp-donut {
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(
        #c50024 0 65%,#ff8195 65% 85%,#ffe0e8 85%
    );
    position: relative;
    animation: ttp-spin 15s linear infinite;
}

.ttp-donut::after {
    content: "";
    position: absolute;
    inset: 25%;
    border-radius: 50%;
    background: white;
}

.ttp-screen-lines {
    display: flex;
    gap: 6px;
}

.ttp-screen-lines i {
    height: 15px;
    flex: 1;
    border-radius: 4px;
    background: #f1dfe9;
}

.ttp-laptop-base {
    width: 120%;
    height: 19px;
    margin-left: -10%;
    border-radius: 2px 2px 45% 45%;
    background: linear-gradient(
        #d8d1dc,#fff,#958b9c,#d4cbd7
    );
    box-shadow: 0 9px 15px #7e123b35;
}

/* FLOATING MODULE ICONS */

.ttp-float {
    position: absolute;
    z-index: 4;
    width: clamp(40px,4vw,65px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #d50020;
    background: linear-gradient(145deg,#fff,#ffe6ee);
    border: 1px solid white;
    box-shadow:
        0 8px 22px #ef164c25,
        0 0 15px #ffffffaa;
    animation: ttp-float 4s ease-in-out infinite;
}

.ttp-float svg {
    width: 55%;
    height: 55%;
}

.ttp-float-0 {left:14%;top:12%;}
.ttp-float-1 {left:32%;top:0%;animation-delay:-.5s;}
.ttp-float-2 {right:32%;top:0%;animation-delay:-1s;}
.ttp-float-3 {left:5%;top:38%;animation-delay:-1.5s;}
.ttp-float-4 {left:3%;top:66%;animation-delay:-2s;}
.ttp-float-5 {right:14%;top:12%;animation-delay:-2.5s;}
.ttp-float-6 {right:5%;top:38%;animation-delay:-3s;}
.ttp-float-7 {right:3%;top:66%;animation-delay:-3.5s;}

/* ERP MODULE CARDS */

.ttp-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 850px;
    margin: 8px auto 0;
}

.ttp-module {
    width: calc(20% - 12px);
    min-height: 88px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    border-radius: 17px;
    background: linear-gradient(145deg,#ffffffed,#fff5f9cc);
    border: 1px solid white;
    box-shadow: 0 9px 23px #8b173d14;
    transition: transform .25s,box-shadow .25s;
}

.ttp-module svg {
    width: 29px;
    height: 29px;
    color: #d50020;
}

.ttp-module strong {
    font-size: clamp(10px,.85vw,14px);
    line-height: 1.2;
    color: #171923;
    font-weight: 750;
}

.ttp-module:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px #d5002030;
}

/* RIGHT GLASS LOGIN PANEL */

body[data-path="login"] .teamtrack-login-right {
    background: transparent !important;
    min-height: auto !important;
    padding: 20px !important;
    overflow: visible !important;
    width: 100%;
    box-sizing: border-box;
}

body[data-path="login"] .teamtrack-login-right::before,
body[data-path="login"] .teamtrack-login-right::after,
body[data-path="login"] .teamtrack-login-background-decoration {
    display: none !important;
}

body[data-path="login"] .teamtrack-auth-card {
    padding: 30px 35px !important;
    border-radius: 38px !important;
    background: rgba(255,255,255,.76) !important;
    border: 2px solid rgba(255,255,255,.95) !important;
    box-shadow:
        0 25px 60px #9e174a1c,
        0 0 35px #ffffffb0 !important;
    backdrop-filter: blur(18px);
    animation: ttp-enter .9s ease both;
}

body[data-path="login"] .teamtrack-brand-name {
    font-size: clamp(25px,2.7vw,43px) !important;
    white-space: nowrap;
}

body[data-path="login"] .teamtrack-brand-subtitle {
    font-size: clamp(7px,.75vw,12px) !important;
    letter-spacing: 2.5px !important;
}

body[data-path="login"] .teamtrack-logo-mark {
    width: 78px;
    height: 78px;
    animation: ttp-logo 4s ease-in-out infinite;
}

body[data-path="login"] .teamtrack-login-head h4 {
    font-size: clamp(26px,2.4vw,38px) !important;
    margin-top: 24px !important;
}

body[data-path="login"] .for-login .form-signin {
    width: 100% !important;
    max-width: none !important;
}

body[data-path="login"] .for-login .form-control {
    background: #f0edf7 !important;
    border: 1px solid #d3cfdf !important;
}

body[data-path="login"] .for-login .form-control:focus {
    border-color: #ff002d !important;
    box-shadow: 0 0 0 3px #ff002d18 !important;
}

/* LOGIN BUTTON SHINE */

body[data-path="login"] .for-login .btn-login {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        110deg,#ff0027,#c00020,#9d001b
    ) !important;
}

body[data-path="login"] .for-login .btn-login::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    left: -60%;
    background: linear-gradient(
        90deg,transparent,#ffffff55,transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
    animation: ttp-shine 5s infinite;
}

/* ANIMATION KEYFRAMES */

@keyframes ttp-enter {
    from {opacity:0;transform:translateY(20px);}
    to {opacity:1;transform:translateY(0);}
}

@keyframes ttp-float {
    0%,100% {transform:translateY(0);}
    50% {transform:translateY(-10px);}
}

@keyframes ttp-laptop-float {
    0%,100% {transform:translateY(0) rotate(-3deg);}
    50% {transform:translateY(-12px) rotate(-2deg);}
}

@keyframes ttp-pulse {
    0%,100% {opacity:.6;}
    50% {opacity:1;}
}

@keyframes ttp-bar {
    from {transform:scaleY(.55);}
    to {transform:scaleY(1);}
}

@keyframes ttp-spin {
    to {transform:rotate(360deg);}
}

@keyframes ttp-logo {
    0%,100% {transform:rotate(-2deg);}
    50% {transform:rotate(2deg) translateY(-4px);}
}

@keyframes ttp-shine {
    0%,65% {left:-60%;}
    90%,100% {left:140%;}
}

/* TABLET AND MOBILE */

@media(max-width:1100px) {
    body[data-path="login"] .teamtrack-login-layout {
        grid-template-columns:55% 45% !important;
        padding:20px 2%;
    }

    .ttp-module {
        width:calc(33.333% - 12px);
        min-height:75px;
    }

    body[data-path="login"] .teamtrack-auth-card {
        padding:25px 20px !important;
    }
}

@media(max-width:767px) {
    body[data-path="login"] .teamtrack-login-layout {
        display:flex !important;
        flex-direction:column !important;
        padding:25px 12px !important;
    }

    .ttp-showcase {
        padding:10px 5px;
    }

    .ttp-mark {
        width:45px;
        height:45px;
        font-size:25px;
        border-radius:12px;
    }

    .ttp-brand-title {
        font-size:29px;
    }

    .ttp-brand-sub {
        font-size:7px;
        letter-spacing:1.5px;
    }

    .ttp-intro {
        margin-top:15px;
    }

    .ttp-scene,
    .ttp-modules {
        display:none;
    }

    body[data-path="login"] .teamtrack-login-right {
        padding:15px 0 !important;
    }

    body[data-path="login"] .teamtrack-auth-card {
        border-radius:25px !important;
        padding:25px 20px !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    body[data-path="login"] .teamtrack-login-layout *,
    body[data-path="login"] .teamtrack-login-layout::before,
    body[data-path="login"] .teamtrack-login-layout::after,
    body[data-path="login"] .btn-login::after {
        animation:none !important;
        transition:none !important;
    }
}

/* END TEAMTRACK PREMIUM LOGIN V1 */


/* TEAMTRACK COPYRIGHT FOOTER V1 */

.ttp-copyright {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 18px;
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: .2px;
    color: #646477;
    font-weight: 500;
    animation: ttp-footer-enter 1.5s ease both;
}

.ttp-developer-credit {
    font-size: 12px;
    color: #626274;
}

.ttp-developer-credit strong {
    color: #b50022;
    font-weight: 800;
    transition: color .3s ease;
}

.ttp-developer-credit strong:hover {
    color: #ff002b;
    text-shadow: 0 0 12px #ff003b35;
}

@keyframes ttp-footer-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* COMPACT DESKTOP LOGIN */

@media (min-width: 1101px) {

    body[data-path="login"] .teamtrack-login-layout {
        min-height: 100dvh !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .ttp-showcase {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .ttp-intro {
        margin-top: 16px !important;
    }

    .ttp-scene {
        height: clamp(250px, 34vh, 350px) !important;
        margin-top: 10px !important;
    }

    .ttp-laptop {
        width: 49% !important;
        margin-top: 15px !important;
    }

    .ttp-module {
        min-height: 76px !important;
        padding: 8px 5px !important;
    }

    .ttp-modules {
        gap: 10px !important;
    }

    body[data-path="login"] .teamtrack-auth-card {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .ttp-copyright {
        margin-top: 12px;
        padding: 4px 0;
    }
}

/* MOBILE FOOTER */

@media (max-width: 767px) {

    .ttp-copyright {
        font-size: 10px;
        margin-top: 12px;
    }

    .ttp-developer-credit {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ttp-copyright {
        animation: none !important;
    }
}

/* END TEAMTRACK COPYRIGHT FOOTER V1 */

