@font-face {
    font-display: swap;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/Inter-Regular.ttf)
}

@font-face {
    font-display: swap;
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    src: url(fonts/Inter-Medium.ttf)
}

@font-face {
    font-display: swap;
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    src: url(fonts/Inter-SemiBold.ttf)
}

@font-face {
    font-display: swap;
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    src: url(fonts/Inter-Bold.ttf);
}

:root {
    --black: #000;
    --black1: #212529;
    --black2: #e6e6e8;
    --black3: #65748b;
    --black4: #6b6e77;
    --black5: #706f74;
    --black6: #e7e7e7;
    --white: #fff;
    --purple: #5047e0;
    --yellow: #fff8c2;
    --brawn: #7f4d0e;
    --red: #e3001b;
    --red1: #bd1225;
    --red2: #ec7161;
    --red3: #c64331;
    --red4: #e2001a;
    --gray1: #3a3a4a;
    --left: 18px;
}

.header {
    background: var(--red4);
    padding: 15px 0;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 30px;
        padding: 0 20px;
    }

.content {
    padding: 60px 0 0 0;
}

.svg-sprite {
    position: absolute;
    width: 1px;
    height: 1px;
}

svg {
    overflow: hidden;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-size: 14px;
}

main {
    padding: 2rem !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black1);
    text-align: left;
    background-color: var(--white);
}

.tracker-wraper {
    pointer-events: auto;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    z-index: 999999;
}

.tracker-block {
    display: flex;
    flex-direction: column;
    align-self: center;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 26px 0px rgba(0, 0, 0, 0.22), 0 20px 28px 0px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 540px;
    max-width: 375px;
    height: initial;
    margin-left: auto;
    margin-right: auto;
    outline: none;
    position: relative;
    padding: 34px 0 40px 0px;
}

.tracker-icono {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: var(--purple);
    top: -20px;
    left: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .tracker-icono svg {
        width: 24px;
        height: 24px;
        margin: 0;
        padding: 0;
        color: var(--white);
        fill: currentColor;
    }

.tracker-order {
    outline: none;
    color: rgb(0, 0, 0);
    font-size: 23px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
    padding: 0 0 0 var(--left);
    letter-spacing: -1px;
}

.tracker-order__label {
    padding-right: 2px;
    letter-spacing: normal;
}

.tracker-laststatus {
    background-color: var(--yellow);
    color: var(--brawn);
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    padding: 0 15px 0 29px;
    margin: 9px 0 0 18px;
    border-radius: 12px;
    width: fit-content;
    min-width: 102px;
    min-height: 20px;
    display: flex;
    justify-content: left;
    align-items: center;
    position: relative;
}

.tracker-laststatus--1 {
    background-color: var(--yellow);
}

.tracker-laststatus--2 {
    background-color: var(--yellow);
}

.tracker-laststatus--3 {
    background-color: var(--yellow);
}

.tracker-laststatus--4 {
    background-color: var(--yellow);
}

.tracker-laststatus--5 {
    background-color: var(--yellow);
}

.tracker-laststatus--6 {
    background-color: var(--yellow);
}

.tracker-laststatus:before {
    content: "";
    background-color: var(--brawn);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 8px;
    top: 7px;
    border: 1px solid var(--brawn);
}

.tracker-image {
    display: inline-block;
    max-height: 229px;
    min-height: 197px;
    padding: 0;
    margin: 9px 0 0 0;
    border-top: 1px solid var(--red1);
    border-bottom: 2px solid var(--black2);
}

    .tracker-image img {
        width: 100%;
        height: 100%;
        display: flex;
    }

.tracker-address {
    margin: 0;
    padding: 45px 8px 12px var(--left);
    border-bottom: 2px solid var(--black2);
}

.tracker-address__place {
    font-size: 13px;
    color: var(--black4);
    position: relative;
    padding: 4px 0 0 24px;
    margin: 0;
}

    .tracker-address__place::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 3px;
        width: 14px;
        height: 17px;
        background-repeat: no-repeat;
        background-image: url("../images/placeholder.png");
        background-size: contain;
    }

.tracker-status {
    padding: 10px 6px 0 var(--left);
    margin: 0;
}

.tracker__title {
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.tracker__list {
    margin: 0;
    padding: 0;
}

.tracker__list--option {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px 45px 44px;
    margin: 0;
    color: var(--black5);
    position: relative;
}

    .tracker__list--option::before {
        content: '';
        width: 32px;
        height: 32px;
        background-color: var(--red4);
        border-radius: 50%;
        border: 1px solid var(--red4);
        position: absolute;
        left: 0px;
    }

    .tracker__list--option::after {
        content: "";
        position: absolute;
        top: 33px;
        left: 15px;
        width: 2px;
        height: 16px;
        background-color: var(--black6);
    }

    .tracker__list--option:first-child {
        padding-top: 22px;
        padding-bottom: 44px;
    }

    .tracker__list--option:last-child {
        padding-bottom: 0;
    }

    .tracker__list--option:first-child::after {
        top: 55px;
    }

    .tracker__list--option:last-child::after {
        display: none;
    }

.tracker__list-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 7px;
    fill: currentColor;
    color: var(--white);
    background-repeat: no-repeat;
    background-size: contain;
}

.tracker__list--init .tracker__list-icon {
    background-image: url("../images/recibido.svg");
}

.tracker__list--preparation .tracker__list-icon {
    background-image: url("../images/preparacion.svg");
    left: 6px;
}

.tracker__list--preparation-finished .tracker__list-icon {
    background-image: url("../images/preparacion.svg");
    left: 6px;
}

.tracker__list--way .tracker__list-icon {
    background-image: url("../images/encamino.svg");
    top: 2px;
    left: 6px;
}

.tracker__list--delivered .tracker__list-icon {
    background-image: url("../images/entregado.svg");
    left: 7px;
    width: 19px;
    height: 19px;
    top: 0;
}

.tracker__list--delivered-client .tracker__list-icon {
    background-image: url("../images/delivered.png");
    left: 7px;
    width: 19px;
    height: 19px;
    top: 0;
}

.tracker__list--finished .tracker__list-icon {
    background-image: url("../images/entregado.svg");
    left: 7px;
    width: 19px;
    height: 19px;
    top: 0;
}

.tracker__list--canceled .tracker__list-icon {
    background-image: url("../images/cancelled.png");
    left: 7px;
    width: 19px;
    height: 19px;
    top: 0;
}

.tracker__list--canceled-client .tracker__list-icon {
    background-image: url("../images/cancelled-client.png");
    left: 7px;
    width: 19px;
    height: 19px;
    top: 0;
}

.tracker__list--none::after {
    display: none;
}

.tracker-refresh-container {
    font-size: 10px;
    color: var(--black4);
    position: relative;
    padding: 4px 0 0 20px;
    margin: 0;
}

#manual-refresh {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.tracker-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tracker-info__title {
    font-size: 23px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -1px;
}

.tracker-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

footer {
    background: var(--gray1);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

.map {
    height: 750px;
    margin: 15px;
}

.custom-marker {
    background-size: cover;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.marker {
    display: block;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 0;
}
