﻿.Wmsheader {
    display: none !important;
}

#divMenu {
    display: none !important;
}

.breadcrumb {
    display: none !important;
}

#newdivcontainer {
    background-color: #ffffff00;
    transform: translate(0%, 1%) !important;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
    background: linear-gradient(132deg, #FC415A, #e7d44fc2, #309733c9);
    background-size: 400% 400%;
    animation: Gradient 8s ease infinite;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0px;
    overflow-y: hidden !important;
}

.container-fluid {
    height: var(--vh, 98vh);
    margin: 0;
    padding: 0;
    width: 100%;
}

.cube {
    position: absolute;
    top: 80vh;
    left: 45vw;
    width: 10px;
    height: 10px;
    border: solid 1px #D7D4E4;
    transform-origin: top left;
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    animation: cube 12s ease-in forwards infinite;
    padding: 2px !important;
}

    .cube:nth-child(2n) {
        border-color: #FFF;
    }

    .cube:nth-child(1) {
        background-image: url('../images/fm_logistic_logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cube:nth-child(2) {
        animation-delay: 1s;
        left: 25vw;
        top: 40vh;
        background-image: url('../images/fm_logistic_logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cube:nth-child(3) {
        animation-delay: 2s;
        left: 75vw;
        top: 50vh;
    }

    .cube:nth-child(4) {
        animation-delay: 3s;
        left: 90vw;
        top: 30vh;
        background-image: url('../images/fm_logistic_logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cube:nth-child(5) {
        animation-delay: 4s;
        left: 10vw;
        top: 85vh;
    }

    .cube:nth-child(6) {
        animation-delay: 5s;
        left: 50vw;
        top: 10vh;
    }

@keyframes Gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes cube {
    from {
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        opacity: 1;
    }

    to {
        transform: scale(20) rotate(960deg) translate(-50%, -50%);
        opacity: 0;
    }
}

.login-container {
    width: 100%;
    max-width: 65%;
    perspective: 1000px;
    padding-left: 35%;
    padding-top: 2%;
}
@media screen and (min-width: 50px) and (max-width: 500px) {
    .login-container {
        max-width: 90% !important;
        padding-left: 5%;
    }
}

.form-group {
    margin-bottom: 15px !important;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

    .input-wrapper input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 16px 16px 8px 16px;
        color: #5a5858;
        font-size: 14px;
        font-weight: 400;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        outline: none;
        backdrop-filter: blur(10px);
    }

    .input-wrapper select {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 16px 16px 8px 16px;
        color: #5a5858;
        font-size: 13px;
        font-weight: 400;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        outline: none;
        backdrop-filter: blur(10px);
    }

    .input-wrapper label {
        position: absolute;
        left: 16px;
        top: 16px;
        color: #5b5b5b;
        font-size: 16px;
        font-weight: 400;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        transform-origin: left top;
    }

    .input-wrapper input:focus,
    .input-wrapper input:valid {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
    }

        .input-wrapper input:focus + label,
        .input-wrapper input:valid + label {
            transform: translateY(-8px) scale(0.85);
            color: #06b6d4;
            font-weight: 500;
        }

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #6366f1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.input-wrapper input:focus ~ .focus-border {
    width: 80%;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    margin-left: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

    .error-message.show {
        opacity: 1;
        transform: translateY(0);
    }

.form-group.error .input-wrapper input {
    background: rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

.btn {
    background: linear-gradient(135deg, #aa3167 0%, #f77e29 105%);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
    }

        .btn:hover::before {
            left: 100%;
        }

    .btn:active {
        transform: translateY(0);
    }

    .btn.loading {
        pointer-events: none;
    }

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite;
    transition: opacity 0.3s ease;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-loader {
    opacity: 1;
}

.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .remember-wrapper input[type="checkbox"] {
        display: none;
    }

.checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.remember-wrapper input[type="checkbox"]:checked ~ .checkbox-label .checkmark {
    transform: scale(1.1);
}

    .remember-wrapper input[type="checkbox"]:checked ~ .checkbox-label .checkmark::after {
        content: '✓';
        color: white;
        font-size: 11px;
        font-weight: bold;
        animation: checkmarkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 20px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #06b6d4, transparent);
        transition: left 0.5s ease;
    }

    .login-card:hover::before {
        left: 100%;
    }

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

    .login-header h2 {
        color: white;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 8px;
        background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.5rem;
        font-weight: 400;
    }

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 48px;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

    .password-toggle:hover {
        color: rgba(255, 255, 255, 0.9);
    }

.eye-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.6)' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .eye-icon.show-password {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.6)' stroke-width='1.5'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 11-4.243-4.243m4.242 4.242L9.88 9.88'/%3e%3c/svg%3e");
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.forgot-password {
    color: #0934d5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    .forgot-password::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: #06b6d4;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .forgot-password:hover::after {
        width: 100%;
    }

    .forgot-password:hover {
        color: white;
    }

.login-btn {
    width: 100%;
    margin-bottom: 2px;
}

.divider {
    text-align: center;
    margin: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

    .divider::before {
        margin-right: 16px;
    }

    .divider::after {
        margin-left: 16px;
    }

    .divider span {
        color: #bf4657;
        font-size: 12px;
        white-space: nowrap;
    }

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
        margin: 10px;
        border-radius: 20px;
    }

    .login-header h2 {
        font-size: 1.75rem;
    }

    .password-wrapper input {
        padding-right: 44px;
    }

    .social-login {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.login-body {
    height: var(--vh, 82vh);
}

.loop-wrapper {
    margin: 0 auto;
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-bottom: 3px solid #fff;
    color: #fff;
}

.mountain {
    position: absolute;
    right: -300px;
    height: 150px;
    width: 200px;
    background: url('../images/hill.png') no-repeat;
    background-size: contain;
    animation: mtn 20s linear infinite;
}

.hill {
    position: absolute;
    right: -900px;
    bottom: -50px;
    width: 400px;
    border-radius: 50%;
    height: 20px;
    box-shadow: 0 0 0 50px #4DB6AC, -20px 0 0 20px #4DB6AC, -90px 0 0 50px #4DB6AC, 250px 0 0 50px #4DB6AC, 290px 0 0 50px #4DB6AC, 620px 0 0 50px #4DB6AC;
    animation: hill 20s 2s linear infinite;
}

.tree {
    bottom: 0;
    background: url('../images/tree.png') no-repeat;
    background-size: contain;
    height: 100px;
}

.rock {
    margin-top: -17%;
    height: 2%;
    width: 2%;
    bottom: -2px;
    border-radius: 20px;
    position: absolute;
    background: #ddd;
}

.truck, .wheels {
    transition: all ease;
    width: 115px;
    margin-right: -60px;
    bottom: 0px;
    right: 50%;
    position: absolute;
    background: #eee;
}

.truck {
    background: url('../images/fm_truck.png') no-repeat;
    background-size: contain;
    height: 50px;
}

    .truck:before {
        content: " ";
        position: absolute;
        width: 25px;
        box-shadow: -30px 28px 0 1.5px #fff, -35px 18px 0 1.5px #fff;
    }

.tree {
    animation: tree 10s 0.150s linear infinite;
}

    .tree:nth-child(2) {
        animation: tree2 20s 0.150s linear infinite;
    }

    .tree:nth-child(3) {
        animation: tree3 20s 0.050s linear infinite;
    }

.rock {
    animation: rock 20s -0.530s linear infinite;
}

.truck {
    animation: truck 20s 1.080s linear infinite;
}

.truck:before {
    animation: wind 1.5s 0.000s ease infinite;
}

@keyframes tree {
    0% {
        left: -50px;
    }

    100% {
        left: 1900px;
    }
}

@keyframes tree2 {
    0% {
        transform: translate(1900px);
    }

    50% {
    }

    100% {
        transform: translate(-50px);
    }
}

@keyframes tree3 {
    0% {
        transform: translate(1900px);
    }

    50% {
    }

    100% {
        transform: translate(-50px);
    }
}

@keyframes rock {
    0% {
        right: -50px;
    }

    100% {
        right: 1900px;
    }
}

@keyframes truck {
    0% {
        left: -50px;
    }

    100% {
        left: 1300px;
    }
}

@keyframes wind {
    0% {
    }

    50% {
        transform: translateY(3px)
    }

    100% {
    }
}

@keyframes mtn {
    100% {
        transform: translateX(-2000px);
    }
}

@keyframes hill {
    100% {
        transform: translateX(-2000px);
    }
}
