@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary: #0d726d;
    --primary-dark: #0a645f;
}

.custom-control.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--primary);
}
 
.custom-control.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before, .custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before, .custom-control.custom-radio .custom-control-input:checked~.custom-control-label::before {
    border-color: var(--primary);
}

a,
a:hover {
    color: var(--primary);
}

.btn {
    transition: .2s;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary);
    box-shadow: none !important;
    border-radius: 5px;
}

.btn-primary:focus {
    border: 1px solid var(--primary-dark);
    transform: scale(1.01);
    filter: brightness(1.05);

}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #fff;
}

body::-webkit-scrollbar-thumb {
    background-color: #90BABA;
    border-radius: 1px;
    border: none;
}

main {
    display: grid;
    grid-template-columns: 490px 1fr;
    grid-gap: 0;
    width: 100%;
    min-height: 100vh;
}

main>section:first-child {
    padding: 10px 80px;
}

main>section:last-child {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url("../../../assets/antam/bg-login.jpg");
    background-size: cover;
    padding: 10px;
}

main>section:last-child:before {
    content: "";
    /* background: rgba(35, 24, 24, .6); */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

main>section:last-child>div {
    z-index: 10;
    color: #fff;
    text-align: center;
}

main>section:last-child>.bg-map {
    margin: 0 auto;
    position: relative;
    width: 690px;
    height: 520px;
    background: url("../../../assets/antam/map.png");
    background-position: 50% 85%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
}

main>section:last-child>.bg-map img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
    transition: .15s ease-in;
    z-index: 10;
}

main>section:last-child>.bg-map img:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px 8px rgba(0, 0, 0, .12);
    z-index: 20;
    transition: .25s ease-out;
}

main>section:last-child>.bg-map img.pop-up:hover {
    box-shadow: 0 7px 21px 10px rgba(0, 0, 0, .10);
}

main>section:last-child>.bg-map img.pop-up {
    max-width: 275px;
    transform-origin: 100% 80%;
}

main>section:last-child>.bg-map img.vehicle-list {
    max-width: 245px;
    transform-origin: 100% 30%;
    margin-right: auto;
}

main>section:last-child>.bg-map img.chart {
    max-width: 250px;
    transform-origin: 0% 50%;
}

main>section:last-child>.bg-map>div:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

main>section:last-child>.bg-map>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 378px;
}

main>section:last-child>.bg-map>div:last-child>img:first-child {
    margin-left: auto;
}

main>section:last-child>.bg-map>div:last-child>img:last-child {
    margin-left: auto;
}

main>section:last-child>div>h2 {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -.2px;
    margin: 16px 16px 4px;
}

/* main>section:last-child>div:last-child {
    max-width: 532px;
    margin: 0 auto;
} */

main>section:last-child>div>h3 {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -.2px;
    margin: 0 16px;
    line-height: 1.35;
}

footer {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-gap: 16px 100px;
    width: 1000px;
    margin: 20px 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form .logo {
    max-width: 172px;
    margin: -64px auto 16px;
}

.login-form h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.login-form p {
    font-size: 12px;
    text-align: center;
    margin-bottom: 11px;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
}

label.error {
    font-size: .72rem;
    position: relative;
    top: -16px;
    margin-bottom: 0;
    color: var(--danger)
}

.form-control {
    font-weight: 500;
    color: #4E5155;
    background: #FFF;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, .05);
}

.form-control:focus {
    color: #4E5155;
    background: #FFF;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .1);
}

.form-group.pwd {
    position: relative;
}

#dataPassword {
    padding-right: 38px;
}

#dataPassword+svg {
    width: 34px;
    padding: 6px;
    position: absolute;
    right: 3px;
    top: 31px;
    cursor: pointer;
}

#dataPassword+svg:active {
    transform: scale(.9);
}

#dataPassword+svg g {
    transform-origin: center;
    transition: .2s .05s;
}

#dataPassword[type="text"]+svg g {
    transform: scale(0);
}

.custom-checkbox {
    display: inline-block;
}

.forgot-pwd {
    font-size: 13px;
    font-weight: 600;
    margin: -4px 0 20px;
}

.forgot-pwd a {
    text-decoration: underline;
}

.remember {
    margin-bottom: 16px;
    float: right;
}

.remember-text {
    font-size: 13px;
    font-weight: 600;
}

input[type="checkbox"]:checked+.remember-text {
    color: var(--primary);
}

