/* SB Packers & Movers - Mobile Dispatch & Vendor App Styles */

:root {
    --app-primary: #d84315;
    --app-primary-dark: #bf360c;
    --app-secondary: #ff6d00;
    --app-dark: #1e293b;
    --app-bg: #f8fafc;
    --app-card: #ffffff;
    --app-border: #e2e8f0;
}

body {
    background-color: var(--app-bg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: 80px; /* Space for bottom navigation */
}

/* Mobile App Header */
.mobile-app-header {
    background: linear-gradient(135deg, var(--app-primary), var(--app-secondary));
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.15);
}

.mobile-app-header .logo-img {
    height: 34px;
    background: #ffffff;
    padding: 2px;
    border-radius: 6px;
}

/* Mobile Filter Pills */
.filter-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Order Dispatch Cards */
.order-dispatch-card {
    background: var(--app-card);
    border: 1px solid var(--app-border);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-dispatch-card:active {
    transform: scale(0.99);
}

.route-badge {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 8px 12px;
}

.vendor-token-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Bottom App Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--app-border);
    height: 65px;
    z-index: 1040;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: var(--app-primary);
}

.bottom-nav-item.active i {
    transform: translateY(-2px);
    transition: transform 0.2s;
}

/* Modal styling */
.modal-mobile-bottom .modal-dialog {
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
}

.modal-mobile-bottom .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}
