html{text-size-adjust:none; -webkit-text-size-adjust: none;-ms-text-size-adjust: 100%;}
*{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;}
*:before,*:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
a {text-decoration: none;outline: none;color: inherit;}
a:hover{cursor: pointer;}
a:focus{outline: none;box-shadow:none}
img {border: 0;display: block;}
ul{list-style: none}
b,strong {font-weight: normal;}
input:focus, textarea:focus{outline:none;box-shadow: none;}
input, textarea, select, button{-webkit-appearance: none;-moz-appearance: none;appearance: none;border: none;-webkit-border-radius: 0;-moz-border-radius:0;border-radius: 0;font-family: inherit;font-weight: inherit;line-height: normal;font-size: inherit;box-shadow: none;outline: none;}
input[type=submit]{cursor:pointer;}
h1,h2,h3,h4,h5,h6{font-weight: normal;}
footer,header,nav{display: block;}
.clearfix:after,.clearfix:before,.container:after,.container:before{content:" ";display:table}
.clearfix:after,.container:after{clear:both}
.img-responsive{width:100%;height: auto;display: block;}
/* Color Variables */
:root {
    /* Primary Colors */
    --color-primary: #002B6B;
    --color-primary-dark: #FF7B4A;
    
    /* Secondary Colors */
    --color-secondary: #1A73E8;
    --color-secondary-orange: #FF9900;
    --color-accent: #FF7B4A;
    --color-accent-gradient: linear-gradient(133deg, #FF7B4A 14.64%, #FF435B 85.54%);
    --color-accent-hover: #FF435B;
    --color-success: #2C9F49;
    --color-error: #E71A1A;
    
    /* Pastel Colors */
    --color-warning: #FFEED2;
    --color-info: #ECF4FF;
    --color-pastel-green: #EDF4F0;
    --color-pastel-pink: #F9ECEC;
    --color-pastel-peach: #FFF2ED;
    
    /* Background Colors */
    --color-bg: #FBFBFC;
    --color-bg-light: #FFFFFF;
    --color-bg-lighter: #F6F6F6;
    --color-bg-lightest: #EDEEF0;
    --color-bg-dark: #1E242C;
    --color-bg-card-alt: #EDEEF0;
    --color-bg-input: #FFFFFF;
    --color-bg-input-alt: #EDEDED;
    --color-bg-linear: rgba(245, 247, 250, 0.00);
    /* Border Colors */
    --color-border: #D1D5DB;
    --color-border-light: #EDEEF0;
    --color-border-dark: #848D9B;
    
    /* Text Colors */
    --color-text: #1E242C;
    --color-text-secondary: #414D60;
    --color-text-tertiary: #848D9B;
    --color-text-light: #848D9B;
    --color-text-muted: #6C7787;
    --color-text-accent: #FF7B4A;
    --color-text-link: #1A73E8;
    --color-footer-text: #677180;
    
    /* Shadow Colors */
    --color-shadow: rgba(0, 0, 0, 0.05);
    --color-shadow-strong: rgba(0, 0, 0, 0.10);
    --color-overlay: rgba(0, 0, 0, 0.7);
    --card-shadow: rgba(0, 43, 107, 0.06);
    
    /* Additional Colors */
    --color-pill-error: #F9ECEC;
    --color-blue: #1A73E8;
    --color-pill-border: rgba(133, 140, 153, 0.60);
    --color-shadow-light: rgba(0,0,0,0.25);
    --color-hover: #F4F5F6;
    --color-label-focus-border:rgba(130, 139, 153, 0.60);
    --color-label-focus-shadow:rgba(0, 0, 0, 0.02);
    --color-label-placeholder:#838C9A;
}

:root[data-theme="dark"] {
    /* Primary Colors */
    --color-primary: #FF7B4A;
    --color-primary-dark: #FFFFFF;
    
    /* Secondary Colors */
    --color-secondary: #1A73E8;
    --color-secondary-orange: #FF9900;
    --color-success: #2C9F49;
    --color-error: #E81A1A;
    
    /* Pastel Colors */
    --color-warning: #FFEED2;
    --color-info: #ECF4FF;
    --color-pastel-green: #203124;
    --color-pastel-pink: #F9ECEC;
    --color-pastel-peach: #FFF2ED;
    
    /* Background Colors */
    --color-bg: #090909;
    --color-bg-light: #1B1B1B;
    --color-bg-lighter: #141414;
    --color-bg-lightest: #1B1B1B;
    
    /* Border Colors */
    --color-border: #222222;
    --color-border-light: #D1D5DB;
    --color-border-dark: #EDEEF0;
    --color-bg-input-alt:#222222;
    /* Text Colors */
    --color-text: #464646;
    --color-text-secondary: #6A6A6A;
    --color-text-tertiary: #929292;
    --color-text-light: #1E242C;
    --color-text-muted: #414D60;
    --color-text-accent: #FF7B4A;
    --color-text-link: #1A73E8;
    --color-hover: #222;
    /* Shadow Colors */
    --color-shadow: rgba(0,0,0,0.7);
    --color-shadow-strong: rgba(0,0,0,0.85);
    
    --color-overlay: rgba(0,0,0,0.85);
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent
}

::-webkit-scrollbar {
    width: 6px;
    height: 0;
    background-color: transparent
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--color-border-light);
}
body {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(180deg, var(--color-bg-lighter) 0%, var(--color-bg-linear) 100%);
    margin: 0;
    /* min-width: 1024px; */
}
svg{
    display: block;
}
.hidden{
    display: none !important;
}
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.header {
    width: 100%;
    height: 64px;
    padding: 12px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg-light);
    position: relative;
}
.header-left img{
    width: 190.031px;
height: 26.444px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-search{
    width: 519px;
    height: 48px;
    position: relative;
}
.header-search .searchicon{
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    background: none;
    cursor: pointer;
}
.header-search .search-text{
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 44px;
    border-radius: 56px;
    border: 1px solid var(--color-bg-input-alt);
    background: var(--color-bg-light);
    color: var(--color-bg-dark);
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 48px; /* 24px */
}
.lang-select {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.lang-flag {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
.en{
    background: url(../images/newtab_ff/en.svg) no-repeat center center;
    background-size: contain;
}
.lang-code {
    font-weight: 600;
    color: var(--color-text);
}

.main-content {
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.main-title {
    color: var(--color-primary);
text-align: center;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 125%; /* 40px */
letter-spacing: -0.64px;
margin-bottom: 12px;
}
.notracking-content-bottom .main-title{
    margin-bottom: 0;
}
.subtitle {
    color: var(--color-text-secondary);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin-bottom: 24px;
}
.tracking-counter{
    display: none;
}
.tracking-form {
    background: var(--color-bg-light);
    border-radius: 56px;
    /* box-shadow: 8px 8px 56px 0px var(--color-shadow); */
    border: 1px solid var(--color-bg-input-alt);
    /* padding: 0 24px; */
    max-width: 770px;
    height: 64px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.tracking-search-icon {
   position: absolute;
   top: 50%;
   left: 24px;
   transform: translateY(-50%);
}
.tracking-btn{
    display: flex;
    padding: 14px 24px;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    border-radius: 32px;
    background: var(--color-accent);
    color: var(--color-bg-light);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 128%; /* 20.48px */
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    /* transition: background 0.3s; */
}
.tracking-btn:hover{
    background: var(--color-accent-gradient);
    /*  transition: background 0.3s; */
}
.tracking-input {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 16px 140px 16px 56px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 56px;
/* border: 1px solid var(--color-border);
background: var(--color-bg-light);
box-shadow: 8px 8px 56px 0px var(--color-shadow); */
color: var(--color-text-secondary);
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 64px; /* 35.52px */
border: 1px solid transparent;
}
.tracking-input::placeholder, .header-search .search-text::placeholder {
    color: var(--color-text-light);
}
.tracking-input:focus{
    box-shadow: 8px 8px 56px 0 var(--color-shadow);
}
.recent-searches {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.recentlist{
    display: flex;
    align-items: center;
    gap: 10px;
}
.recent-label {
    color: var(--color-text-muted);
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 21px */
}
.recent-item-text{
    display: block;
    max-width: 112px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
.recent-item {
    display: flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 32px;
background: var(--color-bg-card-alt);
    color: var(--color-text-light);
font-size: 14px;
font-style: normal;
font-weight: 500;
cursor: pointer;
line-height: 142%; /* 19.88px */
border: 1px solid rgba(255, 123, 74, 0);
max-width: 214px;
}
.recent-item:hover{
    border: 1px solid rgba(255, 123, 74, 0.20);
        color: var(--color-accent);
    background: var(--color-pastel-peach);
}
.icon-clock {
    width: 16px;
    height: 16px;
    background: url(../images/newtab_ff/recenticon.svg) no-repeat center center;
    background-size: contain;
}
.recent-item:hover .icon-clock{
    background: url(../images/newtab_ff/recenticonh.svg) no-repeat center center;
    background-size: contain
}
.recent-item-close{
    width: 18px;
height: 18px;
background: url(../images/newtab_ff/delrecent.svg) no-repeat center center;
background-size: contain;
cursor: pointer;
}
.recent-clear {
    cursor: pointer;
    color: var(--color-text-light);

font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 21px */
}
.recent-clear:hover {
    color: #FF7B4A;
    text-decoration: underline;
}
.footer {
    background: var(--color-bg-light);
    margin-top: auto;
    padding: 16px 100px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap:24px
}
.footer ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer ul li {
    position: relative;
}
.footer ul li a {

    
    color: var(--color-footer-text);
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 14px */
    /* text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font; */
}
.footer ul li a:hover {
    color:#002B6B;
    text-decoration: underline;
}
.footer-note {

    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-footer-text);
text-align: center;
font-size: 11px;
font-style: normal;
font-weight: 400;
}
.footer-bot-right {
    position: fixed;
    right: 100px;
    bottom: 70px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    border-radius: 50%;
    /* overflow: hidden; */
    cursor: pointer;
}
.icon-bot {
    width: 56px;
    height: 56px;
    background: url(../images/newtab_ff/chatbot.gif) no-repeat center center;
    background-size: contain;
    display: inline-block;
}
.icon-bot:hover {
    background: url(../images/newtab_ff/chatbot-h.gif) no-repeat center center;
    background-size: contain;
}
.sec-title{
    margin: 40px 0 20px;
    color: var(--color-text-muted);
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 19.2px */
text-align: left;
}
.cards-container{
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
    padding: 0 15px;
}
.package-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    border-radius: 20px;
    border: 1px solid var(--color-bg-input-alt);
    background: var(--color-bg-light);
    box-shadow: 10px 25px 100px 0px var(--card-shadow);
    position: relative;
    margin-bottom: 1px;
}
.package-card__top {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 24px 32px;
    justify-content: space-between;
    position: relative;
}
.package-card__logo {
    width: 48px;
height: 48px;
border-radius: 12px;
background: var(--color-bg-card-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.package-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.package-card__id-row {
    display: flex;
    align-items: center;
}
.package-card__id {
    color: var(--color-text);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    text-align: left;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-right: 10px;
    text-transform: uppercase;
}
.package-card__label-btn {
    background: var(--color-bg);
    color: var(--color-text-light);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 18px;
    cursor: not-allowed;
    margin-left: 20px;
}
.package-card__addresses {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.package-card__address-from, .package-card__address-to {
    color: var(--color-text-secondary) !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    text-align: left;
}
.package-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
height: 16px;
background: url(../images/newtab_ff/arrow.svg) no-repeat center center;
background-size: contain;
}
.package-card__right {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 1;
    gap: 40px;
}
.package-title-header{
    display: flex;
height: 40px;
padding: 11px 31px;
justify-content: flex-start;
align-items: center;
align-self: stretch;
border-top: 1px solid var(--color-bg-input-alt);
border-bottom: 1px solid var(--color-bg-input-alt);
background: var(--color-bg);
gap: 56px;
}
.package-title-header p{
    color: var(--color-text-light);
font-size: 14px;
font-weight: 600;
line-height: 125%;
letter-spacing: 0.56px;
text-transform: uppercase;
text-align: left;
}
.package-title-header p:first-child, .package-car-infor__left{
    width: 340px;
}
.package-car-infor{
    display: flex;
    justify-content: flex-start;
align-items: center;
padding: 24px 32px;
gap:56px;
border-bottom: 1px solid var(--color-border);
}
.package-car-infor__left,.package-card__addresses p{
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.package-car-infor__left h2{
    color: var(--color-text-secondary);
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    text-transform: capitalize;
}
.package-car-infor__left p, .package-card__addresses span{
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 500;
    line-height: 125%;
}

.pin{
    margin-left: 28px;
}
.package-card__left{
    display: flex;
    align-items: center;
    gap: 20px;
}
.package-card__status-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
/*     margin-right: 40px; */
}
.package-card__status {
    display: flex;
width: 140px;
padding: 8px;
justify-content: center;
align-items: center;
border-radius: 12px;
/* margin: 0 36px; */
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 150%; /* 24px */
text-transform: capitalize;
top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
.package-card__status--pending {
    background: var(--color-warning);
    color: #F90;
}
.package-card__status--delivered{
    background: var(--color-pastel-green);
    color: var(--color-success);
}
.package-card__status--transit{
    background: var(--color-info);
    color: var(--color-blue);
}
.package-card__status--error{
    background: var(--color-pastel-pink);
    color: var(--color-error);
}
.package-card__est-label {
    color: var(--color-text-light);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
}
.package-card__est-date {
    color: var(--color-text);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 24px */
}
.package-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.package-card__icon-btn {
    background: var(--color-bg-card-alt);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
    position: relative;
}
.shared-package-card .package-card__icon-btn.pin{
    display: none;
}
.package-card__icon-btn:hover{
    background: #002B6B;
}
.package-card__icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}
.share{
    /* margin-left: 12px; */
}
.package-card__icon-btn::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    z-index: 1;
}
.mail::before{
    background: url(../images/newtab_ff/email.svg) no-repeat center center;
    background-size: contain;
}
.mail:hover::before{
    background: url(../images/newtab_ff/emailh.svg) no-repeat center center;
    background-size: contain;
}
.website::before{
    background: url(../images/newtab_ff/website.svg) no-repeat center center;
    background-size: contain;
}
.website:hover::before{
    background: url(../images/newtab_ff/websiteh.svg) no-repeat center center;
    background-size: contain;
}
.call::before{
    background: url(../images/newtab_ff/call.svg) no-repeat center center;
    background-size: contain;
}
.call:hover::before{
    background: url(../images/newtab_ff/callh.svg) no-repeat center center;
    background-size: contain;
}
.share::before{
    background: url(../images/newtab_ff/share.svg) no-repeat center center;
    background-size: contain;
}
.share:hover::before{
    background: url(../images/newtab_ff/shareh.svg) no-repeat center center;
    background-size: contain;
}
.pin::before{
    background: url(../images/newtab_ff/pin.svg) no-repeat center center;
    background-size: contain;
}
.pin:hover::before{
    background: url(../images/newtab_ff/pinh.svg) no-repeat center center;
    background-size: contain;
}
.pinnedwrp .pin{
    background: var(--color-text-light);
}
.pinnedwrp .pin::before{
    background: url(../images/newtab_ff/pinh.svg) no-repeat center center;
    background-size: contain;
}
.expand-btn{
    width: 22px;
    height: 22px;
    background: url(../images/newtab_ff/arrowdown.svg) no-repeat center center;
    background-size: 100%;


}
.expand-btn.active{
    transform: rotate(180deg);
}
.package-card__expand {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-text-light);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
    user-select: none;
}
.package-card__expand svg {
    width: 16px;
    height: 16px;
}

.package-card.expanded, .package-card:hover{
    border: 1px solid var(--color-border-dark);
}

.package-card:hover .label-icon{
    display: block;
}
.package-card:hover .package-card__label-wrap{
   padding-right: 0;
}
.package-card__actions.error-actions button{
    pointer-events: none;
    opacity: 0.5;
}
.shared-package-card .package-card__label-wrap{
    display: none;
}

/* Horizontal Status Tracker */
.package-card__expanded-status-tracker{
    width: 100%;
}
.status-tracker {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin: 16px 0 32px;
    position: relative;
    gap: 8px;
    overflow: hidden;
    padding: 0 32px;
}
.status-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    position: relative;
}
.status-step:not(:last-child){
    width: 340px;
}
.status-step:not(:last-child)::before{
    content: '';
    position: absolute;
    top: 11px;
    left: 32px;
    width: 100%;
    height: 2px;
    background: #D1D5DB;
}
.status-step.done:not(:last-child)::before {
    background: #414D60;
}
.status-step .status-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: url(../images/newtab_ff/dot.svg) no-repeat center center;
    background-size: contain;
    position: relative;
    z-index: 2;
}
.status-step::after{
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 42px;
    height: 42px;
    background: var(--color-bg-light);
    z-index: 1;
}
.status-tracker .status-step:last-child::after{
    left: auto;
    right: -8px;
}
.status-step:last-child .status-icon{
    background: url(../images/newtab_ff/undelivered.svg) no-repeat center center;
    background-size: contain;
}
.current.step1 .status-icon{
    background: url(../images/newtab_ff/trucko.svg) no-repeat center center;
    background-size: contain;
}
.current.step3 .status-icon, .current.step4 .status-icon, .current.step2 .status-icon{
    background: url(../images/newtab_ff/truckb.svg) no-repeat center center;
    background-size: contain;
}
.status-step.done .status-icon{
    background: url(../images/newtab_ff/done.svg) no-repeat center center;
    background-size: contain;
}
.status-step.delivered .status-icon{
    background: url(../images/newtab_ff/delivered.svg) no-repeat center center;
    background-size: contain;
}
.status-step .status-label {
    color: rgba(65, 77, 96, 0.60);;

    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.status-step.done .status-label{
    font-weight: 700;
    color: var(--color-text-secondary);
}
.status-step .status-date {
    color: #414D60;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}
.step1.current .status-label {
    color: #F90;
    font-weight: 700;
}
.step4.current .status-label, .step3.current .status-label, .step2.current .status-label {
    color: var(--color-blue);
    font-weight: 700;
}
.status-step.delivered .status-label{
    color: var(--color-success);
    font-weight: 700;
}
.status-tracker .status-step:last-child{
    align-items: flex-end;
    position: absolute;
    right: 32px;
}
/* .step1 .status-date,.step1 .timeline-date{
    display: none !important;
} */
.package-tracking-title{
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 600;
    line-height: 125%;
letter-spacing: 0.56px;
text-transform: uppercase;
padding: 24px 32px 0;
text-align: left;
}
.transit-detail-short p{
    color: #414D60;
    font-size: 13px;
    font-weight: 600;
    line-height: 150%;
    width: 250px;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 24px;
}
.transit-detail-short p::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
    width: 20px;
    height: 20px;
    background: url(../images/newtab_ff/bluedot.svg) no-repeat center center;
}
.transit-detail-short p::after{
    content: '';
    position: absolute;
    top: 18px;
    left: 9px;
    height: 51px;
    width: 2px;
    background: url(../images/newtab_ff/lineblue.svg) no-repeat center center;
}
.transit-detail-short span{
    color: var(--color-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    padding-left: 24px;

margin-top: 8px;
cursor: pointer;
}
.transit-detail-short span:hover{
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.transit-detail-short{
    text-align: left;
    margin-top: 12px;
}
/* Label Your Package styles */
.package-card__label-wrap {
    display: flex;
    align-items: center;
    padding: 4px 16px;
    min-width: 0;
    height: 32px;
    border-radius: 56px;
    background: var(--color-bg-light);
    border: none;
    margin-right: 6px;
    position: relative;
    transition: box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid var(--color-bg-input-alt);
    max-width: 190px;
}
.package-card__label-wrap::placeholder{
    color: var(--color-label-placeholder);
}
.package-card__label-wrap:focus-within {
    background: var(--color-bg-light);
    box-shadow: 8px 8px 20px 0px var(--color-label-focus-shadow);
    border: 1px solid var(--color-label-focus-border);
}
.label-icon {
    display: none;
    align-items: center;
    margin-right: 6px;
    color: var(--color-text-light);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url(../images/newtab_ff/pen.svg) no-repeat center center;
    background-size: contain;
}
.package-card__label-input {
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    outline: none;
    min-width: 0px;
    max-width: 110px;

    transition: color 0.2s;
}
.package-card__label-input:disabled {
    background: transparent;
    color: #BFC3C9;
    cursor: pointer;
}
.package-card__label-input:focus {
    color: var(--color-text-secondary);
}
.package-card__label-input::placeholder{
    color: #838C9A;
}
.package-card__label-saved {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    border: none;
    outline: none;
    padding: 2px 0;
    min-width: 0px;
    max-width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
    display: block;
}
/* .package-card__label-saved.active {
    color: var(--color-text);
    font-weight: 600;
} */
.package-card__label-wrap.saving {
    background: var(--color-bg);
    box-shadow: 0 2px 16px 0 rgba(44, 62, 80, 0.08);
    border: none;
}

.package-card__label-wrap.has-label{
    background: var(--color-border-light);
    box-shadow: 8px 8px 56px 0 var(--color-shadow);
    border: 1px solid transparent;
}
.package-card__label-wrap:hover .label-icon{
    display: flex;
}
.package-card__label-wrap:hover{
    padding-right: 0;
}
/* Tracking Pills Styles */
/* .tracking-pills-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    height: 100%;

    background: transparent;
    padding-left: 56px;
    padding-right: 140px;
}
.tracking-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    border: 1px solid var(--color-bg-card-alt);
    padding: 4px 12px;
    position: relative;
    color: #323C4B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; 
}
.tracking-pill-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: url(../images/newtab_ff/close-circle.svg) no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.tracking-pills-container .tracking-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #3B4256;
    min-width: 120px;
    flex: 1 1 120px;
    padding: 16px 8px 16px 0px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
}
.tracking-pills-container .tracking-input::placeholder {
    color: #BFC3C9;
    font-weight: 400;
} */

/* Tooltip Styles */
.has-tooltip {
    position: relative;
}
.custom-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 300px;
    background: var(--color-bg-dark);
filter: drop-shadow(0px 8px 16px var(--color-shadow));
color: var(--color-bg-light);
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 20.8px */
    padding: 24px;
    border-radius: 16px;
    
    z-index: 1000;
    pointer-events: none;
    white-space: normal;
}
.has-tooltip:hover .custom-tooltip {
    display: block;
}
.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--color-bg-dark) transparent transparent transparent;
    width: 0;
    height: 0;
}

.add-trackidscroll .custom-tooltip{
    left: auto !important;
    right: -5px !important;
    transform: none !important;
}

.add-trackidscroll .custom-tooltip::after {
    left: auto !important;
    transform: none !important;
    right: 15px !important;
}

/* Footer Bot Tooltip Styles */
.footer-bot-tooltip {
    display: none;
    position: absolute;
    right:0;
    bottom: 70px;
    background: var(--color-bg-input-alt);
    background-size: contain;
    color: var(--color-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    max-width: 282px;
    width: max-content;
    filter: drop-shadow(0px 8px 16px var(--color-shadow));
    z-index: 2000;
    pointer-events: none;
    white-space: normal;
}
.footer-bot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--color-bg-input-alt) transparent transparent transparent;
}
.footer-bot-right:hover .footer-bot-tooltip,
.footer-bot-right:focus-within .footer-bot-tooltip {
    display: block;
}

/* AI Assistant Chatbot Modal Styles */
.ai-assistant-modal {
    display: none;
    position: fixed;
    right: 100px;
    bottom: 135px;
    z-index: 99999;
    width: 300px;
    max-width: 95vw;
    background: none;
}
.ai-assistant-modal.open {
    display: block;
}
.ai-assistant-modal__content {
    border-radius: 20px;
border: 1px solid var(--color-border);
background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-lightest) 26.77%, var(--color-bg-light) 51.45%);
box-shadow: 10px 25px 60px 0px var(--color-shadow-strong);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 340px;
}
.ai-assistant-modal__header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex-direction: column;
}
.ai-assistant-modal__title {
    color: var(--color-primary);
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 30px */
}

