:root {
    --w: #ffffff;
    --bg: #ffffff;
    --mbg: #f4f4f5;
    --txt: #1a1a1a;
    --txtb: #000000;

    --ffmbg: #e4e4e7;
    --ffmbg20: rgba(0, 0, 0, 0.05);
    --fmbg: #d4d4d8;           
    --fbg: #f8f9fa;            
    --f0: #ffffff;
    --f10: #f4f4f5;

    --white70: rgba(255, 255, 255, 0.8);
    
    --gray01: rgba(0, 0, 0, 0.01);
    --gray01b: rgba(0, 0, 0, 0.01);
    --gray03: rgba(0, 0, 0, 0.03);
    --gray03b: rgba(0, 0, 0, 0.03);
    --gray05: rgba(0, 0, 0, 0.05);
    --gray05b: rgba(0, 0, 0, 0.05);
    --gray075: rgba(0, 0, 0, 0.075);
    --gray075b: rgba(0, 0, 0, 0.075);
    
    --gray10: rgba(0, 0, 0, 0.1);
    --gray15: rgba(0, 0, 0, 0.15);
    --gray10b: rgba(0, 0, 0, 0.1);
    --gray15b: rgba(0, 0, 0, 0.15);

    --gray20: rgba(0, 0, 0, 0.2);
    --gray25: rgba(0, 0, 0, 0.25);
    --gray20b: rgba(0, 0, 0, 0.2);
    --gray25b: rgba(0, 0, 0, 0.25);

    --gray30: rgba(0, 0, 0, 0.3);
    --gray30b: rgba(0, 0, 0, 0.3);

    --gray: rgba(0, 0, 0, 0.5);
    --grayb: rgba(0, 0, 0, 0.5);
    --gray60: rgba(0, 0, 0, 0.6);
    --gray60b: rgba(0, 0, 0, 0.6);
    --gray70: rgba(0, 0, 0, 0.7);
    --gray70b: rgba(0, 0, 0, 0.7);

    --sdw: rgba(0, 0, 0, 0.1);
    --red: #ef4444;
    --dim: rgba(0, 0, 0, 0.4); 
    --tp: rgba(255, 255, 255, 0);
    --a: #000000;

    --panel-transition: transform 0.3s ease;
    --main-content-transition: margin-left 0.3s ease;
    --form-transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
    --modal-transition: opacity 0.2s ease, transform 0.2s ease;

    --status-bg: rgba(0, 0, 0, 0.05);
    --status-bg2: rgba(0, 0, 0, 0.08);
    --status-sdw: rgba(0, 0, 0, 0.1);
    --status-bar-bg: rgba(0, 0, 0, 0.1);
    --status-stroke: rgba(0, 0, 0, 0.2);

    --desktop-breakpoint: 769px;
}

[data-theme="dark"] {
    --w: #000000;
    --bg: #0a0a0a;
    --mbg: #141414;
    --txt: #e6e6e6;
    --txtb: #ffffff;

    --ffmbg: #2c2c2c;
    --ffmbg20: rgba(255, 255, 255, 0.1);
    --fmbg: #404040;
    --fbg: #1a1a1a;
    --f0: #050505;
    --f10: #111111;

    --white70: rgba(0, 0, 0, 0.5);
    
    --gray01: rgba(255, 255, 255, 0.01);
    --gray01b: rgba(255, 255, 255, 0.01);
    --gray03: rgba(255, 255, 255, 0.03);
    --gray03b: rgba(255, 255, 255, 0.03);
    --gray05: rgba(255, 255, 255, 0.05);
    --gray05b: rgba(255, 255, 255, 0.05);
    --gray075: rgba(255, 255, 255, 0.075);
    --gray075b: rgba(255, 255, 255, 0.075);
    
    --gray10: rgba(255, 255, 255, 0.1);
    --gray15: rgba(255, 255, 255, 0.15);
    --gray10b: rgba(255, 255, 255, 0.1);
    --gray15b: rgba(255, 255, 255, 0.15);

    --gray20: rgba(255, 255, 255, 0.2);
    --gray25: rgba(255, 255, 255, 0.25);
    --gray20b: rgba(255, 255, 255, 0.2);
    --gray25b: rgba(255, 255, 255, 0.25);

    --gray30: rgba(255, 255, 255, 0.3);
    --gray30b: rgba(255, 255, 255, 0.3);

    --gray: rgba(255, 255, 255, 0.5);
    --grayb: rgba(255, 255, 255, 0.5);
    --gray60: rgba(255, 255, 255, 0.6);
    --gray60b: rgba(255, 255, 255, 0.6);
    --gray70: rgba(255, 255, 255, 0.7);
    --gray70b: rgba(255, 255, 255, 0.7);

    --sdw: rgba(0, 0, 0, 0.8);
    --red: #ff6b6b;
    --dim: rgba(0, 0, 0, 0.8);
    --tp: rgba(0, 0, 0, 0);
    --a: #ffffff;

    --status-bg: rgba(255, 255, 255, 0.05);
    --status-bg2: rgba(255, 255, 255, 0.08);
    --status-sdw: rgba(0, 0, 0, 0.2);
    --status-bar-bg: rgba(255, 255, 255, 0.2);
    --status-stroke: rgba(255, 255, 255, 0.4);
}

