﻿@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
    --bg: #fff7ee;
    --card-bg: #ffffff;
    --border: #f0b83a;
    --accent: #f2b200;
    --line: #e6e0d6;
    --text: #2c2c2c;
    --muted: #8c8174;
}

* {
    box-sizing: border-box;
}

body.track-page {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.track-stack {
    gap: 24px;
    display: flex;
    flex-direction: column;
}

.track-card {
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    box-shadow: 0 8px 22px rgba(98, 74, 31, 0.08);
}

.track-icon {
    width: 44px;
    height: 44px;
}

.track-id {
    font-size: 20px;
    margin: 0 0 4px;
    font-weight: 700;
}

.track-meta {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

    .track-meta .dot {
        margin: 0 6px;
        color: #c9b9a6;
    }

.track-grid {
    margin-top: 18px;
}

.track-grid--secondary {
    margin-top: 12px;
}

.track-label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.track-value {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.track-card--timeline {
    padding: 22px 28px 24px;
}

.track-progress {
    height: 24px;
    display: flex;
    padding: 0 4px;
    position: relative;
    align-items: center;
    margin: 18px 30px 14px;
    justify-content: space-between;
}

    .track-progress::before {
        top: 50%;
        left: 4px;
        right: 4px;
        content: "";
        height: 2px;
        position: absolute;
        background: var(--line);
        transform: translateY(-50%);
    }

    .track-progress::after {
        top: 50%;
        left: 4px;
        content: "";
        height: 2px;
        position: absolute;
        background: #ffcb00;
        transform: translateY(-50%);
        width: calc((100% - 8px) * var(--progress));
    }

.track-step {
    z-index: 2;
    cursor:pointer;
    position: relative;
    align-items: center;
    display: inline-block;
    justify-content: center;
    /*display: flex;*/
}

.step-dot {
    width: 18px;
    height: 18px;
    display: flex;
    cursor: pointer;
    border-radius: 50%;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
}

.track-step.is-done .step-dot {
    background: #ffcb00 !important;
    border-color: #ffcb00 !important;
}

    .track-step.is-done .step-dot::after {
        line-height: 1;
        color: #1e1e1e;
        font-size: 10px;
        content: "\2713";
        font-weight: 700;
    }

.track-step.is-pending .step-dot {
    border-color: #2a2a2a;
}

.step-label {
    top: 100%;
    left: 50%;
    display: flex;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.27;
    position: absolute;
    text-align: center;
    border-radius: 7px;
    white-space: nowrap;
    padding: 5px 7px 7px;
    flex-direction: column;
    transform: translateX(-50%) translateY(15%);
    /*background: #f2b200;*/
}

.track-step::after {
    left: 50%;
    opacity: 0;
    z-index: 100;
    bottom: 100%;
    width: 200px;
    color: #212529;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    border-radius: 6px;
    text-align: center;
    background: #f2b200;
    margin-bottom: 10px;
    white-space: normal;
    pointer-events: none;
    transition: opacity 0.3s;
    transform: translateX(-50%);
    content: attr(data-tooltip);
}

.newwcrd {
    width: 31%;
    margin: 10px;
    padding: 10px;
    background: #fcf8f1;
    border-radius: 10px;
    border: 1px solid #f0b83a;
}

.less {
    width: 47.5%;
}

.track-step::before {
    top: -60%;
    left: -15%;
    opacity: 0;
    content: "";
    z-index: 101;
    rotate: 180deg;
    border-width: 6px;
    position: absolute;
    border-style: solid;
    transition: opacity 0.3s;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    border-color: transparent transparent #f2b200 transparent;
}

.track-step:hover::after,
.track-step:hover::before {
    opacity: 1;
}

.hidden-content {
    display: none;
}

.track-route {
    margin-top: 80px;
}

.track-card--accordion {
    padding: 0;
    overflow: hidden;
}

.track-accordion-header {
    color: #3d2b00;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    background: rgba(242, 178, 0, 0.25);
}

.track-accordion {
    display: flex;
    flex-direction: column;
}

.track-accordion-item + .track-accordion-item {
    border-top: 1px solid rgba(242, 178, 0, 0.25);
}

.track-accordion-toggle {
    width: 100%;
    border: none;
    display: flex;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    padding: 14px 22px;
    color: var(--text);
    align-items: center;
    background: transparent;
    justify-content: space-between;
}

.track-accordion-title {
    gap: 10px;
    align-items: center;
    display: inline-flex;
}

.track-icon-sm {
    width: 28px;
    height: 28px;
}

.track-chevron {
    color: #4f4f4f;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.track-accordion-toggle[aria-expanded="true"] .track-chevron {
    transform: rotate(180deg);
}

.track-accordion-body {
    padding: 0 22px 18px;
}

    .track-accordion-body .track-grid {
        margin-top: 6px;
    }

@media (max-width: 767.98px) {
    .track-card {
        padding: 20px;
    }

    .track-card--timeline {
        padding: 20px;
    }

    .track-accordion-header,
    .track-accordion-toggle,
    .track-accordion-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .track-id {
        font-size: 18px;
    }

    .track-grid {
        margin-top: 14px;
    }

    .track-value {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .track-progress::before {
        background: repeating-linear-gradient( to right, var(--line) 0 6px, transparent 6px 12px );
    }

    .track-progress::after {
        background: repeating-linear-gradient( to right, var(--accent) 0 6px, transparent 6px 12px );
    }
}

@media (max-width: 760px) {
    .site-finder-card {
        padding: 18px 16px;
        border-radius: 10px;
        border: 1px solid #f0b83a;
    }
}

@media (max-width: 760px) {
    .track-submit-button {
        font-size: 14px;
        padding: 8px 30px !important;
        width: -webkit-fill-available;
    }
}

@media (max-width: 768px) {
    .ctrr {
        margin-top: 15rem !important;
    }

    .sml-scr {
        display: flex;
        flex-direction: column;
    }

    .sm-scr-card {
        width: 93%;
        overflow: hidden;
    }

    .sm-scr-progress {
        display: none;
    }

    .sm-scr-progress {
        display: block !important;
    }

    .lg-scr-progress {
        display: none !important;
    }

    .track-route {
        margin-top: 35px;
    }
}

.sm-scr-progress {
    display: none;
}

.lg-scr-progress {
    display: flex;
}

.errorr {
    margin: 10px;
    font-weight: 600;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 10px;
    background: #fcf8f1;
    border: 1px solid #ffcb00;
}

.track-container {
    margin-top: 30px;
    padding: 25px 20px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #f0b83a;
}

.track-stepp {
    display: flex;
    position: relative;
    padding-bottom: 45px;
}

    .track-stepp:last-child {
        padding-bottom: 0;
    }

.step-left {
    width: 50px;
    display: flex;
    flex-shrink: 0;
    position: relative;
    justify-content: center;
}

.step-line {
    top: 15px;
    left: 50%;
    width: 2px;
    bottom: -45px;
    position: absolute;
    background: #ffcb00;
    transform: translateX(-50%);
}

.track-stepp:last-child .step-line {
    display: none;
}

.step-dott {
    z-index: 2;
    width: 34px;
    color: #000;
    height: 34px;
    display: flex;
    flex-shrink: 0;
    font-size: 16px;
    border-radius: 50%;
    background: #ffcb00;
    align-items: center;
    justify-content: center;
}

.step-content {
    flex: 1;
    gap: 15px;
    display: flex;
    padding-left: 18px;
    justify-content: space-between;
}

.step-labell {
    min-width: 0;
}

.city {
    color: #212529;
    font-size: 24px;
    margin-bottom: 0px;
    word-break: break-word;
}

.status {
    color: #212529;
    font-size: 15px;
    letter-spacing: 1px;
    word-break: break-word;
}

.step-date {
    color: #9f9f9f;
    font-size: 16px;
    padding-top: 3px;
    white-space: nowrap;
}

@media(max-width:768px) {

    .location-title {
        font-size: 26px !important;
    }

    .city {
        font-size: 18px !important;
    }

    .step-date {
        font-size: 14px !important;
    }
}

@media(max-width:480px) {
    .mobdes {
        margin: 10px;
        padding: 10px;
        background: #fcf8f1;
        border-radius: 10px;
        border: 1px solid #f0b83a;
    }

    .mobbscc{
        flex-direction:column;
    }
}

    .site-finder-card .track-textbox {
        color: #292929;
    }

    .investorfiles {
        gap: 5px;
        display: flex;
        background: white;
        padding: 20px 0px;
        border-radius: 10px;
        flex-direction: column;
        border: 1px solid #ffcb00;
    }

    @media (max-width: 760px) {
        .branch-locator-container, .branch-locator-container2 {
            top: 270px;
            z-index: 3;
            margin: 10px;
            min-width: 280px;
            position: absolute;
            width: calc(100% - 20px);
        }
    }

    @media(max-width:480px) {

        .track-card {
            padding: 18px 14px;
            border-radius: 22px;
        }

        .track-container {
            padding: 20px 14px;
            border-radius: 24px;
        }

        .top-text {
            font-size: 15px;
        }

        .location-title {
            font-size: 22px;
            margin-bottom: 24px;
        }

        .track-stepp {
            padding-bottom: 15px;
        }

        .step-left {
            width: 42px;
            margin-top: 3px;
        }

        .step-dott {
            width: 20px;
            height: 20px;
            font-size: 10px;
        }

        .step-content {
            flex-direction: column;
            gap: 0px;
            padding-left: 10px;
        }

        .city {
            font-size: 18px;
            font-weight: 600;
        }

        .status {
            color: #414141;
            font-size: 13px;
            font-weight: 600;
        }

        .step-date {
            padding-top: 0;
            font-size: 13px;
            white-space: normal;
        }

        .step-line {
            bottom: -38px;
        }
    }