.ai-assistant-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    align-self: flex-end;
    position: absolute;
    top: 16px;
    right: 16px;
}
.ai-assistant-modal__body {
    padding: 0px 15px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    max-height: 275px;
}
.ai-assistant-modal__suggestions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ai-assistant-suggestion {
    border-radius: 56px;
border: 1px solid var(--color-border);
background: var(--color-bg-light);
box-shadow: 8px 8px 56px 0px var(--color-shadow);
    padding: 12px 20px;
    color: var(--color-primary);
    font-family: Manrope;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.ai-assistant-suggestion:hover {
    background: var(--color-bg-input-alt);
}
.ai-assistant-modal__chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    /* max-height: 220px; */
    /* overflow-y: auto; */
}
.ai-assistant-message {
    /* font-size: 16px; */
    /* max-width: 80%; */
    word-break: break-word;
}
.ai-assistant-message--user {
    align-self: flex-end;
    border-radius: 56px;
background: var(--color-accent-gradient);
padding: 8px 16px;
color: var(--color-bg-light);
text-align: right;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 21px */
}
.ai-assistant-message--bot {
    align-self: flex-start;
    padding: 12px 16px;
    border-radius: 16px;
border: 1px solid var(--color-border);
background: var(--color-bg-light);
box-shadow: 8px 8px 56px 0px var(--color-shadow);
color: var(--color-primary);
font-family: Manrope;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 21px */
margin-left: 32px;
position: relative;
}
.ai-assistant-message--bot::before{
    content: '';
    position: absolute;
    top: 0;
    left: -32px;
    width: 24px;
    height: 24px;
    background: url(../images/newtab_ff/helph.svg) no-repeat center center;
    background-size: contain;
}
.ai-assistant-modal__footer {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--color-border);
    /* background: #fff; */
    gap: 8px;
}