@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, "Apple SD Gothic Neo", sans-serif; }
}

* {
    outline: none;
    box-sizing: border-box;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -.025rem;
    margin: 0;
    padding: 0;
	font-family: inherit;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-tap-highlight-color: transparent;
}

*::-webkit-scrollbar {
    display: none;
}

*:focus {
  outline: none;
}

html,
body {
	width: 100%;
	height: 100%;
    margin: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg);
    scrollbar-width: none;
    letter-spacing: -.025rem;
    color: var(--txt);
}

body {
    display: flex;
    position: relative;
}

strong {
    font-weight: 500;
}

a {
    all: unset;
    cursor: pointer;
    color: inherit;
    text-decoration: underline;
    font-size: inherit;
}

main {
	width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
	display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

section {
    height: 100%;
    display: flex;
    align-items: normal;
    justify-content: flex-start;
    color: var(--txt);
    scroll-snap-align: start;
    scroll-snap-stop: always;
	flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.hide {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all .2s ease;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

i {
    font-style: italic;
    font-family: inherit !important;
    font-size: inherit;
    font-weight: inherit;
}

input {
    all: unset;
    box-sizing: border-box;
    font-family: inherit;
}

button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
}

.history-wrap {
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow-y: scroll;
  	scrollbar-width: none;
	scroll-behavior: smooth;
}

#side-panel {
	width: 100%;
	min-height: 100%;
	max-width: 22rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem;
    border-bottom: 1px solid var(--panel-border);
    flex-shrink: 0;
}

.panel-logo {
    text-align: left;
    margin: 0;
    flex-grow: 1;
    opacity: 1;
    cursor: pointer;
    padding-left: .5rem;
    transition: opacity 0.2s ease;
}

.panel-toggle-btn {
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    transition: all .2s ease;
}

.panel-toggle-btn:hover {
    background: var(--bg);
    transition: all .2s ease;
}

.panel-toggle-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.panel-content {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 33vh 0;
    display: flex;
    flex-direction: column;
}

.new-package-button {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--tp);
    border-radius: .75rem;
    color: var(--txt);
    padding: .5rem;
    cursor: pointer;
    font-size: .925rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin: 1rem 0 2rem;
}

.new-package-button:hover {
    background: var(--gray05b);
    color: var(--txtb);
}

.new-package-icon {
    width: .95rem;
    height: .95rem;
    flex-shrink: 0;
}

.history-loading {
    padding: 0 .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 500;
}

.history-category-title {
	padding: 0 1rem;
    color: var(--gray);
    text-transform: uppercase;
    list-style-type: none;
    margin-top: 3rem;
}

.history-category-title:focus-visible {
    outline: 2px solid var(--a);
    outline-offset: 2px;
}

.history-category-title:first-of-type {
    margin-top: 0;
}

.history-items-container {
    list-style: none;
    padding: 0;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.history-item {
    position: relative;
    padding: 1rem;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
	gap: .5rem;
    justify-content: space-between;
    transition: all .2s ease;
}

.history-item:hover {
    background-color: var(--gray05);
    transition: all .2s ease;
}

.history-item.active {
    background-color: var(--gray075);
    transition: all .2s ease;
}

.history-carrier-wrap {
    display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .5rem;
    width: 100%;
    min-width: 0;
}

.history-carrier {
    display: block;
    color: var(--txt);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.history-carrier-status {
    color: var(--gray70);
    white-space: nowrap;
    flex-shrink: 0;
}

.history-carrier-status.highlight {
    color: var(--txt);
    font-weight: 700;
}

.history-carrier-status.unread {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--red);
    display: block;
    margin-left: .5rem;
}

.red-dot {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--red);
    display: block;
    margin-left: .5rem;
}

