body, html {
    overflow-x: hidden;
}

body {
    padding-top: 130px;
    padding-bottom: 80px;
}

.logo-icon {
    height: 70px;
    width: 70px;
    object-fit: contain; /* Keeps aspect ratio, no distortion */
}

.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1040;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Center content horizontally */
    justify-content: center;
    text-align: center;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
    z-index: 1030;
}

.dark-mode {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

.dark-mode .card {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.dark-mode .navbar,
.dark-mode .bottom-nav {
    background-color: #1c1c1c !important;
}

.theme-toggle {
    position: absolute;
    top: 10px;
    right: 15px;
}

.card img {
    max-height: 150px;
    object-fit: cover;
}


/* Button: bright orange with white text */
.courier-btn {
    background-color: #f97316;
    color: white;
    border: none;
}

.courier-btn:hover {
    background-color: #fb8c1a;
    color: white;
}

/* Title: adjusts with theme */
.courier-title {
    color: #222;
}

.dark-mode .courier-title {
    color: #e0e0e0;
}

/* Optional: tweak logo appearance in dark mode *//*
.logo-icon {
    filter: none;
    transition: 0.3s ease;
}*/

.dark-mode .logo-icon {
    filter: brightness(0.9) contrast(1.2);
}

/* Fixed size icon style */
.icon-img {
    width: 160px;
    height: 130px;
    object-fit: contain;
}

/* Optional: in dark mode, tweak contrast for icons */
.dark-mode .icon-img {
    filter: brightness(0.95) contrast(1.1);
}

.bottom-nav .nav-link {
    color: #444; /* default icon/text color */
  }

.bottom-nav .nav-link.active,
.bottom-nav .nav-link:focus,
.bottom-nav .nav-link:hover {
color: #f97316; /* your orange color */
}

.bottom-nav .nav-link.active i {
color: #f97316;
}

.fixed-img-height {
  height: 100px;            /* Set desired fixed height */
  width: auto;              /* Let width scale naturally */
  object-fit: contain;      /* Maintain aspect ratio without cropping */
}

 @media (max-width: 768px) {
    .card-header .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    .btn-group > .btn {
        font-size: 0.8rem;
    }
}

.modal-dialog {
    max-width: 95%;
}

/* Optional: Make inputs stack on small screens */
@media (max-width: 576px) {
    .package-inputs .col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
}

.dropdown-menu {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

select:invalid {
    color: #6c757d; /* Lighter placeholder-like color */
}
option[value=""] {
    color: #6c757d;
}

.is-invalid {
    border-color: red;
    background-color: #fff5f5;
}

.step-item {
    cursor: pointer;
    padding: 10px;
    color: #6c757d;
    transition: all 0.2s;
}

.step-item.active {
    color: #FD490D;
    font-weight: bold;
    border-bottom: 3px solid #FD0D3D;
}

.step-item i {
    display: block;
    font-size: 1.8rem;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
}

.bottom-nav .dropup .dropdown-menu {
    bottom: 100% !important;
    top: auto !important;
}
/*
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1050; *//* Higher than dropdowns but below modals *//*
    background-color: #fff;
    border-top: 1px solid #ccc;
    padding: 0.5rem 0;
}*/

.bottom-nav {
    background-color: #f0f0f0 !important;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    padding: 0.3rem 0;
}

a.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu::after {
    content: '';
    position: sticky;
    bottom: 0;
    height: 10px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    display: block;
}

.carousel-img {
    height: 100px;
    width: 100px;
    object-fit: contain; /* or 'cover' depending on your goal */
}

.scrolling-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.scrolling-track {
    display: flex;
    width: max-content;
    animation: scroll-left 25s linear infinite;
    gap: 30px;
    padding: 10px 0;
}

.courier-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.courier-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
