/* Tracking page layout & overrides */

html,
body {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Header */
.header-navbar-tracking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
    min-height: 80px;
    padding: 12px 20px !important;
    flex-wrap: nowrap;
}

.header-navbar-tracking .navbar-brand {
    margin-right: auto;
    flex: 0 0 auto;
    max-width: none !important;
    padding: 0 !important;
}

.header-navbar-tracking .navbar-brand img {
    width: auto !important;
    height: 58px;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.header-actions {
    margin-left: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.75rem !important;
}

.btn-login-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--tc-theme-heading);
    background: transparent;
    color: var(--tc-theme-heading) !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-login-outline:hover {
    background: var(--tc-theme-heading);
    color: #fff !important;
    border-color: var(--tc-theme-heading);
}

.header-actions .btn-get-in-touch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    margin-right: 0;
    background-color: var(--tc-primary-500) !important;
    border: 1px solid var(--tc-primary-500);
    color: #fff !important;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.header-actions .btn-get-in-touch:hover,
.header-actions .btn-get-in-touch:focus,
.header-actions .btn-get-in-touch:active {
    background-color: var(--tc-primary-700) !important;
    border-color: var(--tc-primary-700) !important;
    color: #fff !important;
    opacity: 1;
}

.header-tracking .offCanvas__side-info .nav-link i {
    width: 1.1rem;
    color: var(--tc-primary-500);
}

.header-tracking .btn-menu {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 1.5rem;
    color: #111;
}

.header-tracking .btn-menu i {
    line-height: 1;
}

.offCanvas__close-icon button i {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--tc-theme-primary);
}

.sub-heading-fitree-sm > i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -3px;
    font-size: 0.65rem;
}

.btn-scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tc-theme-primary);
}

.btn-scroll-top:after {
    display: none;
    content: none;
}

.btn-scroll-top > i {
    font-size: 1.25rem;
    color: var(--tc-theme-primary);
    line-height: 1;
}

/* Banner */
.tracking-banner {
    position: relative;
    flex: 1 1 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.tracking-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
    pointer-events: none;
}

.tracking-banner .box-faq-single-banner-inner {
    position: relative;
    z-index: 1;
    padding: 140px 0 40px;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: none;
}

.tracking-banner .box-faq-single-banner-inner::before,
.tracking-banner .box-faq-single-banner-inner::after {
    display: none;
}

.tracking-banner .display-ag-2xl {
    text-align: center;
}

.tracking-hero-row {
    min-height: auto;
    align-content: center;
    width: 100%;
}

.tracking-glass-panel {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
}

.tracking-form-panel {
    padding: 1.5rem;
    width: 100%;
}

.tracking-banner .form-contact-us .form-control {
    height: 52px;
    border-radius: 8px;
    border: 1px solid var(--tc-border-1);
    padding: 12px 16px;
}

.tracking-banner .form-contact-us select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 10px;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
}

.tracking-banner .form-contact-us .btn-primary-square-2-md {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.track-block,
.tracking-info,
.delivery-info {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Footer */
.footer-copyright-only {
    flex-shrink: 0;
    background-color: var(--tc-dark-950);
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright-only a {
    color: var(--tc-primary-400);
    text-decoration: none;
}

.footer-copyright-only a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .header-navbar-tracking {
        min-height: 70px;
        padding: 10px 15px !important;
    }

    .header-navbar-tracking .navbar-brand img {
        height: auto;
        max-width: 220px;
    }
}

@media (max-width: 991.98px) {
    .header-style-4 .navbar .header-navbar {
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .tracking-banner .form-contact-us .btn-primary-square-2-md {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .tracking-banner,
    .tracking-banner .box-faq-single-banner-inner {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .tracking-banner .box-faq-single-banner-inner {
        padding: 120px 0 30px;
    }

    .footer-copyright-only .d-flex {
        justify-content: center !important;
        text-align: center;
        flex-direction: column;
        gap: 0.35rem !important;
    }

    .btn-scroll-top {
        right: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .header-navbar-tracking .navbar-brand img {
        height: auto;
        max-width: 180px;
    }
}