.red-dot.suggestions-red-dot {
	margin: 0;
	margin-right: .5rem;
}

.history-number {
	width: 100%;
    display: block;
    color: var(--gray70);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    mask-image: linear-gradient(to right, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
    text-transform: uppercase;
    flex-shrink: 1;
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.history-carrier, .history-carrier-status, .history-number {
	font-size: 1rem;
	height: 1rem;
	line-height: 1rem;
}

#history-section-배송-완료 > .history-item > .history-carrier-wrap > .history-number {
    mask-image: none;
    -webkit-mask-image: none;
}

.history-category-title-text {
	font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.history-empty {
    font-size: 1rem;
    text-align: center;
}

.panel-footer {
    padding: 1rem;
    border-top: 1px solid var(--panel-border);
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.2s ease 0.1s;
}

.logo {
    width: 100%;
    display: flex;
    align-items: center;
}

header {
    position: fixed;
    width: 100%;
    z-index: 3;
}

header * {
    user-select: none;
}

.header-wrap {
    padding: 2rem;
}

.header-contents {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .3rem;
    gap: 2.5rem;
    backdrop-filter: blur(.15rem);
    -webkit-backdrop-filter: blur(.15rem);
    transition: all .2s ease;
}

.width-calc {
    opacity: 0;
    visibility: hidden;
    display: flex;
    position: absolute;
	font-size: 1rem;
	line-height: 1rem;
  	height: 1rem;
	font-weight: 600;
}

.sections {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.sections-button-circle {
	box-sizing: content-box;
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
}

.sections-button {
    font-size: 1rem;
    cursor: pointer;
    color: var(--gray60b);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sections-button.active {
    color: var(--txt);
}

.sections-button-text {
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    white-space: nowrap;
	font-size: 1rem;
	line-height: 1rem;
  	height: 1rem;
	font-weight: 600;
    transition: all .5s ease;
}

.sbt {
    white-space: nowrap;
}

.sections-button.active > #search-section-button,
.sections-button.semi-active >  #search-section-button {
    width: var(--btn-0-width);
}

.sections-button.active > #history-section-button,
.sections-button.semi-active > #history-section-button {
    width: var(--btn-1-width);
}

.sections-button.active > #track-section-button,
.sections-button.semi-active > #track-section-button {
    width: var(--btn-2-width);
}

.sections-button.active > #config-section-button,
.sections-button.semi-active > #config-section-button {
    width: var(--btn-3-width);
}

.sections-button.active > .sections-button-text,
.sections-button.semi-active > .sections-button-text {
    opacity: 1;
    visibility: visible;
    width: 2rem;
    margin-left: .5rem;
}

.search-wrap {
	padding: 33vh 1rem 0;
}

.search-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.title {
	margin-bottom: 1.5rem;
	height: 1.75rem;
	width: inherit;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    white-space: nowrap;
    border: solid .075rem var(--gray075b);
    border-radius: 3rem;
    cursor: default;
}

.logo-icon {
    width: 1.2rem;
    height: 1.2rem;
    padding: .1rem;
    object-fit: contain;
    border-radius: .2rem;
    opacity: .75;
    filter: grayscale();
}

.logo-svg {
    height: 1.3rem;
    width: inherit;
}

.logo-svg-panel {
    height: 1.275rem;
    width: inherit;
    mask-position: left !important;
}

.logo-name {
    font-size: 0.85rem;
    color: var(--gray60b);
}

.input {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 37, 41, 0.05);
    margin-bottom: 1rem;
    padding: 0 1rem;
    border-radius: 10rem;
    width: 20rem;
    max-width: 90%;
    height: 3.3rem;
    box-shadow: 0 0 20px 0 #f0ebe350 inset;
    transition: .2s all ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.input:hover {
    box-shadow: 0 0 30px 0 #f0ebe350 inset;
}

.text {
    color: var(--txt);
    width: 100%;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    position: absolute;
}

.input  {
    color: var(--txt);
    text-align: center;
    font-size: 1rem;
}

.button-wrap {
    display: flex;
    align-items: center;
    position: relative;
    gap: .5rem;
}

