﻿@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;
    background: var(--bg);
    color: var(--text);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.track-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.track-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 8px 22px rgba(98, 74, 31, 0.08);
}

.track-icon {
    width: 44px;
    height: 44px;
}

.track-id {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}

.track-meta {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

    .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 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 30px 14px;
    padding: 0 4px;
    height: 24px;
}

    .track-progress::before {
        content: "";
        position: absolute;
        left: 4px;
        right: 4px;
        top: 50%;
        height: 2px;
        background: var(--line);
        transform: translateY(-50%);
    }

    .track-progress::after {
        content: "";
        position: absolute;
        left: 4px;
        top: 50%;
        height: 2px;
        width: calc((100% - 8px) * var(--progress));
        background: var(--accent);
        transform: translateY(-50%);
    }

.track-step {
    position: relative;
    z-index: 2;
    /*display: flex;*/
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.step-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-step.is-done .step-dot {
    background: var(--accent);
    border-color: var(--accent);
}

    .track-step.is-done .step-dot::after {
        content: "\2713";
        font-size: 11px;
        font-weight: 700;
        color: #1e1e1e;
        line-height: 1;
    }

.track-step.is-pending .step-dot {
    border-color: #2a2a2a;
}

.step-label {
    display: flex;
    position: absolute;
    flex-direction: column;
    white-space: nowrap;
    text-align: center;
    top: 100%;
    left: 50%;
    font-size: 13px;
    transform: translateX(-50%) translateY(15%);
    /*background: #f2b200;*/
    border-radius: 7px;
    padding: 5px 7px 7px;
    line-height: 1.27;
    font-weight: 500;
}

/* Tooltip styling */
.track-step::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background: #f2b200;
    color: #212529;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    margin-bottom: 10px;
    z-index: 100;
    text-align: center;
}

.newwcrd {
    border: 1px solid #f0b83a;
    margin: 10px;
    border-radius: 10px;
    width: 31%;
    background: #fcf8f1;
    padding: 10px;
}

.less {
    width: 47.5%;
}

/* Speech bubble pointer */
.track-step::before {
    content: "";
    position: absolute;
    rotate: 180deg;
    bottom: calc(100% + 4px);
    left: -15%;
    transform: translateX(-50%);
    top: -60%;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #f2b200 transparent;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 101;
}

.track-step:hover::after,
.track-step:hover::before {
    opacity: 1;
}

.hidden-content {
    display: none;
}

.track-route {
    margin-top: 65px;
}

.track-card--accordion {
    padding: 0;
    overflow: hidden;
}

.track-accordion-header {
    background: rgba(242, 178, 0, 0.25);
    color: #3d2b00;
    font-weight: 700;
    padding: 12px 22px;
    font-size: 14px;
}

.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 {
    border: 1px solid #f0b83a;
    border-radius: 30px;
    padding: 25px 20px;
    margin-top: 30px;
    background: #ffffff;
}

.track-stepp {
    display: flex;
    position: relative;
    padding-bottom: 45px;
}

    .track-stepp:last-child {
        padding-bottom: 0;
    }

.step-left {
    width: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.step-line {
    position: absolute;
    width: 4px;
    background: #fac228;
    top: 15px;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.track-stepp:last-child .step-line {
    display: none;
}

.step-dott {
    width: 34px;
    height: 34px;
    background: #fac228;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-left: 18px;
}

.step-labell {
    min-width: 0;
}

.city {
    font-size: 24px;
    color: #212529;
    margin-bottom: 0px;
    word-break: break-word;
}

.status {
    font-size: 15px;
    color: #212529;
    letter-spacing: 1px;
    word-break: break-word;
}

.step-date {
    color: #9f9f9f;
    font-size: 16px;
    white-space: nowrap;
    padding-top: 3px;
}

@media(max-width:768px) {

    .location-title {
        font-size: 26px !important;
    }

    .city {
        font-size: 18px !important;
    }

    .step-date {
        font-size: 14px !important;
    }
}

.site-finder-card .track-textbox{
    color: #292929;
}

.investorfiles {
    border: 1px solid #ffcb00;
    background: white;
    padding: 20px 0px;
    border-radius: 10px;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 760px) {
    .branch-locator-container, .branch-locator-container2 {
        margin: 10px;
        position: absolute;
        top: 270px;
        z-index: 3;
        min-width: 280px;
        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: 11px;
    }

    .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 {
        font-size: 13px;
        white-space: normal;
        padding-top: 0;
    }

    .step-line {
        bottom: -38px;
    }
}