.ai-assistant-message-title{
    color: #002B6B;
    font-size: 16px;
    margin-bottom: 16px;
}

.ai-assistant-message-item{
    margin-bottom: 16px;
    color: #002B6B;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 18px */
}

.ai-assistant-message-item strong{
    font-weight: 600;
    text-transform: capitalize;
}

.ai-assistant-message .ai-assistant-message-item:last-child{
    margin-bottom: 0;
}

/* Typing animation styles */
.typing-message {
    opacity: 1;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
.ai-assistant-input {
    flex: 1;
    border: none;
    /* background: #F6F8FA; */
    /* border-radius: 24px;
    padding: 12px 18px; */
    color: var(--color-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 222%; /* 31.08px */
    outline: none;
}
.ai-assistant-send {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.ai-assistant-send svg {
    display: block;
}


/* Language Dropdown Styles */
.lang-dropdown-wrapper, .modal-overlay__content {
    display: block;
    width: 422px;
    z-index: 1200;
    list-style: none;
    margin: 0;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
    box-shadow: 0px 16px 32px 0px var(--color-shadow);
    max-height: calc(100% - 100px);
    height: max-content;
    overflow-y: auto;
}

.lang-dropdown-wrapper ul{
    padding: 16px 0;
}
.lang-dropdown-wrapper li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    color: var(--color-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 112%; /* 15.68px */
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}
.lang-dropdown-wrapper li.selected {
    font-weight: 700;
    position: relative;
}
.lang-dropdown-wrapper li.selected::after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 20px;
    height: 20px;
    background: url(../images/newtab_ff/check.svg) no-repeat center center;
    background-size: contain;
}
.lang-dropdown-wrapper li:hover:not(.selected) {
    background: var(--color-bg-input-alt);
}
.lang-flag {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 50%;
}
.lang-flag.en { background-image: url('../images/newtab_ff/en.svg'); }
.lang-flag.ro { background-image: url('../images/newtab_ff/ro.svg'); }
.lang-flag.cn { background-image: url('../images/newtab_ff/cn.svg'); }
.lang-flag.pt { background-image: url('../images/newtab_ff/pt.svg'); }
.lang-flag.tw { background-image: url('../images/newtab_ff/tw.svg'); }
.lang-flag.de { background-image: url('../images/newtab_ff/de.svg'); }
.lang-flag.fr { background-image: url('../images/newtab_ff/fr.svg'); }
.lang-flag.ja { background-image: url('../images/newtab_ff/ja.svg'); }
.lang-flag.es { background-image: url('../images/newtab_ff/es.svg'); }
.lang-flag.pl { background-image: url('../images/newtab_ff/pl.svg'); }
.lang-flag.it { background-image: url('../images/newtab_ff/it.svg'); }
.lang-flag.nl { background-image: url('../images/newtab_ff/nl.svg'); }
.lang-flag.sv { background-image: url('../images/newtab_ff/sv.svg'); }
.header {
    position: sticky;
    top: 0;
    z-index: 1001;
}
.lang-select-wrapper, .modal-overlay{
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: var(--color-overlay);
}
.lang-select-wrapper.open, .modal-overlay.open{
    display: flex;
}
.lang-dropdown-header, .modal-overlay__header{
   text-align: center;
    position: sticky;
        top: 0;
    background: white;
    z-index: 3;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}
.filters-modal .modal-overlay__header{
   /*  background: transparent; */
}
.filters-modal .modal-overlay__content{
    /* overflow: visible; */
}
.lang-dropdown-close, .modal-overlay__close{
    position: absolute;
    top: 20px;
    right: 24px;
    cursor: pointer;
    height: 24px;
    width: 24px;
    background: url(../images/newtab_ff/close-p.svg) no-repeat center center;
    background-size: contain;
}
.lang-dropdown-title, .modal-overlay__title{
    color: var(--color-text);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 25.6px */
}
/* Loading Indicator Styles */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-bg-card-alt);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator p {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Error Message Styles */
.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.error-content {
    max-width: 400px;
}

.error-content p {
    color: var(--color-error);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.retry-btn {
    background: var(--color-primary);
    color: var(--color-bg-light);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.retry-btn:hover {
    background: var(--color-primary);
}

/* No Results Styles */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.no-results p {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
}

.no-results p:last-child {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--color-text-light);
}

/* Settings Modal Styles */
.settings-btn{
    width: 36px;
    height: 36px;
background: url(../images/newtab_ff/settings.svg) no-repeat center center;
border: none;
cursor: pointer;
position: relative;
}
.settings-btn:hover{
    background: url(../images/newtab_ff/settingsh.svg) no-repeat center center;
}
/* modals */
.p24{
    padding: 24px;
}
.add-tracking-modal .tracking-btn{
    position:relative;
    transform: none;
    width: 100%;
    right: 0;
    justify-content: center;
}
.add-tracking-modal .tracking-form{
    height: 48px;
    box-shadow:none; 
    margin-bottom: 24px;  
}
.add-tracking-modal .tracking-search-icon{
    width: 22px;
    height: 22px;
    font-size: 16px;
    left:16px;
    line-height: 150%; /* 21px */
}
.add-tracking-modal .tracking-input{
    padding: 13px 8px 13px 46px;
    font-size: 14px;
}
/* view permission modal */
.view-permission-modal .modal-overlay__body{
    padding: 24px 24px 20px;
}
.view-permission-modal .modal-overlay__body p{
    color: #848D9B;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 24px */
text-align: left;
}
.view-permission-modal .modal-overlay__title{
    color: #1E242C;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    text-align: left;
}
.view-permission-modal .modal-overlay__header{
    display: flex
    ;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px 24px;
border-bottom: 1px solid #EDEDED;
background: linear-gradient(180deg, #FFF2ED 0%, rgba(253, 243, 240, 0.80) 58.78%, rgba(245, 247, 250, 0.00) 104.37%);
}
.view-permission-modal .modal-overlay__body .bottomshare{
    margin-top: 24px;
}
.view-permission-modal .modal-overlay__body .bottomshare button{
    display: flex;
width: 195px;
padding: 14px;
justify-content: center;
align-items: center;
gap: 4px;
border-radius: 32px;
background: #FF7B4A;
color: #FFF;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 128%; /* 20.48px */
cursor: pointer;
}
.view-permission-modal .bottomshare button:hover {
    background: #e66a3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 123, 74, 0.3);
}
.view-permission-modal{
    height: calc(100% - 64px);
    top: 64px;
}
@media (max-width: 1366px) {
    .header{
        padding: 12px 15px;
    }
    .footer{
        padding: 16px 15px;
    }
}
@media (max-width: 1250px) {
    .custom-tooltip{
        left: auto;
        right: -5px;
        transform: none;
    }
    .custom-tooltip::after{
        left: auto;
        transform: none;
        right: 15px;
    }
    .add-trackid  .custom-tooltip{
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    .add-trackid  .custom-tooltip::after{
        left: 50%;
    transform: translateX(-50%);
    right: auto;
    }
}
@media (max-width: 1200px) {
    .status-step:not(:last-child)::before{
        width: 88%;
    }
}
@media (max-width: 1100px) {
    .package-card__id, .package-card__label-wrap {
        max-width: 150px;
    }
    .package-card__status-row {
        margin-right: 0;
    }
    .package-card__actions{
        gap: 5px;
    }
}
@media (max-width: 1180px) {
    .package-card__left{
        gap: 15px;
    }
    .package-card__id{
        max-width: 175px;
    }
    .package-card__icon-btn{
        margin-left: 0;
    }
    .package-card__status{
        margin: 0 15px;
    }
    .package-card__status-row{
        margin-right: 15px;
        min-width: 100px;
    }
    .share{
        margin-left: 6px;
    }
    .package-card{
        
    }
   
    .package-card__right{
        gap: 15px
    }

}

@media (max-width: 1023px){
    .package-card__id,.package-card__est-date{
        font-size: 18px;
    }
    .package-card__address-from, .package-card__address-to, .package-card__label-input,.package-card__est-label,.package-card__status, .status-step .status-label{
        font-size: 14px;
    }
    .package-card__icon-btn{
        width: 30px;
        height: 30px;
    }
    .package-card__status{
        width: max-content;
        padding: 8px 10px;
    }
    .package-card__icon-btn::before{
        width: 16px;
    height: 16px;
    }
    .package-card__logo{
        width: 60px;
    height: 60px;
    border-radius: 10px;
    }
    .package-card__logo img{
        max-width: 100%;
    }
    .share {
        margin-left: 0;
    }
    .package-card__actions{
        gap: 6px;
    }
    .package-card__top{
        gap:20px;
        padding:15px;
    }
    .package-title-header{
        padding: 11px 15px;
    }
    .package-car-infor{
        padding: 24px 15px;
    }
    .package-tracking-title{
        padding: 24px 15px 0;
    }
    .status-tracker{
        padding: 0 15px;
    }
    .status-step:not(:last-child)::before {
        width: 100%;
    }
    .package-card__logo, .package-card__status-row {
        margin-right: 0;
    }
    .package-card__status {
        margin: 0;
    }
    .status-tracker .status-step:last-child{
        position: relative;
    }
    .package-card__id-row{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .header {
        padding: 15px;
    }
    .footer{
        padding: 24px 15px;
    }
    .header-search{
        /* display: none; */
    }
    .tracking-form{
        width: calc(100% - 30px);
        margin: 0 auto;
    }
    .add-tracking-modal .tracking-form{
        width: 100%;
    }
    .recent-searches{
        padding: 0 15px;
        margin: 15px 0;
        flex-direction: column;
        gap: 20px;
    }
    .main-title{
        font-size: 30px;
    }
    .main-content{
        margin-top: 50px;
    }
    .sec-title{
        margin: 20px 0;
    }
    .recentlist{
        flex-wrap: wrap;
    justify-content: center;
    }
}
@media (max-width: 768px){
    .transit-detail-short{
        text-align: center;
    }
    .package-title-header p:first-child, .package-car-infor__left{
        width: 50%;
    }
    .package-title-header, .package-car-infor{
        gap:10px
    }
    .package-title-header{
        height: auto;
    }
    .package-car-infor__left h2{
        font-size: 18px;
    }
    .transit-detail-short p::before, .transit-detail-short p::after{
        display: none;
    }
    .status-tracker .status-step:last-child{
        right: auto;
    }
    .package-card__id-row{
        flex-direction: row;
        align-items: center;

    }
    .package-card__left{
        align-items: center;
        width: 100%;
        padding-right: 125px;
    }
    .package-card__icon-btn {
        width: 40px;
        height: 40px;
    }
    .main-title {
        font-size: 24px;
    }
    .main-content {
        margin-top: 0px !important;
    }
    .search-screen{
        margin-top: 60px !important;
    }
    .footer-bot-right{
        right: 20px;
    bottom: 32px;
    }
    .subtitle{
        font-size: 14px;
    }
    .package-card__est-label{
        text-align: left;
    }
    .results-bar-left{
        display: flex
;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    flex-direction: column;
    }
    .tracking-form{
        margin-bottom: 80px;
    }
    .tracking-btn{
        top: 75px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    }
    .add-tracking-modal .tracking-btn{
        top: 0;
        left: 0;
    }
    .package-card__top{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        flex-direction: column;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
   
    }
    .package-card__info{
      /*   padding-top: 20px;
        border-top: 1px solid var(--color-border-light);
        padding-bottom: 20px;
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
        align-items: center; */
    }
    .package-card__status{
        left: auto;
    transform: none;
    right: 15px;
    top: 28px;
    }
    .package-card__right {
        gap: 15px;
        width: 100%;
        justify-content: space-between;
    }
    .status-tracker{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 42px;
    }
    .status-step{
        align-items: center !important;
        padding-bottom: 8px;
    }
    .status-step .status-icon{
        margin-bottom: 10px;
    }
    .status-step:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 50px;
        background: var(--color-border-dark);
    }
    .status-step::after {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 42px;
        background: var(--color-bg-light);
        z-index: 1;
    }
    .footer ul{
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 600px){
    .package-card__id-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .atf_wrap{
        min-width: 400px;
    }
    .lang-dropdown-wrapper, .modal-overlay__content{
        width: 380px;
    }
}
 
/* Pinned state styling */
.package-card__icon-btn--pin.pinned {
    background: var(--color-primary);
}
.package-card__icon-btn--pin.pinned::before {
    background: url(../images/newtab_ff/pinh.svg) no-repeat center center;
    background-size: contain;
}

/* Pin notification messages */
.pin-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px var(--color-shadow-strong);
}

.pin-message.show {
    transform: translateX(0);
}

.pin-message--success {
    background: var(--color-success);
}

.pin-message--error {
    background: var(--color-error);
}

.pin-message--info {
    background: var(--color-primary);
}

/* Hide pinned section when empty */
.pinned-empty-message {
    text-align: left;
    padding: 0px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.pinned-empty-message.hidden {
    display: none;
}

/* --- Settings Dropdown Styles --- */
.settings-wrap{
    position: relative;
}
.notOpted .settings-wrap{
    opacity: 0.5;
    pointer-events: none;
}
.settings-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    width: 338px;
    background: var(--color-bg-light);
    border-radius: 16px;
    box-shadow: 0px 8px 32px 0px var(--color-shadow);
    border: 1px solid var(--color-bg-input-alt);
    z-index: 1001;
    padding: 12px 0;
}
.settings-dropdown.open {
    display: block;
}
.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
   /*  cursor: pointer; */
    transition: background 0.15s;
}
.settings-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border-light);
}
.settings-label {
    flex: 1;
    margin-left: 12px;
    text-align: left;
}
.settings-lang-row {
    cursor: pointer;
}
.settings-lang-flag {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: inline-block;
}
.settings-lang-code {
    margin-left: 8px;
    font-weight: 600;
    color: var(--color-text);
}
/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 20px;
    margin-left: 16px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #D1D5DB;
    border-radius: 16px;
    transition: background 0.2s;
}
.main-title-shared{
    color: #414D60;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
margin-bottom: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background: var(--color-bg-light);
    border-radius: 50%;
    /* box-shadow: 0 2px 8px var(--color-shadow); */
    transition: transform 0.2s;
}
input:checked + .slider {
    background: var(--color-accent);
   
}
input:checked + .slider:before {
    transform: translateX(13px);
    box-shadow: 0 4px 4px 0 var(--color-shadow-light);
}
.slider.round {
    border-radius: 16px;
}
/* Icon Styles */
.settings-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.icon-pin {
    background-image: url('../images/newtab_ff/pin.svg');
}
.icon-moon {
  /*   background-image: url('../images/newtab_ff/moon.svg'); */
}
.icon-globe {
    background-image: url('../images/newtab_ff/globe.svg');
}
/* Toggle ON colors for demo (optional) */
.switch input:checked + .slider {
    background: var(--color-accent);
}
.settings-item:hover {
    background: var(--color-hover);
}
.settings-item:hover .slider:before{
    box-shadow: 0 4px 4px 0 var(--color-shadow-light);
}
.search-screen{
    width: 100%;
    max-width: 800px;
    margin: 96px auto 0;
    padding: 0 15px;
}
.searchwrp{
    margin-top: 40px;
}
/* Tracking Results Bar Styles */
.tracking-results-bar {
    text-align: left;
    margin-bottom: 36px;
}
.results-bar-wrp{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-top: 1px solid var(--color-bg-input-alt); */
    padding-top: 24px;
    margin-bottom: 12px;
}
.results-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.results-bar-pills-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
 /*  overflow-x: auto; */
  /* overflow: hidden; */
}
.results-bar-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  max-width: calc(100% - 116px);
}
.results-bar-pills::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.pills-arrow {
  position: relative;
 /*  top: 50%;
  transform: translateY(-50%);
  z-index: 2; */
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  /* border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center; */
  cursor: pointer;
/*   top: 10px; */
}
.pills-arrow-left {
  left: 0;
  margin-right: 12px;
}
.pills-arrow-right {
  right: 0;
  margin-right: 12px;
}
.pills-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}
.pills-arrow:active {
  opacity: 1;
}