.paste-btn-initial {
    position: absolute;
    left: .8rem;
    background: rgba(33, 37, 41, 0.15);
    border-radius: 50%;
    padding: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.paste-btn-initial:hover {
    background: var(--gray05b);
}

.paste-btn-initial .paste-icon {
    width: 1rem;
    height: 1rem;
}


.input-form {
    position: relative;
    width: 100%;
    max-width: 35rem;
    opacity: 0;
    transition: var(--form-transition);
    pointer-events: none;
    margin-bottom: 1.5rem;
}

.input-form:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.input-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    position: relative;
	overflow: visible;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.input-line {
    display: flex;
    align-items: center;
    position: relative;
    padding: .5rem .5rem .5rem 1rem;
    border: solid .075rem var(--gray075b);
    border-radius: 1rem;
	width: 100%;
    max-width: 100%;
    gap: .5rem;
}

.track-num {
    flex-grow: 1;
    resize: none;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    color: var(--gray70b);
    font-size: 1rem;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
    height: 1rem;
    line-height: 1rem;
    background: transparent;
    border: none;
    transition: all .2s ease;
}

.track-num::placeholder {
    color: var(--grayb);
}

.track-num:focus::placeholder {
    color: var(--gray30b);
}

.paste-btn {
    position: absolute;
    right: -.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(33, 37, 41, 0.15);
    border-radius: 50%;
    padding: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.paste-btn:hover, .paste-btn-form:hover, .paste-btn-form.active {
    background: var(--gray05b);
}

.carrier-name-wrap:hover {
    text-decoration: underline;
}

.paste-btn-form {
    border-radius: .5rem;
    padding: .55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.button-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .9rem;
    line-height: .9rem;
    height: .9rem;
}

.paste-icon {
    width: 1rem;
    height: 1rem;
}

.input-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-left: 2.5rem;
    gap: .5rem;
}

.carriers {
    position: relative;
    flex-grow: 1;
}

.carrier-name-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: .75rem;
    transition: all .2s ease;
}

.carrier-name {
    cursor: pointer;
    color: var(--txtb);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    height: 1rem;
    line-height: 1rem;
}

.carrier-name.auto-detect-selected {
    font-style: unset;
}

.paste-button {
    position: relative;
    display: flex;
    justify-content: center;
}

.paste-modal-wrap {
    position: absolute;
    top: calc(100% + .25rem);
    cursor: default;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(.5rem);
	-webkit-backdrop-filter: blur(.5rem);
    background: var(--gray075b);
    border: solid .075rem var(--gray05b);
    box-shadow: 0 0 1.5rem 0 var(--sdw);
    border-radius: 1rem;
    z-index: 5;
    transition: all .2s ease;
}

.paste-modal-wrap.hidden {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: scale(.975);
}

.paste-modal {
    padding: .5rem;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    position: relative;
}

.paste-clipboard, .paste-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: all .2s ease;
}

.paste-clipboard:hover, .paste-image:hover {
    background: var(--gray05b);
}

.paste-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.paste-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.paste-spinner {
    margin-left: 2rem;
    width: .9rem;
    height: .9rem;
    animation: spin 1.5s linear infinite;
}

.paste-close {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 4;
}

.button-desc {
    font-size: .9rem;
    color: var(--gray60b);
}

.submit {
    padding: .55rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--gray075b);
    transition: all .2s ease;
}

.submit:hover {
    background: var(--gray05b);
}

.submit-icon {
    width: 1rem;
    height: 1rem;
}

.notice {
    font-size: .7rem;
    color: var(--grayb);
}

.modal-overlay {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    background: var(--w);
    padding: 1rem;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: all .2s ease;
	overflow-y: scroll;
	scrollbar-width: none;
}

.modal-overlay.hidden {
    display: flex !important;
    visibility: hidden;
    opacity: 0;
    transform: scale(1.05);
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.track, .config {
	padding: 0;
	align-items: center;
}

.track-wrap, .config-wrap {
	display: flex;
	justify-content: center;
	overflow-y: scroll;
	scrollbar-width: none;
	height: 100%;
	width: 100%;
	scroll-behavior: smooth;
	align-items: flex-start;
}

.config-wrap * {
    user-select: none;
}

.modal-container {
    width: 100%;
    display: flex;
    flex-direction: column;
	margin-top: 33vh;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.modal-search {
    position: relative;
    z-index: 10;
    background-color: transparent;
}

#searchInput {
    font-size: 1.2rem;
	font-weight: 600;
	text-align: center;
    color: var(--txtb);
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
	margin-bottom: 1.5rem;
}

.modal-content {
    flex-grow: 1;
}

.auto-detect-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem .65rem;
    border-radius: 1rem;
    font-size: 1rem;
    color: var(--txtb);
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all .2s ease;
}

