html, body {
    background-color: #F9FBFE;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
    font-feature-settings: "tnum";
}

h1, h2, h3 {
    font-weight: 700;
}

.h5, h5 {
    font-size: .875rem;
}

.container {
    max-width: 920px;
}

.form-select,
.form-control {
    border-color: #D1D5DB !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
}

.form-select:focus,
.form-control:focus {
    border-color: #D1D5DB !important;
    background-color: #F9FAFB !important;
}

.fs-14 {
    font-size: 14px;
}

label {
    margin-bottom: 3px !important;
    font-size: 14px !important;
}

@-webkit-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-moz-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-o-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.m-progress {
    position: relative;
    opacity: .8;
    color: transparent !important;
    text-shadow: none !important;
}

.m-progress:hover,
.m-progress:active,
.m-progress:focus {
    cursor: default;
    color: transparent;
    outline: none !important;
    box-shadow: none;
}

.m-progress:before {
    content: '';
    display: inline-block;
    position: absolute;
    background: transparent;
    border: 1px solid #fff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;
    width: 24px;
    height: 24px;
    -webkit-animation: ld 1s ease-in-out infinite;
    -moz-animation: ld 1s ease-in-out infinite;
    -o-animation: ld 1s ease-in-out infinite;
    animation: ld 1s ease-in-out infinite;
}

input::placeholder,
textarea::placeholder {
    color: #d9d9d9 !important;
}

.ss-placeholder {
    padding: 0 !important;
    color: #d9d9d9 !important;
}

.ss-content {
    padding: 0 !important;
    min-width: 216px !important;
}

.ss-content input {
    box-shadow: none !important;
}

.ss-main {
    padding: 12px 12px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.ss-search {
    color: #6c757d !important;
    line-height: 1.2em;
    font-size: 14px;
}

.ss-search input {
    font-size: 16px !important;
    line-height: 1.5em;
}

.ss-values {
    line-height: 1em !important;
}

#phoneWrapper .ss-main {
    width: 100%;
    max-width: 100%;
}

#phoneWrapper .ss-content {
    min-width: auto;
    width: auto;
    max-width: 100%;
}

div#phoneWrapper .form-select,
div#phoneWrapper .form-control {
    border: 0;
}

div#phoneWrapper {
    border-color: #D1D5DB !important;
    border-radius: 8px !important;
    border: 1px solid;
}

div#phoneWrapper .ss-main {
    padding-right: 0 !important;
}

.ss-content.country-code-value .phone-code-value {
    display: none !important;
}

.ss-main.country-code-value span:not(.phone-code-value) {
    display: none !important;
}

.ss-main.country-value span.phone-code-value,
.ss-content.country-value span.phone-code-value {
    display: none !important;
}

label {
    cursor: pointer;
}

.fs-18 {
    font-size: 18px;
}

input[type="radio"]:checked + label {
    box-shadow: 0 0 0 3px rgb(13 110 253 / 40%);
    border: 1px solid rgb(13 110 253 / 40%) !important;
    background-color: rgba(13 110 253 / 8%);
}

.placeholder-light {
    background-color: #c2c7d1 !important; /* un gris más claro */
}

span.flag img {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 0;
    border: none;
    margin: auto;
    display: block;
    width: 0;
    height: 0;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

span.flag {
    display: inline-block;
    width: 20px;
    height: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 10px;
}

label.required:after {
    content: "*";
    color: red;
}

.max-w-300 {
    max-width: 300px !important;
}

.max-w-500 {
    max-width: 500px !important;
}

.min-w-200 {
    min-width: 200px !important;
}

.btn-outline-primary:focus {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #f6f6f6;
}

.courier-choice .shipping-time-icon {
    height: 20px;
    width: 20px;
}

.courier-choice img {
    width: 70px;
    height: 30px;
    object-position: left;
    object-fit: contain;
}

.ss-single {
    width: 100% !important;
}

.metric-shipment-item + .metric-shipment-item {
    border-top: 1px solid #ddd;
}

.badge-status {
    color: #fff;
    padding: 0.4em 0.65em;
    font-size: 0.8em;
    border-radius: 0.375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* Modern cohesive palette for statuses */
.badge-status-draft {            background-color: #94a3b8; }  /* slate-400 */
.badge-status-created {          background-color: #9ca3af; }  /* gray-400 */
.badge-status-confirmed {        background-color: #3b82f6; }  /* blue-500 */
.badge-status-processing {       background-color: #06b6d4; }  /* cyan-500 */
.badge-status-picked_up {        background-color: #06b6d4; }  /* cyan-500 */
.badge-status-in_transit {       background-color: #f59e0b; color: #111827; }  /* amber-500 with dark text */
.badge-status-arrived {          background-color: #a855f7; }  /* purple-500 */
.badge-status-out_for_delivery { background-color: #6366f1; }  /* indigo-500 */
.badge-status-delivered {        background-color: #16a34a; }  /* green-600 */
.badge-status-completed {        background-color: #16a34a; }  /* green-600 */
.badge-status-rescheduled {      background-color: #8b5cf6; }  /* indigo-500 variant */
.badge-status-in_progress {      background-color: #0ea5e9; }  /* sky-500 */
.badge-status-scheduled {        background-color: #0ea5e9; }  /* sky-500 */
.badge-status-cancelled {        background-color: #ef4444; }  /* red-500 */
.badge-status-failed {           background-color: #b91c1c; }  /* red-700 */

.pickup-shipment-item svg {
    height: 35px;
    width: 35px;
}

img.shipment-courier-logo {
    height: 35px;
    width: 35px;
}

.h-lg-400px {
    height: 400px;
}