.chat {
    position: relative;
}

.chatbox {
    background: rgba(11, 105, 167, .2);
    padding: 10px 10px 10px 13px;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05);
    height: 84px;
    width: 100%;
    position: relative;
    right: -40px;
    opacity: 0;
    transform: scale(.3, .7);
    animation: chat forwards .3s 1s ease-in-out;
    transform-origin: right center;
}

.chatbox>div {
    width: 100%;
    height: 64px !important;
    padding-right: 8px;
    overflow-y: auto;
    overflow-x: hidden;
}

.chatbox:after {
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgba(11, 105, 167, .2);
}

.chatbox p {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.38;
    color: var(--primary-dark);
    text-align: left;
}

.login-form .alert {
    padding: 6px 10px;
}

.cs {
    width: 115px;
    height: auto;
    z-index: 10;
    position: absolute;
    top: 17px;
    right: -60px;
    opacity: 0;
    transform: scale(.5);
    transform-origin: right bottom;
    animation: cs forwards .3s .7s ease-in-out;
    pointer-events: none;
}

marquee {
    user-select: none;
}

.men {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: -100px 0 0;
    position: absolute;
    bottom: 0;
    width: calc(100% - 16px);
}

.men img {
    height: 29vh;
}

@media screen and (max-width: 1240px) {

    main {
        grid-template-columns: 380px 1fr;
    }

    main>section:last-child>.bg-map {
        width: 640px;
    }

    main>section:first-child {
        padding: 10px 36px;
    }

    main>section:last-child>.bg-map>div:last-child {
        width: 360px;
    }

    .chatbox {
        padding: 9px;
    }

    .chatbox p {
        font-size: 11.5px;
    }
}

@media screen and (max-width: 1136px) {

    main {
        display: grid;
        grid-template-columns: 100%;
        width: 100%;
    }

    main>section:first-child {
        padding: 30px;
    }

    main>section:last-child {
        padding: 40px 0;
    }

    main>section:last-child>.bg-map {
        padding: 30px 16px;
    }

    main>section:last-child>.bg-map>div:first-child {
        flex-basis: 40%;
    }

    main>section:last-child>.bg-map>div:last-child>img:first-child {
        width: 65%;
    }

    main>section:last-child>.bg-map>div:last-child>img:last-child {
        width: 80%;
        margin-bottom: -20px;
        margin-right: 30px;
        margin-left: auto;
    }

    .login-form .logo {
        margin: 0 auto 16px;
    }

    .chatbox {
        width: calc(100% - 25px);
    }

    .chatbox:after {
        left: 100%;
    }

    .cs {
        right: -38px;
    }

    footer {
        display: grid;
        grid-template-columns: 100%;
        grid-gap: 0;
        width: 100%;
        margin: 0 0 10px;
        padding: 20px;
    }

    .login-form {
        margin: auto;
        max-width: 400px;
    }
    
    .contact {
        padding: 5px 20px;
    }

    .contact span {
        margin: 10px 0;
        display: block;
    }

}

@media screen and (max-width: 780px) {
    main>section:last-child>.bg-map {
        width: 100%;
        max-width: 500px;
        height: 100%;
        background-size: 70%;
        margin-top: -32px;
    }

    main>section:last-child>.bg-map>div {
        flex-basis: 50%;
    }

    main>section:last-child>.bg-map>div:first-child>img {
        width: 85%;
    }
    
    main>section:last-child>.bg-map>div:last-child>img:first-child {
        width: 65%;
        margin-bottom: 36px;
    }

    main>section:last-child>.bg-map>div:last-child>img:last-child {
        width: 80%;
        margin-bottom: -30px;
    }

    .men {
        position: relative;
        margin: 12px 0 -40px 0;
        width: auto;
        justify-content: center;
    }
}

@media screen and (max-width: 374px) {
    main>section:last-child>div>h2 {
        font-size: 22px;
    }
    
    main>section:last-child>div>h3 {
        font-size: 14px;
    }
}

@media screen and (max-height: 660px) and (min-width: 1080px) {
    main>section:last-child>.bg-map {
        height: 426px;
        margin-top: -64px;
    }
}

@keyframes cs {
    0% {
        transform: scale(.5);
        opacity: 0;
    }

    80% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes chat {
    0% {
        right: -40px;
        opacity: 0;
    }

    80% {
        transform: scale(1);
        right: 5px;
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        right: 0;
        opacity: 1;
        transform: scale(1);
    }
}