.auto-detect-button:hover {
    background-color: var(--gray03b);
    outline: none;
    transition: all .2s ease;
}

.auto-detect-button.selected {
    background-color: var(--gray05b);
    color: var(--txtb);
}

.side-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.country-group {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}

.c-g-kr {
    margin-top: 0;
}

#companyListContainer > :nth-child(1) {
    margin-top: 0;
}

.country-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.5rem;
    gap: .75rem;
}

.country-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--gray);
    flex-shrink: 0;
    white-space: nowrap;
}

.divide-line {
    border: solid var(--gray075b);
    border-width: .075rem 0 0 0;
    width: 100%;
    flex-shrink: 1;
}

.country-header-flag {
    width: 20px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border: solid 1px var(--gray10b);
    border-radius: 5px;
    flex-shrink: 0;
}

.category-group {
    margin-bottom: 1.5rem;
}

.category-title {
    display: block;
	text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--grayb);
    padding: 1rem .65rem 0;
    border-width: 1px 0 0 0;
    margin: 0;
    margin-bottom: 0.5rem;
}

.company-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.company-item:hover > .company-name {
    text-decoration: underline;
}

.company-item.selected > .company-name {
    text-decoration: underline;
}

.company-name {
    font-size: 1.2rem;
	font-weight: 600;
    color: var(--txtb);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	text-align: center;
}

.company-flag {
    width: 18px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border: solid 1px var(--gray20b);
    border-radius: 4px;
}

.no-results {
    text-align: center;
    color: var(--grayb);
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
    display: none;
}

.no-results.show {
    display: block;
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray10b);
    color: var(--grayb);
    font-size: 0.7rem;
    text-align: center;
    line-height: 1;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.placeholder-img.flag,
.placeholder-img.header-flag {
    height: 14px;
    width: 20px;
}

.close-modal-button {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.close-modal-button:hover {
    color: var(--txtb);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--panel-border);
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.config-section {
	width: 100%;
    padding: 0 1rem;
	display: flex;
    gap: 1.5rem;
	flex-direction: column;
}

.config-section-title {
	color: var(--gray);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1rem;
	height: 1rem;
    margin-bottom: .5rem;
}

.config-item {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .5rem 0;
	cursor: pointer;
	transition: all .2s ease;
}

.config-item.disabled {
    opacity: .5;
}

.config-item-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.config-title {
	font-size: 1rem;
	line-height: 1rem;
	height: 1rem;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--txt);
	transition: all .2s ease;
}

.config-description {
    font-size: .8rem;
    color: var(--gray60b);
}

.switch {
	width: 1rem;
	height: 1rem;
	border-radius: 1rem;
	border: solid .15rem var(--gray25b);
    flex-shrink: 0;
	transition: all .2s ease;
}

.switch:checked {
	width: .95rem;
	height: .95rem;
	border-radius: .2rem;
	background: var(--txt);
	transition: all .2s ease;
}

.select {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .9rem;
    line-height: .9rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--txt);
}

.arrow-select {
    width: 1rem;
    height: 1rem;
    background: var(--txt);
}

.arrow-select.rotate {
    transform: rotate(90deg);
    width: .8rem;
    height: .8rem;
}

.placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

#tracking-content-area, .config-content {
	width: 100%;
	max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
	padding: 33vh 0;
	min-height: 100%;
	gap: 3rem;
}

.config-content {
    gap: 5rem;
}

.tracking-carrier-info {
    display: flex;
    align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: 4rem 0 2rem;
	position: sticky;
	bottom: 0;
	width: 100%;
	z-index: 2;
	background: linear-gradient(to top, var(--bg), var(--tp));
}

.tracking-details {
    padding: 0 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tracking-title {
    height: 20vh;
    min-height: 20rem;
    width: 100%;
    max-width: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
}

.progress-bar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: .25rem;
}

.progress-bar {
	width: 100%;
	height: .25rem;
	position: relative;
	overflow: hidden;
	--progress-value: 0;
	background-color: var(--gray075b);
}

.progress-bar-customs {
    width: 50%;
	height: .25rem;
	position: absolute;
	overflow: hidden;
    --progress-value-customs: 0;
    background-color: var(--bg);
}