.pills-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ensure .results-bar-pills has no extra margin/padding for overflow */
.results-bar-pills {
  margin: 0;
  /* padding: 0 36px; */ /* space for arrows */
  margin-right: 12px;
}
.pills-arrow { user-select: none; }
.results-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.results-summary {
    color: var(--color-text-secondary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.results-summary strong, .results-summary b {
    font-weight: 600;
}
.results-error, .results-error b {
    color: var(--color-error);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%; /* 24px */
    cursor: pointer;
}
.results-error:hover{
    text-decoration: underline;
}
.back-to-search {
    display: inline-flex;
    align-items: center;
    justify-content:  flex-start;
    padding-left: 8px;
    gap: 13px;
    color: var(--color-accent);
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 22.4px */
margin-bottom: 12px;
cursor: pointer;
}
.back-to-search:hover {
    /* color: var(--color-primary);
    text-decoration: underline; */
}
.tracking-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    border-radius: 32px;
    background: var(--color-bg-card-alt);
    padding: 10px 16px;
    position: relative;
    border: none;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 600;
    line-height: 146%; /* 20.44px */
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    user-select: none;
}

.tracking-pill:hover {
    border: 1px solid var(--color-pill-border);
    /* background: var(--color-bg-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}
.tracking-pill.error {
    background: var(--color-pill-error);
    color: var(--color-error);
}

.tracking-pill.error:hover{
    border: 1px solid rgba(231, 26, 26, 0.20);
}

.tracking-pill:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.tracking-pill.pill-clicked {
   /*  background: var(--color-accent);
    color: var(--color-bg-light);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 123, 74, 0.3); */
}

.tracking-pill.pill-error-feedback {
    background: var(--color-error);
    color: var(--color-bg-light);
    animation: pillShake 0.5s ease-in-out;
}

@keyframes pillShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Card highlight effect when scrolled to from pill click */
.package-card.card-highlighted {
   /*  animation: cardHighlight 2s ease-out;
    position: relative;
    z-index: 10; */
}

@keyframes cardHighlight {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 123, 74, 0.7);
        transform: scale(1);
        border-color: var(--color-accent);
    }
    50% { 
        box-shadow: 0 0 20px 10px rgba(255, 123, 74, 0.4);
        transform: scale(1.02);
        border-color: var(--color-accent);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 123, 74, 0);
        transform: scale(1);
        border-color: var(--color-border);
    }
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhanced scroll behavior for package cards */
.package-card {
    scroll-margin-top: 120px;
    scroll-margin-bottom: 20px;
}
.pill-error-icon {
    width: 20px;
    height: 20px;
    background-image: url(../images/newtab_ff/pill-error.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.tracking-pill-close {
    width: 18px;
    height: 18px;
    background: url(../images/newtab_ff/pill-close.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    position: relative;
}
.add-trackid{
    display: flex;
padding: 8px;
align-items: center;
gap: 16px;
border-radius: 32px;
background: var(--color-accent);
cursor: pointer;
}
.tracking-pill.error .tracking-pill-close {
    color: var(--color-error);
}
.tracking-pill-close:hover {
    /* color: var(--color-primary);
    transform: scale(1.1); */
}
/* Custom Select Dropdown Styles */
.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.custom-select__selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0px;
    background: #fff;
    color: #323C4B;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 24px;
}



.custom-select__selected:focus {
    outline: none;
   
}

.custom-select.open .custom-select__selected {
   /*  border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 43, 107, 0.1); */
}

.custom-select__text {
    flex: 1;
    text-align: left;
}

.custom-select__arrow {
    width: 22px;
    height:22px;
    transition: transform 0.2s ease;
    background: url(../images/newtab_ff/select.svg) no-repeat center center;
    background-size: 22px;
}

.custom-select.open .custom-select__arrow {
    transform: rotate(180deg);
}

.custom-select__options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
    padding: 12px 0;
}

.custom-select.open .custom-select__options {
    display: block;
}

.custom-select__option {
    padding: 12px 16px;
    color: #1E242C;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: capitalize;
   /*  border-bottom: 1px solid var(--color-border-light); */
}

.custom-select__option:last-child {
    border-bottom: none;
}

.custom-select__option:hover {
    background: #f5f5f5;
}

.custom-select__option.selected {
    /* background: var(--color-primary);
    color: #fff; */
    font-weight: 600;
    background: url(../images/newtab_ff/check.svg) no-repeat center right 16px;
    background-size: 16px;
    text-transform: capitalize;
}

.custom-select__option.selected:hover {
    /* background: var(--color-primary); */
}

.custom-select__option.highlighted {
    /* background: var(--color-bg-input-alt); */
}

/* Dark theme styles for custom select */
:root[data-theme="dark"] .custom-select__selected {
    background: transparent;
    border-color: #464646;
    color: #929292;
}

:root[data-theme="dark"] .custom-select__selected:hover {
    border-color: #6A6A6A;
}

:root[data-theme="dark"] .custom-select__selected:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 43, 107, 0.2);
}

