﻿* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
}

main {
    background: url("../../../Content/assets/img/png/bg.png");
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow-y: scroll;
    padding: 4rem 5rem;
}

section h1 {
    background-color: white;
    color: #0c803d;
    font-size: 1.6rem;
    border-radius: 20px;
    padding: 10px 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    width: fit-content;
}

.form-tracking,
.tracking-timeline {
    background-color: #ffffff;
    box-shadow: 2px 26px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: .9rem;
}

.form-group input {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0px;
    padding-left: 2.5rem;
}

.form-control:focus {
    border-bottom: 1.5px solid #83c341 !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

.icon-input {
    bottom: 10px;
    border-right: 1.5px solid #d9d9d9;
    padding-right: 10px;
}

button.check,
a.check {
    background-color: #52bb0b;
    border: none;
    padding: 0.5rem 1.7rem;
    font-size: inherit;
}

/*** TIMELINE ***/
.timeline {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.li {
    transition: all 200ms ease-in;
}

.timestamp {
    margin-bottom: 20px;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
}

.status {
    padding: 0px 40px;
    display: flex;
    justify-content: center;
    border-top: 2px dotted #d6dce0;
    position: relative;
    transition: all 200ms ease-in;
    margin-right: 2px;
}

    .status::before {
        content: "";
        width: 15px;
        height: 15px;
        background-color: white;
        border-radius: 25px;
        border: 1px solid #ddd;
        position: absolute;
        top: -9px;
        left: 45%;
        transition: all 200ms ease-in;
    }

    .status p {
        opacity: 0.6;
    }

.li.complete .status {
    border-top: 2px dotted #83c341;
}

    .li.complete .status:before {
        background-color: #83c341;
        border: none;
        transition: all 200ms ease-in;
    }

    .li.complete .status p {
        font-weight: 600;
        opacity: 1;
    }

.li.rejected .status {
    border-top: 2px dotted #FF1F00;
}

    .li.rejected .status:before {
        background-color: #FF1F00;
        border: none;
        transition: all 200ms ease-in;
    }

    .li.rejected .status p {
        font-weight: 600;
        opacity: 1;
    }

/*** DETAIL INFORMATION ***/
.left-information,
.right-information {
    background-color: white;
    box-shadow: 2px 26px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: .9rem;
}

.tracking-detail h2 {
    font-size: 1.2rem;
}

.tracking-detail p {
    /*font-weight: 300;*/
}

    .tracking-detail p span {
        font-weight: 600;
    }

.left-reservation {
    background: #ffffff;
    box-shadow: 2px 26px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.tracking-header img {
    margin-bottom: 1rem;
}

.line {
    width: 100%;
    border-top: 2px dashed white;
}

.detail-reservation {
    background: #0c803d;
    border-radius: 15px;
    color: white;
}

    .detail-reservation p {
        font-size: 1.3rem;
        font-weight: 700;
    }

    .detail-reservation span {
        font-weight: 300;
        font-size: 0.7rem;
    }

.reservation-price {
    text-align: right;
}

.reservation-price form {
    margin-bottom: .8rem;
}

    .reservation-price span {
        color: rgba(0, 0, 0, 0.4);
    }

    .reservation-price p {
        color: #0c803d;
        font-weight: 700;
        font-size: 1.1rem;
    }

.right-information span {
    color: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 768px) {
    main {
        padding: 1.5rem !important;
    }

    .form-tracking {
        width: 100%;
    }

    .form-group {
        padding: 0 !important;
    }

    .col-md-6:last-child {
        margin-top: 1.5rem;
    }

    .col-md-4:not(:last-child) {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .tracking-timeline .row {
        flex-direction: column;
    }

    .timeline {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

        .timeline li {
            display: flex;
        }

    .li.complete .status {
        border-left: 2px dotted #83c341;
        border-top: none;
    }

    .timestamp {
        margin-bottom: 0 !important;
        justify-content: center;
    }

    .status {
        padding: 0 !important;
        width: 135px;
        border-top: none;
        border-left: 2px dotted #d6dce0;
    }

        .status::before {
            top: 15px;
            left: -13px;
        }

    .image {
        padding: 1.5rem;
    }

        .image img {
            transform: rotate(90deg);
        }

    .line {
        width: 70px;
        transform: rotate(90deg);
    }
}