.progress-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: calc(var(--progress-value) * 1%);
	background-color: var(--txtb);
	transition: width 0.3s ease;
}

.progress-bar-customs::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: calc(var(--progress-value-customs) * 1%);
	background-color: var(--red);
	transition: width 0.3s ease;
}

#tracking-timeline {
    position: relative;
    width: 100%;
    max-width: 30rem;
}

.tracking-info-wrap {
    display: flex;
	align-items: center;
	width: 100%;
    gap: .5rem;
}

.status-badge {
    color: var(--txtb);
    font-size: 1rem;
	line-height: 1rem;
	height: 1rem;
	flex-shrink: 0;
    font-weight: 700;
}

.location-icon-title {
	width: 1rem;
	height: 1rem;
	background: var(--gray70b) !important;
}

.status-important {
	color: var(--txtb);
	font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
	flex-shrink: 0;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.tracking-detail {
	color: var(--gray70b);
	font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
	flex-shrink: 0;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.track-info {
	color: var(--gray70b);
	font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
	text-align: right;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	text-transform: uppercase;
	mask-image: linear-gradient(to left, black 75%, transparent 100%);
	-webkit-mask-image: linear-gradient(to left, black 75%, transparent 100%);
}

.tracking-description {
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    word-break: keep-all;
    text-align: center;
    padding: 0 2rem;
}

#tracking-carrier-name {
    color: var(--grayb);
	flex-shrink: 0;
    font-size: .85rem;
	line-height: .85rem;
	height: .85rem;
}

#tracking-number {
	flex-shrink: 0;
    font-size: .85rem;
	line-height: .85rem;
	height: .85rem;
    text-transform: uppercase;
    color: var(--grayb);
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.tracking-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 4rem;
}

.tracking-status {
    display: flex;
    align-items: center;
	justify-content: space-between;
	gap: .5rem;
}

#tracking-summary {
    width: 100%;
    border: solid .075rem var(--gray10b);
    border-radius: 1.25rem;
}

.summary-area {
    user-select: none;
    background: var(--tp);
    border-radius: 1.25rem;
    width: 100%;
    transition: all .2s ease;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem 0;
}

.title-area {
    display: flex;
    align-items: center;
}

.summary-title {
    font-weight: 600;
}

.summary-toggle {
    width: .85rem;
    height: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-toggle-icon {
    width: 100%;
    height: 100%;
}

.summary-loader {
    display: block;
    width: 100%;
    height: 1.5rem;
    border-radius: .75rem;
    background-color: var(--bg);
    background-image: linear-gradient(to left, var(--bg), var(--gray20), var(--bg));
    background-size: 200% 100%;
    animation: loading-gradient 2s ease-in-out infinite;
}

.summary-description-loader {
    display: block;
    width: 100%;
    height: 2rem;
    background-color: var(--bg);
    background-image: linear-gradient(to left, var(--bg), var(--gray20), var(--bg));
    background-size: 200% 100%;
    animation: loading-gradient 2s ease-in-out infinite;
    border-radius: .75rem;
}

@keyframes loading-gradient {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
}


.timeline-header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: solid .075rem var(--gray03b);
}

.timeline-header-button {
    color: var(--gray70);
    padding: .7rem 1rem;
    width: 100%;
    text-align: center;
    cursor: pointer;
    background: var(--gray03b);
    transition: all .2s ease;
}

.timeline-header-button.selected {
    cursor: default;
    background: var(--tp);
    color: var(--txt);
    font-weight: 600;
}

.timeline-list,
.summary-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
	display: flex;
	flex-direction: column;
	font-size: .9rem;
	gap: 3rem;
	color: var(--grayb);
}

.timeline-alert {
	font-size: 1rem;
	line-height: 1.5rem !important;
	color: var(--txtb) !important;
}

.time-location {
    display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: .75rem !important;
}