:root[data-theme="dark"] .custom-select.open .custom-select__selected {
   /*  border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 43, 107, 0.2); */
}

:root[data-theme="dark"] .custom-select__arrow {
    color: #6A6A6A;
    background: url(../images/newtab_ff/select-dark.svg) no-repeat center center;
    background-size: 22px;
}

:root[data-theme="dark"] .custom-select__options {
    background: #1B1B1B;
    border-color: #464646;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .custom-select__option {
    color: #fff;
    /* border-bottom-color: #464646; */
}

:root[data-theme="dark"] .custom-select__option:hover {
    background: #222;
}

:root[data-theme="dark"] .custom-select__option.selected{
    /* background: var(--color-primary); */
    color: #fff;
    background: url(../images/newtab_ff/check-dark.svg) no-repeat center right 16px;
    background-size: 16px;
}
:root[data-theme="dark"] .carrier-item.carrier-selected:after {
 
    background: url(../images/newtab_ff/check-dark.svg) no-repeat center center;
    background-size: contain;
}

:root[data-theme="dark"] .custom-select__option.selected:hover {
    background: #222;
}

:root[data-theme="dark"] .custom-select__option.highlighted {
    background: #222;
}

/* Blurred state for disabled dropdowns */
select.blurred {
    opacity: 0.5;
    filter: blur(1px);
    cursor: not-allowed;
}

.custom-select.blurred .custom-select__selected {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.custom-select.blurred{
    cursor: not-allowed;
    pointer-events: none;
}

/* Legacy select styles - keeping for backward compatibility */
select{
    background: url(../images/newtab_ff/select.svg) no-repeat center right 0;
    background-size: 22px;
    cursor: pointer;
    width: 100%;
}
.sort-btn, .filter-btn {
    border-radius: 12px;
    border: 1px solid #EDEDED;
    background: var(--color-bg-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    position: relative;
}
.sort-btn:hover, .filter-btn:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 43, 107, 0.05);
}

/* Notification dot styles */
.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 4px;
    height: 4px;
    background-color: #E81A1A;
    border-radius: 50%;
    display: none;
    z-index: 1;
}

/* Shared Card Container Styles */
.shared-card-container {
    display: none;
    width: 100%;
    max-width: 1166px;
    margin: 0 auto 32px auto;
    padding: 0 24px;
}

.shared-card-container .package-card {
    margin-bottom: 0;
}

.shared-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    gap: 20px;
}

.shared-loading-content p {
    color: var(--color-text-light);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.shared-package-card {
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 20px var(--color-shadow);
}

.shared-package-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 25px var(--color-shadow-strong);
}

.shared-package-card .status-step:not(:last-child)::before{
    width: calc(100% - 42px);
}

/* Share Success Message Styles */
.share-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-success);
    color: var(--color-bg-light);
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 10000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 10px var(--color-shadow);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* --- Tracking Timeline Modal Styles --- */
.tracking-timeline {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  /* min-height: 56px; */
  padding-bottom: 24px;
}
.timeline-step:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  margin-right: 18px;
  flex-shrink: 0;
  background: url(../images/newtab_ff/dot.svg) no-repeat center center;
    background-size: contain;
    margin-top: 0px;
}
/* .timeline-marker::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D1D5DB;
  border: 3px solid #E3E7EF;
  box-sizing: border-box;
} */
.timeline-step:last-child .timeline-marker{
    background: url(../images/newtab_ff/undelivered.svg) no-repeat center center;
    background-size: contain;
}
.current.step1 .timeline-marker{
    background: url(../images/newtab_ff/trucko.svg) no-repeat center center;
    background-size: contain;
}
.current.step3 .timeline-marker, .current.step4 .timeline-marker, .current.step2 .timeline-marker{
    background: url(../images/newtab_ff/truckb.svg) no-repeat center center;
    background-size: contain;
}
.timeline-step.done .timeline-marker{
    background: url(../images/newtab_ff/done.svg) no-repeat center center;
    background-size: contain;
}
.timeline-step.delivered .timeline-marker{
    background: url(../images/newtab_ff/delivered.svg) no-repeat center center;
    background-size: contain;
}
/* .timeline-step.done .timeline-marker::before {
  background: #002B6B;
  border-color: #002B6B;
}
.timeline-step.active .timeline-marker::before {
  background: #1A73E8;
  border-color: #1A73E8;
} */
.timeline-step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 12px;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 32px);
  background: var(--color-border);
  z-index: 1;
}
.timeline-step:last-child::after {
  display: none;
}
.timeline-step.done::after {
  background: var(--color-text-secondary);
}
.timeline-step.current::after {
  background: var(--color-blue);
}
.timeline-content {
  flex: 1;
  /* padding-bottom: 8px; */
  min-width: 0;
}
.timeline-title {
    color: rgba(65, 77, 96, 0.60);;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 24px */
  margin-bottom: 4px;
}
.timeline-step.done .timeline-title {
  color: var(--color-text-secondary);
}
.timeline-step.current .timeline-title {
  color: var(--color-blue);
}
.timeline-date {
    color: var(--color-text-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
}
.timeline-detail {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  margin-left: 0;
  font-weight: 400;
  line-height: 1.4;
}
.timeline-step:not(.done):not(.current) .timeline-title {
  color: var(--color-text-tertiary);
  font-weight: 400;
}
.timeline-step:not(.done):not(.current) .timeline-marker::before {
  background: var(--color-border-light);
  border-color: #E3E7EF;
}
.tracking-timeline {
    max-width: 300px;
    margin: 0;
}
.tracking-timeline .step2 .timeline-title{
    margin-bottom: 12px;
}
.tracking-timeline .step2 .timeline-date{
    color: #414D60;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
    margin-bottom: 4px;
}
.tracking-timeline .step2 .timeline-detail{
    color: #949BA6;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 22.5px */

margin-bottom: 12px;
}
.tracking-timeline .step2 .timeline-detail.activestep{
    color: #414D60;
font-size: 15px;
font-style: normal;
font-weight: 700;
line-height: 150%; /* 22.5px */
position: relative;
margin-bottom: 0;
}
.tracking-timeline .step2 .timeline-detail.activestep:before{
    content: '';
    position: absolute;
    top: 10px;
    left: -34px;
    width: 8px;
    height: 8px;
    background: #1A73E8;
    border-radius: 50%;
    z-index: 3;
}
.tracking-timeline .step2 .timeline-detail.activestep:after{
    content: '';
    position: absolute;
    top: 18px;
    left: -31.5px;
    width: 2.5px;
    height: calc(100% + 4px);
    background: #D1D5DB;
    z-index: 2;
}
.timeline-step.delivered .timeline-title{
    color: var(--color-success) !important;
    font-weight: 700 !important;
}
/* --- Sort By Modal Styles --- */
.p2420{
    padding: 20px 24px;
}
.sortby-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sortby-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #414D60;
  cursor: pointer;
  position: relative;
}
.sortby-form label:last-child{
    margin-bottom: 0;
}
.sortby-option input[type="radio"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}
.custom-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  background: #fff;
  display: inline-block;
  position: relative;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sortby-option input[type="radio"]:checked + .custom-radio {
  border-color: #414D60;
}
.sortby-option input[type="radio"]:checked + .custom-radio::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #414D60;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.sortby-label {
    color: #323C4B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
}
.sortby-footer button{
    position: relative;
}

