#kt_app_sidebar {
    display: none !important;
}

#kt_app_wrapper {
    margin-left: 0px !important;
}

.app-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.invoice-sidebar {
    width: 100%;
    float: right;
    background-color: #010535;
    color: #fff;
    padding: 20px 50px;
    height: 100vh;
    font-size: 14px;
    overflow-y: auto;
    position: sticky;
    top: 0;
}

.invoice-sidebar::-webkit-scrollbar {
    width: 5px;
}

.invoice-sidebar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.invoice-sidebar-hr {
    border: 0;
    border-top: 1px solid #334155;
    margin: 0.9rem 0;
}

.main-logo {
    width: 140px;
    height: auto;
    max-height: 48px;
}

.invoice-number {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 2px;
    color: #fff;
}

.due-date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 900;
}

.drayage-fee-header .drayage-fee-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.weather-section {
    border-right: 1px solid #334155;
    padding-right: 12px;
}

.delivery-to-label {
    color: #94a3b8;
    font-size: 0.8rem;
}

.temp-large {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.weather-location {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.delivery-responsive-section .day-number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.delivery-stack {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #ef4444;
}

.eta-text {
    font-size: 0.85rem;
    color: #5c629a;
    font-weight: 900;
}

/* Stats: labels white, values green */
.stats-block .stat-label {
    color: #27b408;
    font-size: 0.85rem;
    font-weight: 800;
}

.stats-block .stat-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Collapsible itemized breakdown - default open, toggle on click */
.itemized-breakdown {
    margin-bottom: 4px;
}

.itemized-breakdown-toggle {
    list-style: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ef4444;
    padding: 6px 0;
    user-select: none;
}

.itemized-breakdown-toggle::-webkit-details-marker,
.itemized-breakdown-toggle::marker {
    display: none;
}

.itemized-breakdown-toggle::before {
    content: ">";
    display: inline-block;
    margin-right: 8px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.itemized-breakdown[open] .itemized-breakdown-toggle::before {
    transform: rotate(90deg);
}

.fees-list {
    padding-left: 0;
    margin-top: 4px;
    margin-bottom: 0;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.item-label {
    color: #cbd5e1;
}

.item-amount {
    color: #fff;
}

.total-section {
    border-top: 1px solid #334155;
    padding-top: 12px;
    margin-top: 12px;
}

.total-row .total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.total-section .total-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.total-text {
    font-size: 1.9rem;
}

.amount-due-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.btn-driver-express {
    background-color: #facc15 !important;
    color: #000 !important;
    border: none;
    font-weight: 700;
}

.btn-next-custom {
    background-color: #27b408 !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
}

.note-box {
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 20px;
    line-height: 1.4;
}

.border-end-custom {
    border-right: 1px solid #334155;
}

.delivery-day,
.delivery-month {
    font-size: 1.9rem;
    font-weight: 800;    
}

.top_form_container .tab_box button.job-type.default,
.top_form_container .tab_box button.load-type.default {
    background-color: #d2dadd !important;
    color: #000 !important;
}

.top_form_container .tab_box button.job-type.active,
.top_form_container .tab_box button.load-type.active {
    background-color: #94a3b8 !important;
    color: #fff !important;
}

.job-type.active {
    cursor: pointer;
}
.job-type.active:hover::after {
    content: " (click to reset)";
    font-size: 10px;
    opacity: 0.7;
}

.map_loader,
.rightside_loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.specific_limits_box:has(.rightside_loader:not(.d-none)) {
    overflow-y: hidden !important;
}

.map_loader .spinner-border,
.rightside_loader .spinner-border {
    width: 3rem;
    height: 3rem;
}

.map_loader .loader-text,
.rightside_loader .loader-text {
    color: #010535;
    font-weight: 500;
    font-size: 1rem;
}


@media (min-width: 768px) {
    .day-number {
        font-size: 4rem;
    }
}

@media (max-width: 350px) {
    .weather-delivery-container {
        flex-direction: column !important;
        gap: 20px;
    }

    .weather-section,
    .delivery-responsive-section {
        width: 100% !important;
        text-align: center !important;
    }

    .border-end-custom {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    .weather-section .d-flex {
        justify-content: center !important;
    }

    .delivery-responsive-section .d-flex {
        justify-content: center !important;
        align-items: center !important;
    }

    .day-number {
        font-size: 3rem;
    }

    .eta-text {
        margin-top: 10px;
    }
}

@media (max-width: 390px) {
    .custom-button-row {
        display: flex;
        flex-direction: column !important;
    }

    .col-custom {
        width: 100% !important;
    }

    .col-custom:first-child {
        margin-bottom: 10px;
    }
}