.timeline-time {
	font-size: .9rem !important;
	line-height: .9rem !important;
    color: var(--gray);
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.timeline-location {
	display: flex;
	align-items: center;
	gap: .1rem;
}

.location-icon-timeline {
	width: .85rem;
	height: .85rem;
	background: var(--gray) !important;
}

.timeline-location-text {
	font-size: .85rem !important;
	line-height: .85rem !important;
	height: .85rem !important;
    color: var(--gray);
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.status-wrap {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.status-title {
    font-size: 1rem;
}

.status-description {
    font-size: .9rem !important;
    line-height: 1.3rem !important;
}

.timeline-list *,
.summary-timeline * {
    font-size: 1rem;
    color: var(--grayb);
    margin: 0;
    line-height: 1rem;
}

.tracking-footer {
    padding: 1rem;
    border: solid .075rem var(--gray075b);
    border-radius: 1.35rem;
}

.catlogo {
    height: 1rem;
    width: inherit;
    opacity: .75;
    display: flex !important;
    mask-position: left !important;
}

.ai-info {
    font-size: .9rem;
    margin-top: .75rem;
    opacity: .6;
}

.ai-icon {
    width: .85rem;
    height: .85rem;
}

.credits {
    font-size: .9rem;
    color: var(--gray60);
}

.credits.initial {
    font-size: .75rem;
}

.candidate-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.candidate-btn {
    background-color: var(--gray15);
    color: var(--txt);
    border: 1px solid var(--gray25);
    padding: 0.5rem 1rem;
    border-radius: .75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 0.9rem;
}

.candidate-btn:hover {
    background-color: var(--gray20);
    border-color: var(--gray30);
}

.loading,
.site-loading,
.error-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white70);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--txt);
    padding: 1rem;
    opacity: 1;
    visibility: visible;
    transition: all .2s ease;
}

.loading {
	background: var(--bg);
	padding: 0;
	justify-content: flex-start;
}

.loading.hidden,
.site-loading.hidden {
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all .2s ease !important;
}

.site-loader-idc {
    display: flex;
    align-items: center;
	margin-top: .5rem;
    height: 1rem;
    overflow: hidden;
    transition: all .2s ease;
}

.site-loader-idc.hidden {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.site-loader-desc {
    font-size: .9rem;
    font-weight: 500;
}

.loading-modal {
	padding: 33vh 1rem 0;
}

.loading-idc {
	display: flex;
	align-items: center;
	gap: .75rem;
	justify-content: center;
}

.track-spinner {
	margin-bottom: .5rem;
}

.loading-status {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.loading-status-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.loading-status-title {
    font-size: 1rem;
}

.loading-status-desc {
    font-size: .9rem;
	margin: .5rem 0;
    color: var(--gray60b);
}

.loading-escape, .history-escape, .suggestions {
    margin-top: .5rem;
    color: var(--txt);
	text-align: center;
    width: 100%;
    border-radius: .75rem;
	font-size: 1rem;
	line-height: 1rem;
    font-weight: 600;
	text-decoration: underline;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.history-escape {
	margin: 0;
}

.suggestions {
	margin: 0;
	font-size: .9rem;
	line-height: .9rem;
	height: .9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

.loading-escape.hidden {
    display: flex !important;
    margin: 0;
    padding: 0;
    height: 0;
    opacity: 0;
    border-width: 0;
    visibility: hidden;
    overflow: hidden;
}

.spinner {
    width: .85rem;
    height: .85rem;
    animation: spin 1.5s linear infinite;
}

.spinner.hidden {
	margin: 0 !important;
	display: block !important;
	height: 0 !important;
	transition: all .2s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-message p {
    margin-bottom: 0.5rem;
}

.error-message pre {
    background-color: var(--f0);
    color: var(--red);
    padding: 0.5rem 0.75rem;
    border-radius: .3rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    max-width: 100%;
    overflow-x: auto;
    text-align: left;
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

i[data-feather] {
    color: inherit;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    stroke-width: 2;
}

.pathly-info {
    padding: 0 1rem;
    font-size: .8rem;
    width: 100%;
    line-height: 1.3rem;
    color: var(--gray30b);
    font-weight: 500;
    font-variant-numeric: tabular-nums slashed-zero;
	font-feature-settings: "cv01", "cv02", "cv03", "cv04", "cv09", "calt", "tnum", "case", "zero", "ss02";
}

@media screen and (max-width: 768px) {
	header {
		bottom: 0;
	}

	.tracking-carrier-info {
		padding: 4rem 0 var(--header-height);
		background: linear-gradient(to top, var(--bg) 2rem, var(--tp));
	}

	.header-wrap {
        padding: 1rem;
    }

    .input {
        width: 18rem;
    }

    .input-submit {
        padding-left: 0;
    }

    .paste-button {
        justify-content: flex-end;
    }

    .container {
        margin-bottom: 4rem;
    }

    .tracking-details {
        padding-bottom: 1rem;
    }
}