.modal-overlay__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  border-top: 1px solid #EDEDED;
  padding: 20px 24px;
}
.modal-overlay-reset {
  background: none;
  border: none;
  color: #6C7787;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 19.2px */
  cursor: pointer;
  padding: 0 12px;
  border-radius: 8px;
  transition: background 0.15s;
  height: 48px;
    border-radius: 32px;
}
.modal-overlay-reset:hover {
  background: #F2F2F2;
}
.modal-overlay-apply {
  background: #FF7B4A;
  height: 48px;
  width: 127px;
  text-align: center;
  border: none;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 128%; /* 20.48px */
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-overlay-apply:hover {
  background: #FF435B;
}

/* --- Filters Modal Styles --- */


.filters-label {
    color: #6C7787;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%; /* 17.5px */
  margin-bottom: 16px;
  text-align: left;
}
.filters-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-pill {
  outline: none;
  color: #323C4B;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 36px; /* 24px */
border-radius: 100px;
border: 1px solid #EDEEF0;
background: #fff;
  padding: 0px 15px;
  height: 36px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.status-pill.selected, .status-pill:active {
  background: #323C4B;
  color: #fff;
}
.filters-row {
  display: flex;
  gap: 20px;

  border-top: 1px solid #EDEDED;
  border-bottom: 1px solid #EDEDED;

}
.filters-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filters-col .filters-label, .carrier-dropdown-wrp .filters-label{
    margin-bottom: 6px;
}
.filters-date-input {
  width: 100%;
  height: 24px;
  border: 0;

  background: #fff;
  color: #323C4B;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
  padding: 0;
  outline: none;
  transition: border 0.15s;
}
.filters-date-input:focus {
 
}
/* Custom Dropdown Styles (Reusable) */
.custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}
.dropdown-selected {
 
    color: #323C4B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-selected::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url(../images/newtab_ff/arrowdown.svg) no-repeat center center;
  background-size: contain;
  transition: transform 0.2s;
}
.custom-dropdown.open .dropdown-selected::after {
  transform: rotate(180deg);
}
.dropdown-list {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  width: 100%;
  background: #fff;
  border: 1px solid #EDEDED;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 10;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.custom-dropdown.open .dropdown-list {
  display: block;
}
.dropdown-list li {
  padding: 10px 18px;
  font-size: 15px;
  color: #414D60;
  cursor: pointer;
  transition: background 0.15s;
}
.dropdown-list li:hover, .dropdown-list li.selected, .dropdown-list li.highlighted {
  background: #F2F2F2;
  color: #222B45;
}

/* --- Choose Carrier Modal Styles --- */

.carrier-search-row {
  max-width: 100%;
  margin: 16px 24px 24px;
  height: 48px;
  position: relative;
}
.carrier-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.carrier-search-input {

  flex: 1;
  border-radius: 56px;
  border: 1px solid #EDEDED;
  background: #FFF;
  padding: 12px 16px 12px 44px;
  font-size: 15px;
  color: #414D60;
  font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 24px */
  outline: none;
  width: 100%;
}

.carrier-list {
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.carrier-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  height: 40px;
  cursor: pointer;
  color: #1E242C;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 24px */

  border: none;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.carrier-item:hover, .carrier-item.highlighted {
  background: #F5F5F5;
}
.carrier-item.carrier-selected, .carrier-item.selected {
  /* background: #F5F5F5; */
}
.carrier-item.carrier-selected:after{
    content: '';
    position: absolute;
    right: 24px;
  top: 50%;
  transform: translateY(-50%);
    background: url(../images/newtab_ff/check.svg) no-repeat center center;
    width: 20px;
height: 20px;
background-size: contain;
}
.carrier-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carrier-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.carrier-name {
  flex: 1;
  color: #323C4B;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.carrier-item.carrier-selected .carrier-name,
.carrier-item.selected .carrier-name {
  font-weight: 700;
}
.carrier-check {
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carrier-check svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* --- Share Tracking Modal Styles --- */
.share-tracking-modal .modal-overlay__content{
    overflow: hidden;
}
.share-tracking-modal .modal-overlay__title{
    font-size: 20px;
}
.share-tracking-modal .modal-overlay__header{
    border-bottom:0;
    background: linear-gradient(180deg, #FFF2ED 0%, rgba(253, 243, 240, 0.80) 58.78%, rgba(245, 247, 250, 0.00) 104.37%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 0;
}
.share-body {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap:20px
}
.share-icon svg{
    width: 50px;
height: 50px;
}
.topshare{
    width:100%;
    padding: 24px 16px;
    border-radius: 16px;
border: 1px solid #EDEDED;
background: #FBFBFC;
}
.share-link-label {
    color: #1E242C;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 27px */
}
.share-link-desc {
    color: #848D9B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    margin-bottom: 24px;
}
.share-link-box {
    border-radius: 56px;
    border: 1px solid #EDEDED;
    background: #FFF;
    padding: 10px 16px;
    color: #323C4B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
  
}
.share-link-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    word-break: break-all;
    white-space: normal;
    color: #1E242C;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.share-link-copied {
    color: #848D9B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
  display: none;
}
.bottomshare{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
.share-link-copied.active {
    display: block;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
.share-copy-btn {
    display: flex;
    padding: 14px 24px;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    border-radius: 32px;
    background: #FF7B4A;
    color: #FFF;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 128%; /* 20.48px */
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.share-copy-btn:hover {
    background: #e66a3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 123, 74, 0.3);
}

.share-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 123, 74, 0.2);
}

.carrier-error .error-actions{
    margin-left: 25px;
}

/* --- Unpin Confirmation Modal Styles --- */
.unpin-modal .modal-overlay__content{
    overflow: hidden;
}
.unpin-modal .modal-overlay__header{
    border-bottom:0;
    background: linear-gradient(180deg, #FFF2ED 0%, rgba(253, 243, 240, 0.80) 58.78%, rgba(245, 247, 250, 0.00) 104.37%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 6px;
}
.unpin-modal .modal-overlay__title{
    text-align: left;
    font-size: 20px;
    line-height: 150%;
}
.unpin-icon svg{
    width: 50px;
height: 50px;
}
.unpin-body{
    padding: 0 24px 20px;
}
.unpin-id-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid #EDEDED;
    background: #FBFBFC;
    padding: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: center;
}

.unpin-id-box:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.unpin-carrier-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
background: #EDEEF0;
}
.unpin-carrier-icon img {
    width: 21.52px;
    height: 23.258px;
  display: block;
}
.unpin-id {
    color: #1E242C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
}
.unpin-label-pill {
    border-radius: 56px;
    background: #EDEEF0;
    height: 32px;
    text-align: center;
    padding: 0 12px;
    box-shadow: 8px 8px 56px 0px rgba(0, 0, 0, 0.05);
    color: #6C7787;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 32px;
}

.unpin-label-pill:hover {
    background: #E2E6EA;
    color: #5A6474;
    transform: translateY(-1px);
}
.unpin-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 24px;
  background: #fff;
  margin-bottom: 20px;
}
.unpin-cancel-btn {
    background: none;
    border: none;
    color: #848D9B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.unpin-cancel-btn:hover {
    background: #F2F2F2;
    color: #6C7787;
}
.unpin-confirm-btn {
    display: flex;
    padding: 14px 24px;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    border-radius: 32px;
    background: #FF7B4A;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 128%; /* 20.48px */
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
}

.unpin-confirm-btn:hover {
    background: #e66a3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 123, 74, 0.3);
}

.unpin-confirm-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 123, 74, 0.2);
}

/* error with carrier */
.carrier-error{
    background: rgba(249, 236, 236, 0.60);
    padding: 24px 16px;
}
.error-wrp{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.error-icon{
    width: 32px;
    height: 32px;
}
.error-title{
    color: #1E242C;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 27px */
text-align: left;
}
.error-desc{
    color: #848D9B;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 150%; /* 21px */
text-align: left;
}
.error-action-btn{
    display: flex;
padding: 9px 16px;
align-items: center;
gap: 16px;
border-radius: 12px;
border: 1px solid #EDEDED;
background: #FFF;
color: #323C4B;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 125%; /* 17.5px */
cursor: pointer;
}
.error-action-btn:hover{
    background: var(--color-bg);
}
.common-loader{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
}
.loader-wrp{
    width: 88px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.circle-wrp{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate 1s linear infinite;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Carrier modal loading and error states */
.carrier-loading {
    text-align: center;
    padding: 20px;
    color: #848D9B;
    font-style: italic;
}

.carrier-error {
    text-align: center;
    padding: 20px;
    color: #E81A1A;
    font-style: italic;
}

/* Ensure carrier items are properly styled when filtered */
.carrier-item[style*="display: none"] {
    display: none !important;
}

/* Carrier selection message */
.carrier-selection-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.carrier-selection-message.show {
    transform: translateX(0);
}

.carrier-selection-message .message-content {
    margin-bottom: 10px;
}

.carrier-selection-message .retry-tracking-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease;
}

.carrier-selection-message .retry-tracking-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Retry loading state */
.package-card.retrying {
    opacity: 0.7;
    pointer-events: none;
}

.retry-loading-msg {
    color: #FF7B4A;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

/* Retry Loader Styles */
.retry-loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.retry-loader-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
   justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
}

.retry-loader-card > div{
    display: flex;
    align-items: center;
    gap: 12px;
}

.retry-loader-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #10b981, #3b82f6);
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
    animation: retry-glow 2s ease-in-out infinite alternate;
}

.retry-loader-square {
    width: 48px;
    height: 48px;
    background: #EDEEF0;
    border-radius: 12px;
    margin-right: 8px;
    animation: retry-pulse 1.5s ease-in-out infinite;
}

.retry-loader-block {
    height: 24px;
    background: #EDEEF0;
    border-radius: 12px;
    animation: retry-pulse 1.5s ease-in-out infinite;
}

.retry-loader-block-1 {
    width: 213px;
    animation-delay: 0.1s;
}

.retry-loader-block-2 {
    width: 136px;
    animation-delay: 0.2s;
}

.retry-loader-block-3 {
    width: 106px;
    animation-delay: 0.3s;
    margin-left: 90px;
}

.retry-loader-block-4 {
    width: 140px;
    animation-delay: 0.4s;
    margin-right: 28px;
    margin-left: 28px;
}

.retry-loader-circle {
    width: 40px;
    height: 40px;
    background: #EDEEF0;
    border-radius: 50%;
    animation: retry-pulse 1.5s ease-in-out infinite;
}

.retry-loader-circle:nth-child(5) {
    animation-delay: 0.5s;
    margin-left: 28px;
}

.retry-loader-circle:nth-child(6) {
    
    animation-delay: 0.6s;
}

.retry-loader-circle:nth-child(7) {
    animation-delay: 0.7s;
}
.retry-loader-circle:nth-child(8) {
    animation-delay: 0.8s;
}

.retry-loader-circle-small {
    width: 22px;
    height: 22px;
    animation-delay: 0.7s;
}

@keyframes retry-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes retry-glow {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.4;
    }
}

/* Disabled website button styles */
.website[data-link=""]:hover::before,
.website[data-link=""]:hover {
    background: url(../images/newtab_ff/website.svg) no-repeat center center;
    background-size: contain;
    cursor: not-allowed;
}

.website[data-link=""] {
    pointer-events: none;
  opacity: 0.5;
}

/* Disabled call button styles */
.call[data-phone=""]:hover::before,
.call[data-phone=""]:hover {
    background: url(../images/newtab_ff/call.svg) no-repeat center center;
    background-size: contain;
    cursor: not-allowed;
}

.call[data-phone=""] {
    pointer-events: none;
  opacity: 0.5;
}

.call::before{
    background: url(../images/newtab_ff/call.svg) no-repeat center center;
    background-size: contain;
}
.call:hover::before{
    background: url(../images/newtab_ff/callh.svg) no-repeat center center;
    background-size: contain;
}

/* Limit Reached Toast Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: none;
    max-width: 770px;
    width:100%;
}

.toast.show {
    display: block;
    animation: slideInRight 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
border: 1px solid rgba(255, 153, 0, 0.30);
background: linear-gradient(90deg, rgba(255, 238, 210, 1) 0.03%, #FFF 99.97%);
box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.05);
width: 100%;
}

.warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.warning-triangle {
    width: 16px;
    height: 16px;
    background: #FF7B4A;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exclamation-mark {
    color: white;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    margin-top: -2px;
}

.toast-text {
    flex: 1;
    min-width: 0;
}

.toast-title {
    color: #1E242C;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 27px */
}

.toast-message {
    margin: 0;
    color: #848D9B;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
}

.toast-close {
   
    width: 24px;
    height: 24px;
    background: none;
    cursor: pointer;
    
}

.toast-close:hover {
    /* background: #2C5282; */
}

.toast-close:active {
    /* background: #2A4365; */
}

.toast-close svg {
   /*  width: 14px;
    height: 14px; */
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hide {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Loading Package Card Animation Styles */
.loading-card {
    position: relative;
    overflow: hidden;
}

.loading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.loading-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: loading-pulse 1.5s infinite;
}

.loading-label {
    width: 120px;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

.loading-status {
    width: 80px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

.loading-est-label {
    width: 100px;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

.loading-est-date {
    width: 60px;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

.loading-carrier-title {
    width: 150px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
    margin-bottom: 16px;
}

.loading-addresses {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.loading-address {
    width: 100px;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

.loading-arrow {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 1px;
    animation: loading-pulse 1.5s infinite;
}

.loading-tracking-title {
    width: 180px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
    margin-bottom: 16px;
}

.loading-status-tracker {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loading-step {
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* No Tracking Styles */
.notracking-content-top{
    display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
.notracking-title{
    color: #848D9B;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 30px */
margin-bottom: 48px;
}
.notracking-content-bottom{
    border-top: 1px solid #EDEDED;
    padding-top: 48px;
    display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
.notracking-container, .nofilters-container{
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
    padding: 0 15px;
}
.nofilters-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nofilter-img{
    margin-bottom: 32px;
}
.nofilters-title{
    color: #848D9B;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 30px */
margin-bottom: 4px;
}
.nofilters-desc{
    color: #848D9B;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
margin-bottom: 32px;
}
.nofilters-btn{
    display: flex;
padding: 14px 24px;
justify-content: center;
align-items: center;
gap: 4px;
border-radius: 32px;
background: #FF7B4A;
color: #FFF;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 128%; /* 20.48px */
cursor: pointer;
}
.darknotracking-img{
    display: none;
}
#lottie{
    background-color:transparent;
    width:100%;
    height:100%;
    display:block;
    overflow: hidden;
    transform: translate3d(0,0,0);
    text-align: center;
    opacity: 1;
}
.courier-error{
    overflow: hidden;
}
.tracking-id-pill{
    max-width: 200px;
    display: block;
   /*  width: 100%; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
.back-to-search:hover {
    text-decoration: underline;
}
/* Dark theme adjustments for loading elements */
/* :root[data-theme="dark"] .loading-logo,
:root[data-theme="dark"] .loading-label,
:root[data-theme="dark"] .loading-status,
:root[data-theme="dark"] .loading-est-label,
:root[data-theme="dark"] .loading-est-date,
:root[data-theme="dark"] .loading-carrier-title,
:root[data-theme="dark"] .loading-address,
:root[data-theme="dark"] .loading-arrow,
:root[data-theme="dark"] .loading-tracking-title,
:root[data-theme="dark"] .loading-step {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
} */
:root[data-theme="dark"] body{
    background: #0E0E0E;
}
.logo-dark, .darksearch{
    display: none;
}
:root[data-theme="dark"] .logo-dark{
    display: block;
}
:root[data-theme="dark"] .logo-light{
    display: none;
}
:root[data-theme="dark"] .lightsearch{
    display: none;
}
:root[data-theme="dark"] .darksearch{
    display: block;
}
:root[data-theme="dark"] .header-search .search-text, :root[data-theme="dark"] .tracking-input{
    background: #1B1B1B;
    color: #fff;
}
:root[data-theme="dark"] .header-search .search-text::placeholder, :root[data-theme="dark"] .tracking-input::placeholder{
    color: #6A6A6A;
}
:root[data-theme="dark"] .settings-btn{
    background: url(../images/newtab_ff/settings-dark.svg) no-repeat center center;
}
:root[data-theme="dark"] .settings-btn:hover{
    background: url(../images/newtab_ff/settingsh-dark.svg) no-repeat center center;
}
/* :root[data-theme="dark"] .header{
    border-bottom: 1px solid #222;
} */
:root[data-theme="dark"] .main-title, :root[data-theme="dark"] .tracking-btn, 
:root[data-theme="dark"] .recent-item, :root[data-theme="dark"] .settings-item,
:root[data-theme="dark"] .package-card__id, :root[data-theme="dark"] .package-card__est-date,
:root[data-theme="dark"] .package-car-infor__left h2, :root[data-theme="dark"] .package-card__address-from, 
:root[data-theme="dark"] .package-card__address-to, :root[data-theme="dark"] .transit-detail-short p,
:root[data-theme="dark"] .status-step.done .status-label, :root[data-theme="dark"] .modal-overlay__title,
:root[data-theme="dark"] .sortby-label, :root[data-theme="dark"] .timeline-step.done .timeline-title,
:root[data-theme="dark"] .timeline-date, :root[data-theme="dark"] .carrier-name, :root[data-theme="dark"] .error-title,
 :root[data-theme="dark"] .ai-assistant-message--bot, :root[data-theme="dark"] .ai-assistant-modal__title, :root[data-theme="dark"] .footer-bot-tooltip{
    color: #FFF !important;
}
:root[data-theme="dark"] .recent-item{
    background: #141414;
}
:root[data-theme="dark"] .recent-item:hover{
    border: 1px solid #464646;
    background: #222;
}
:root[data-theme="dark"] .recent-item:hover .icon-clock{
    background: url(../images/newtab_ff/recenticon.svg) no-repeat center center;
}
:root[data-theme="dark"] .subtitle, :root[data-theme="dark"] .package-card__est-label, :root[data-theme="dark"] .error-desc{
    color: #929292;
}
:root[data-theme="dark"] .recent-label{
    color: #464646;
}
:root[data-theme="dark"] .timeline-detail{
    color: #6A6A6A;
}
:root[data-theme="dark"] .recent-item-close{
    background: url(../images/newtab_ff/close-dark.svg) no-repeat center center;
}
:root[data-theme="dark"] .recent-item:hover .recent-item-close{
    background: url(../images/newtab_ff/close-darkh.svg) no-repeat center center;
}
.tracking-input{
    background: transparent;
}
:root[data-theme="dark"] .settings-item:not(:last-child){
    border-bottom: 1px solid #222;
}
:root[data-theme="dark"] .slider{
    background: #464646;
}
:root[data-theme="dark"] .slider:before{
    background: #fff;
}
:root[data-theme="dark"] .results-summary, :root[data-theme="dark"] .package-title-header p,
:root[data-theme="dark"] .package-car-infor__left p, :root[data-theme="dark"] .package-card__addresses span,
:root[data-theme="dark"] .package-tracking-title, :root[data-theme="dark"] .status-step .status-date{
    color: #929292;
}
:root[data-theme="dark"] .tracking-pill{
border: 1px solid #222;
background: #141414;
color:#fff;
}
:root[data-theme="dark"] .tracking-pill-close{
    background: url(../images/newtab_ff/close-dark.svg) no-repeat center center;
}
:root[data-theme="dark"] .tracking-pill:hover .tracking-pill-close{
    background: url(../images/newtab_ff/close-darkh.svg) no-repeat center center;
}
:root[data-theme="dark"] .package-card{
    border-radius: 20px;
    border: 1px solid #222;
    background: #141414;
    box-shadow: 10px 25px 100px 0 rgba(0, 43, 107, 0.06);
}
:root[data-theme="dark"] .website::before{
    background: url(../images/newtab_ff/web-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .website:hover::before{
    background: url(../images/newtab_ff/web-darkh.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .call::before{
    background: url(../images/newtab_ff/call-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .call:hover::before{
    background: url(../images/newtab_ff/call-darkh.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .share::before{
    background: url(../images/newtab_ff/share-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .share:hover::before{
    background: url(../images/newtab_ff/share-darkh.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .pin::before{
    background: url(../images/newtab_ff/pin-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .pin:hover::before, :root[data-theme="dark"] .pinned:before{
    background: url(../images/newtab_ff/pin-darkh.svg) no-repeat center center !important;
    background-size: contain;
}
:root[data-theme="dark"] .pinned{
    background: #fff !important;
    border: 1px solid #fff !important;
}
:root[data-theme="dark"] .recent-clear{
    color: #6A6A6A;
}
:root[data-theme="dark"] .pinnedwrp .pin{
    background: var(--color-text-light);
}
:root[data-theme="dark"] .pinnedwrp .pin::before{
    background: url(../images/newtab_ff/pin-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .expand-btn{
    background: url(../images/newtab_ff/arrow-dark.svg) no-repeat center center;
    background-size: 100%;
}
:root[data-theme="dark"] .package-card__icon-btn{
    border: 1px solid #222;

background: #1B1B1B;
}
:root[data-theme="dark"] .custom-tooltip{
    background: #222;
    color:#fff
}
:root[data-theme="dark"] .status-step.done .status-icon, :root[data-theme="dark"] .timeline-step.done .timeline-marker{
    background: url(../images/newtab_ff/done-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .status-step::after{
    background: #141414;
}

:root[data-theme="dark"] .modal-overlay__header{
    border: 1px solid #222;
    background: #1B1B1B;
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] .modal-overlay__footer{
    border-top: 1px solid #222;
}

:root[data-theme="dark"] .sortby-option input[type="radio"]:checked + .custom-radio::after{
    background: #FFF;
}
:root[data-theme="dark"] .custom-radio{
    border-color: #464646 !important;
    background: #222;
}
:root[data-theme="dark"] .modal-overlay-reset{
    color: #929292;
}
:root[data-theme="dark"] .modal-overlay__close{
    background: url(../images/newtab_ff/close-circle-dark.svg) no-repeat center center;
    background-size: contain;
}

:root[data-theme="dark"] .status-pill{
    background: #141414;
    border: 1px solid #464646;
    color:#fff
}
:root[data-theme="dark"] .status-pill.selected{
    background: #FFF;
    border: 1px solid #fff;
    color:#1b1b1b;
}

:root[data-theme="dark"] .timeline-step::after{
    background: #464646;
}
:root[data-theme="dark"] .timeline-step.done::after{
    background: #fff;
}
:root[data-theme="dark"] .add-tracking-modal .tracking-input, :root[data-theme="dark"] .carrier-search-input{
    background: #141414;
    border: 1px solid #222;
    color:#fff;
}

:root[data-theme="dark"] .carrier-item:hover, :root[data-theme="dark"] .carrier-item.highlighted{
    background: #222;
}

:root[data-theme="dark"] .carrier-error{
    background: #341A1B;
}

:root[data-theme="dark"] .error-action-btn{
    border: 1px solid #222;
    color:#fff;
    background: #1B1B1B;
}

:root[data-theme="dark"] .lightarrow{
    display: none;
}
:root[data-theme="dark"] .darkarrow{
    display: block;
}
.darkarrow{
    display: none;
}
.unpin-icon{
    margin-right: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 14px;
}
.share-icon{
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 14px;
}
:root[data-theme="dark"] .tracking-pill.error{
    border: 1px solid rgba(232, 26, 26, 0);
    color: #E81A1A;
    background: #341A1B;
}

:root[data-theme="dark"] .tracking-pill.error:hover{
    border: 1px solid rgba(232, 26, 26, 0.30);
    background: #341A1B;
}

:root[data-theme="dark"] .tracking-pill.error .tracking-pill-close{
    background: url(../images/newtab_ff/close-error-dark.svg) no-repeat center center;
    background-size: contain;
}

:root[data-theme="dark"] .darknotracking-img{
    display: block;
}
:root[data-theme="dark"] .lightnotracking-img{
    display: none;
}

:root[data-theme="dark"] .icon-bot{
    background: url(../images/newtab_ff/dark_chatbot.gif) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .icon-bot:hover{
    background: url(../images/newtab_ff/dark_chatboth.gif) no-repeat center center;
    background-size: contain;
}

:root[data-theme="dark"] .ai-assistant-modal__close path{
    stroke: #fff;
}

:root[data-theme="dark"] .ai-assistant-message-item, :root[data-theme="dark"] .ai-assistant-message--user, :root[data-theme="dark"] .ai-assistant-message-title{
    color:#fff;
}

:root[data-theme="dark"] .ai-assistant-message--bot{
    border-radius: 16px;
border: 1px solid #464646;
background: #222;
box-shadow: 8px 8px 56px 0 rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] .ai-assistant-modal__content{
border: 1px solid #464646;
background: #1C1C1C;
box-shadow: 10px 25px 60px 0 rgba(0, 43, 107, 0.05);
}
:root[data-theme="dark"] .ai-assistant-modal__footer{
    border: 1px solid #464646;
}
:root[data-theme="dark"] .ai-assistant-input{
    background: transparent;
    color:#fff;
}
:root[data-theme="dark"] .status-step .status-label{
    color: #929292;
}
:root[data-theme="dark"] .status-step .status-icon{
    background: url(../images/newtab_ff/dot-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .status-step:last-child .status-icon{
    background: url(../images/newtab_ff/undelivered-dark.svg) no-repeat center center;
    background-size: contain;
}
:root[data-theme="dark"] .header{
    border-bottom: 1px solid #222;
    background: #090909;
}
:root[data-theme="dark"] .footer{
    background: #090909;
}
:root[data-theme="dark"] .tracking-input:focus{
    border-radius: 56px;
    border: 1px solid #464646;
    background: #222;
    box-shadow: 8px 8px 56px 0 rgba(0, 0, 0, 0.05);
}
:root[data-theme="dark"] .common-loader{
    background: #0E0E0E;
}
:root[data-theme="dark"] .footer ul li a:hover, :root[data-theme="dark"] .share-link-label, :root[data-theme="dark"] .unpin-id{
    color:#fff !important;
}
:root[data-theme="dark"] .share-link-desc, :root[data-theme="dark"] .share-link-copied, :root[data-theme="dark"] .unpin-cancel-btn{
    color: #929292;
}
:root[data-theme="dark"] .share-link-box{
    color:#fff;
    border: 1px solid #222;
    background: #141414; 
}
:root[data-theme="dark"] .tracking-pill:hover{
   
border: 1px solid #464646;
background: #222;
}
:root[data-theme="dark"] .sort-btn, :root[data-theme="dark"] .filter-btn{
border: 1px solid #222;
background: #141414;
}
:root[data-theme="dark"] .sort-btn svg path{
    fill:#fff
}

:root[data-theme="dark"] .filter-btn svg path{
    stroke:#fff
}

:root[data-theme="dark"] .sort-btn:hover, :root[data-theme="dark"] .filter-btn:hover{
    border: 1px solid #464646;
    background: #222;
    box-shadow: 10px 25px 100px 0 rgba(0, 43, 107, 0.06);
}

:root[data-theme="dark"] .package-card.expanded, :root[data-theme="dark"] .package-card:hover{
    border: 1px solid #464646;
}

:root[data-theme="dark"] .package-card__status--pending{
    background: #2F221A;
}

:root[data-theme="dark"] .package-card__status--transit{
    background: #232D39;
}

:root[data-theme="dark"] .package-card__status--error{
    background: #341A1B;
}

:root[data-theme="dark"] .filters-row{
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
:root[data-theme="dark"] select{
    background: url(../images/newtab_ff/select-dark.svg) no-repeat center right 0;
    color:#fff;
}

:root[data-theme="dark"] .share-tracking-modal .modal-overlay__header{
    border:0
}

:root[data-theme="dark"] .topshare{
border: 1px solid #222;
background: #141414;
}

:root[data-theme="dark"] .package-card__icon-btn:hover {
    border: 1px solid #fff;
    background: #fff;
}

:root[data-theme="dark"] .unpin-id-box{
border: 1px solid #222;
background: #141414;
}

:root[data-theme="dark"] .unpin-carrier-icon{
    border: 1px solid #222;
background: #141414;
}
:root[data-theme="dark"] .unpin-label-pill{
    background: #222;
    color: #929292;
}
:root[data-theme="dark"] .unpin-footer{
    background: #1B1B1B;
}
:root[data-theme="dark"] .package-card__label-wrap{
    border: 1px solid #222;

background: #141414;
}
:root[data-theme="dark"] .package-card__label-wrap.has-label{
    background: #222;
}

:root[data-theme="dark"] .package-card__label-saved, :root[data-theme="dark"] .sec-title, :root[data-theme="dark"] .nofilters-desc, :root[data-theme="dark"] .nofilters-title, :root[data-theme="dark"] .pinned-empty-message{
    color: #929292;
}
.tracking-results-bar hr{
    border:0;
    border-top: 1px solid var(--color-bg-input-alt);
}
:root[data-theme="dark"] .notracking-content-bottom, :root[data-theme="dark"] .tracking-results-bar hr{
    border-top: 1px solid #222;
}

:root[data-theme="dark"] .toast-content{
    border-radius: 16px;
border: 1px solid rgba(255, 153, 0, 0.30);
background: linear-gradient(90deg, #2F221A 0.03%, #2F221A 99.97%);
box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.05);
}
:root[data-theme="dark"] .warning-icon{
    background: #141414;
}
:root[data-theme="dark"] .toast-title{
    color: #FFF;
}
:root[data-theme="dark"] .toast-message{
    color: #fff;
    opacity: 0.5;
}
:root[data-theme="dark"] .package-card__label-input::placeholder{
    color: #6A6A6A;
}
:root[data-theme="dark"] .status-step:not(:last-child)::before{
    background: #464646;
}
:root[data-theme="dark"] .status-step.done:not(:last-child)::before{
    background: #fff;
}

:root[data-theme="dark"] .custom-tooltip::after{
    border-color: #222 transparent transparent transparent;
}

:root[data-theme="dark"] .main-title-shared{
    color: #929292;
}
:root[data-theme="dark"] .tracking-timeline .step3 .timeline-detail.activestep:after{
    background: #464646;
}
:root[data-theme="dark"] .timeline-step.current::after {
    background: #1A73E8;
}

/* Dark theme for retry loader */
:root[data-theme="dark"] .retry-loader-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .retry-loader-card::before {
    background: linear-gradient(45deg, #3b82f6, #10b981, #3b82f6);
    opacity: 0.2;
}

:root[data-theme="dark"] .retry-loader-square,
:root[data-theme="dark"] .retry-loader-block,
:root[data-theme="dark"] .retry-loader-circle {
    background: #6b7280;
}

:root[data-theme="dark"] .retry-loader-circle-small {
    background: #6b7280;
}

:root[data-theme="dark"] .filters-col .filters-label, :root[data-theme="dark"] .carrier-dropdown-wrp .filters-label{
    color: #929292;
}

:root[data-theme="dark"] .package-card__logo{
    border: 1px solid #222;

background: #141414;
}

:root[data-theme="dark"] .tracking-timeline .step2 .timeline-detail.activestep{
    color: #fff !important;
}