﻿
/*====================================
 Free To Use For Personal And Commercial Usage
Author: http://binarytheme.com
 Share Us if You Like our work 
 Enjoy Our Codes For Free always.
======================================*/

/* user image section */
.user-section {
    margin-top:20px;
    font-size:22px;
    background-color:rgb(83, 163, 163);
}
.user-section-inner {
    height: 65px;
width: 65px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
display: inline-block;
float: left;
margin-right: 15px;
margin-top: 20px;
}
    .user-section-inner img {
        margin-left:10px;
        width:55px;
        height:60px;
        
    }
.user-info {
    display: block;
    color:#000!important;
display: inline-block;
padding: 15px;
margin-bottom: 0px
}
.user-text-online {
    font-size:18px;
    color:#fff
}
.user-circle-online {
    width: 15px!important;
    height: 15px!important;
}

/* side-menu section */
.nav > li > a:hover, .nav > li > a:focus {
    background-color:rgba(74, 72, 126, 0);
}
.navbar-top-links  .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #75C5B8;
}
.navbar-top-links > li > a {
color: #FFFFFF;
}
.nav > li > a {
padding: 20px 15px;
}
#side-menu {
    background-color:#04B173;
}

 #side-menu a {
            color:#fff;
           border-bottom: 1px solid #84B899 !important;
           height: 55px;
        }
        .selected {
            background-color:rgb(83, 163, 163);
        }
/* back colors */
        .blue {
            background-color:rgb(113, 159, 241);
        }
         .green {
            background-color:rgb(144, 236, 192);
        }
          .red {
            background-color:rgb(255, 102, 133);
        }
        .yellow {
            background-color:rgb(237, 253, 46);
        }

  /* No border */
.no-boder {
    border:0px solid #5bc0de !important;
}
/* tap nvbar Section */

#navbar {
    background-color:rgb(227, 174, 36);
}

.navbar-brand {
    padding-left:20px;
}
.navbar-brand img {
    height:30px;
}
.top-label {
    position: absolute;
top: 50%;
right: 50%;
margin-top: -24px;
margin-right: -24px;
}

/*large font*/
.large-font {
    font-size:18px;
}

.body-Login-back {
    background-color:#84B899;
}

.margin-tips {
    margin:5px;
}
.navbar-default {
border-color: #27A6BE;
}
/*media queries*/

@media(min-width:768px) 
{
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        min-height: 1000px;
       
       
    }

}

@media(max-width:768px) {
#wrapper {
    margin-top:140px!important;
    
}
}

/* Section Styling */
h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h4 {
    font-size: 18px;
    color: blackimekubali ;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#assigned-deliveries-section, #delivery-history-section, #earnings-section {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* List Styling */
ul.list-group {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.list-group li {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

ul.list-group li:hover {
    background-color: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

ul.list-group li strong {
    font-weight: bold;
    color: #10b981;
}

/* Earnings Section Styling */
#earnings-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

#earnings-section p span {
    font-weight: bold;
    color: #10b981;
}

/* Enhanced Mobile Responsive Styling - Scoped to avoid conflicts */
@media (max-width: 768px) {
    /* Scoped mobile optimizations */
    .guest-dashboard-mobile body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Mobile specific header improvements */
    .mobile-dashboard h1, 
    .mobile-dashboard h2, 
    .mobile-dashboard h3 {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    /* Mobile panel styling - scoped */
    .mobile-dashboard .panel {
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .mobile-dashboard .panel-heading {
        padding: 12px 15px;
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-dashboard .panel-body {
        padding: 15px;
    }

    /* Mobile button improvements - more specific */
    .mobile-nav .btn,
    .mobile-dashboard .btn-mobile {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 8px;
        margin: 5px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile list styling - scoped */
    .mobile-dashboard ul.list-group li {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    /* Mobile form improvements - scoped */
    .mobile-dashboard .form-control {
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px;
    }

    /* Mobile container - scoped */
    .mobile-dashboard .container-fluid {
        padding: 10px;
    }

    /* Mobile earnings section */
    .mobile-dashboard #earnings-section p {
        font-size: 16px;
        padding: 10px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 8px;
        margin-bottom: 10px;
    }

    /* Mobile navigation - scoped */
    .mobile-nav .navbar {
        border-radius: 0;
        margin-bottom: 0;
    }

    .mobile-nav .navbar-brand {
        font-size: 18px;
        padding: 10px 15px;
    }

    /* Mobile responsive images - scoped */
    .mobile-dashboard img {
        max-width: 100%;
        height: auto;
    }

    /* Mobile table responsive - scoped */
    .mobile-dashboard .table-responsive {
        border: none;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Mobile modal - scoped */
    .mobile-dashboard .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .mobile-dashboard .modal-content {
        border-radius: 12px;
    }

    /* Mobile alert - scoped */
    .mobile-dashboard .alert {
        border-radius: 8px;
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    /* Mobile App Style Bottom Navigation - Scoped */
    .courier-mobile .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-top: 2px solid rgba(102, 126, 234, 0.1);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        z-index: 1050;
        display: none;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .courier-mobile .nav-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 12px 0;
        max-width: 100%;
    }

    .courier-mobile .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #6c757d;
        padding: 10px 12px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        min-width: 60px;
    }

    .courier-mobile .nav-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 0 0 3px 3px;
        transition: width 0.3s ease;
    }

    .courier-mobile .nav-item.active::before {
        width: 30px;
    }

    .courier-mobile .nav-item.active {
        color: #667eea;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    }

    .courier-mobile .nav-item:hover {
        color: #667eea;
        background: rgba(102, 126, 234, 0.05);
        transform: translateY(-1px);
    }

    .courier-mobile .nav-item i {
        font-size: 20px;
        margin-bottom: 6px;
        transition: all 0.3s ease;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    }

    .courier-mobile .nav-item.active i {
        transform: scale(1.1);
        filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
    }

    .courier-mobile .nav-item span {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
    }

    .courier-mobile .nav-item.active span {
        font-weight: 700;
        letter-spacing: 0.8px;
    }

    /* Pulse animation for active item - scoped */
    @keyframes courierNavPulse {
        0% { transform: translateY(-2px) scale(1); }
        50% { transform: translateY(-4px) scale(1.02); }
        100% { transform: translateY(-2px) scale(1); }
    }

    .courier-mobile .nav-item.active {
        animation: courierNavPulse 2s ease-in-out infinite;
    }

    .courier-dashboard #page-wrapper {
        margin-bottom: 80px;
        padding: 10px;
    }

    /* Mobile utility classes - scoped */
    .courier-mobile .mobile-only {
        display: block;
    }

    .courier-mobile .desktop-only {
        display: none;
    }

    /* Enhanced touch interactions - scoped */
    .courier-mobile .touchable {
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }

    .courier-mobile .touchable:active {
        transform: scale(0.98);
        opacity: 0.8;
    }

    /* Loading states for mobile - scoped */
    .courier-mobile .loading-mobile {
        position: relative;
        pointer-events: none;
    }

    .courier-mobile .loading-mobile::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #667eea;
        border-radius: 50%;
        animation: courierSpin 1s linear infinite;
        transform: translate(-50%, -50%);
    }

    @keyframes courierSpin {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    /* Improved mobile typography - scoped */
    .courier-mobile .mobile-heading {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: center;
    }

    .courier-mobile .mobile-subheading {
        font-size: 18px;
        font-weight: 600;
        color: #6c757d;
        margin-bottom: 15px;
    }

    /* Mobile-specific spacing - scoped */
    .courier-mobile .mb-mobile {
        margin-bottom: 20px;
    }

    .courier-mobile .mt-mobile {
        margin-top: 20px;
    }

    .courier-mobile .p-mobile {
        padding: 15px;
    }

    /* Enhanced card design for mobile - scoped */
    .courier-mobile .mobile-card {
        background: white;
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        border: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }

    .courier-mobile .mobile-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

    /* Status indicators for mobile - scoped */
    .courier-mobile .status-indicator {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 8px;
    }

    .courier-mobile .status-online { background-color: #28a745; }
    .courier-mobile .status-offline { background-color: #dc3545; }
    .courier-mobile .status-pending { background-color: #ffc107; }

}

/* ==============================
   Payment Collection Styles
   ============================== */
.payment-form-card {
    background: #ffffff; /* keep white for clarity */
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 760px;
    margin: 18px auto;
}
.payment-form-card h4,
.payment-form-card h5 {
    color: #263B66;
    font-weight: 700;
    margin-bottom: 12px;
}
.payment-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.payment-card .payment-header h5 { margin: 0; color: #1f2937; font-weight:700; }
.payment-card .badge { background: linear-gradient(90deg,#f59e0b,#f97316); color: #fff; padding: 6px 8px; border-radius: 8px; font-size: 12px; }
.payment-card .payment-actions { margin-top: 12px; }
.payment-card .collect-payment-btn { background: linear-gradient(90deg,#10b981,#059669); border: none; }
.payment-details p {
    margin-bottom: 8px;
    color: #333333;
    line-height: 1.35;
}
.payment-details p strong {
    display: inline-block;
    width: 95px;
    color: #111111;
}
.payment-actions { text-align: right; }
.payment-actions .btn { min-width: 140px; border-radius: 10px; }
.mobile-icon {
    border: 2px solid #e9ecef;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: #fcfcfd;
    transition: all 220ms ease;
}
.mobile-icon img { display: block; margin: 0 auto; width: 56px; height: 56px; }
.mobile-icon p { margin-top: 8px; font-size: 13px; font-weight: 600; color: #444; }
.mobile-icon:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); border-color: #667eea; }
.mobile-icon.selected {
    background: linear-gradient(90deg, rgba(102,126,234,0.06), rgba(118,75,162,0.06));
    border-color: #667eea;
    box-shadow: 0 16px 40px rgba(102,126,234,0.08);
}
.payment-processing .fa-spinner { color: #3b82f6; }
.payment-success .fa-check-circle { color: #16a34a; }

/* Ensure inputs are easy to touch */
#payment-form-container .form-control { border-radius: 10px; padding: 10px 12px; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .payment-form-card { padding: 18px; margin: 12px; }
    .mobile-icon img { width: 48px; height: 48px; }
    .payment-details p strong { width: 80px; display: inline-block; }
    .payment-actions { text-align: center; }
    .payment-actions .btn { width: 100%; margin-bottom: 10px; }
}


/* Tablet styles */
@media (min-width: 577px) and (max-width: 768px) {
    .container-fluid {
        padding: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .mobile-heading {
        font-size: 28px;
    }
}

/* Desktop styles - scoped to avoid conflicts */
@media (min-width: 769px) {
    .courier-dashboard .navbar-static-side {
        display: block;
    }
    .courier-mobile .mobile-bottom-nav {
        display: none;
    }
    .courier-dashboard #page-wrapper {
        margin-left: 280px;
        margin-bottom: 0;
    }
    
    .courier-mobile .mobile-only {
        display: none;
    }
    
    .courier-mobile .desktop-only {
        display: block;
    }
}

/* Very small screens (iPhone SE and smaller) */
@media (max-width: 375px) {
    .container-fluid {
        padding: 8px;
    }
    
    .mobile-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .mobile-heading {
        font-size: 20px;
    }
    
    .form-control {
        padding: 10px;
        font-size: 14px;
    }
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .container-fluid {
        max-width: 1140px;
        margin: 0 auto;
    }
}

/* Mini Dashboard Widget Styles */
.mini-dashboard-widget {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-dashboard-widget .widget-header {
    margin-bottom: 20px;
    text-align: center;
}

.mini-dashboard-widget .widget-header h4 {
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mini-dashboard-widget .widget-header h4 i {
    color: #667eea;
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: scale(0);
}

.stat-card:hover::before {
    transform: scale(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stat-card.pending-orders {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.stat-card.pending-orders:hover {
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.stat-card.delivered-orders {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.stat-card.delivered-orders:hover {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.stat-card.total-spent {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.stat-card.total-spent:hover {
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 10px 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Recent Orders Widget */
.recent-orders-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.recent-orders-widget .widget-header h5 {
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-orders-widget .widget-header h5 i {
    color: #667eea;
}

.mini-orders-list {
    margin-top: 15px;
}

.mini-order-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.mini-order-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.mini-order-item .order-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.mini-order-item .order-details {
    flex: 1;
}

.mini-order-item .order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.mini-order-item .order-id {
    font-weight: 600;
    color: #2d3748;
}

.mini-order-item .order-status {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mini-order-item .order-status.status-pending {
    background-color: #fed7d7;
    color: #c53030;
}

.mini-order-item .order-status.status-processing {
    background-color: #feebc8;
    color: #dd6b20;
}

.mini-order-item .order-status.status-delivered {
    background-color: #c6f6d5;
    color: #38a169;
}

.mini-order-item .order-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #718096;
}

.mini-order-item .order-action {
    margin-left: 15px;
}

.track-order-btn {
    border: 1px solid #667eea !important;
    color: #667eea !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.track-order-btn:hover {
    background: #667eea !important;
    color: white !important;
    transform: scale(1.05);
}

.no-orders-message {
    color: #718096;
    font-style: italic;
}

.widget-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* Mini Dashboard Animations */
@keyframes statIconBounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1.3) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.ripple-effect {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 1;
}

.stat-card .ripple-effect {
    background: rgba(255, 255, 255, 0.4);
}

/* Loading animation for stats */
.stat-number {
    animation: countUp 0.8s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for pending orders */
.stat-card.pending-orders .stat-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Orders Section Styles */
.orders-container {
    padding: 20px 0;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.orders-header h3 {
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orders-header h3 i {
    color: #667eea;
}

.orders-filter select {
    min-width: 150px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    background: white;
}

.order-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-info .order-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
}

.order-info .order-date {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 2px;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.status-pending {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #c53030;
}

.order-status.status-assigned {
    background: linear-gradient(135deg, #feebc8 0%, #f6ad55 100%);
    color: #dd6b20;
}

.order-status.status-picked-up {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    color: #2b77cb;
}

.order-status.status-in-transit {
    background: linear-gradient(135deg, #d6f5ff 0%, #9decff 100%);
    color: #0987a0;
}

.order-status.status-delivered {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #38a169;
}

.order-route {
    margin-bottom: 20px;
}

.route-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.route-point i {
    margin-right: 12px;
    margin-top: 2px;
    font-size: 0.9rem;
}

.route-point.pickup i {
    color: #4299e1;
}

.route-point.dropoff i {
    color: #38a169;
}

.route-info {
    flex: 1;
}

.route-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.route-address {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.4;
}

.route-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, #4299e1, #38a169);
    margin: -5px 0 -5px 7px;
    border-radius: 2px;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4a5568;
    font-size: 0.9rem;
}

.meta-item i {
    color: #667eea;
}

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-actions .btn {
    flex: 1;
    min-width: 120px;
    border-radius: 6px;
    font-size: 0.85rem;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.track-btn:hover {
    background: #667eea !important;
    color: white !important;
    transform: translateY(-1px);
}

.receipt-btn:hover {
    background: #38a169 !important;
    color: white !important;
    transform: translateY(-1px);
}

.cancel-btn:hover {
    background: #e53e3e !important;
    color: white !important;
    transform: translateY(-1px);
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
}

.no-orders-icon {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.no-orders h4 {
    color: #4a5568;
    margin-bottom: 10px;
}

.no-orders p {
    color: #718096;
    margin-bottom: 25px;
}

/* Profile Section Styles */
.profile-container {
    padding: 20px 0;
}

.profile-header {
    margin-bottom: 25px;
}

.profile-header h3 {
    color: #2d3748;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-header h3 i {
    color: #667eea;
}

.profile-card, .profile-stats-card, .quick-actions-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-card .card-header, 
.profile-stats-card .card-header, 
.quick-actions-card .card-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 20px;
}

.profile-card .card-header h5,
.profile-stats-card .card-header h5,
.quick-actions-card .card-header h5 {
    margin: 0;
    color: #2d3748;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card .card-header h5 i,
.profile-stats-card .card-header h5 i,
.quick-actions-card .card-header h5 i {
    color: #667eea;
}

.profile-card .card-body,
.profile-stats-card .card-body,
.quick-actions-card .card-body {
    padding: 20px;
}

.profile-card .form-group {
    margin-bottom: 20px;
}

.profile-card .form-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
}

.profile-card .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.profile-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-actions {
    margin-top: 25px;
    text-align: center;
}

.form-actions .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Profile Stats */
.stat-item {
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-badge {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
}

.achievement-badge i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Quick Actions */
.action-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
}

.action-btn span {
    font-weight: 500;
}

/* Mobile Responsive for Profile */
@media (max-width: 768px) {
    .profile-container {
        padding: 15px 0;
    }
    
    .profile-card .card-body,
    .profile-stats-card .card-body,
    .quick-actions-card .card-body {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .action-btn {
        padding: 15px;
    }
}

/* Mobile Responsive for Mini Dashboard */
@media (max-width: 768px) {
    .mini-dashboard-widget {
        padding: 15px;
        margin: 15px 0;
    }
    
    .stat-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .mini-order-item {
        padding: 12px;
    }
    
    .mini-order-item .order-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .mini-order-item .order-meta {
        flex-direction: column;
        gap: 3px;
    }
    
    /* Orders Section Mobile */
    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .orders-filter select {
        width: 100%;
    }
    
    .order-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-meta {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        min-width: auto;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .no-orders {
        padding: 40px 15px;
    }
    
    .no-orders-icon {
        font-size: 3rem;
    }
}

/* Package Sending Form Styles - Mobile App Style */
.form-container {
    background: linear-gradient(135deg, #9b6d00 0%, #1c5f79 50%, #1a1a1a 100%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 10px 30px rgba(0,0,0,0.3);
    margin: 20px auto;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container h1, .form-container h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 28px;
    position: relative;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.form-container h1::after, .form-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 16px auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Delivery Options Grid - Enhanced Mobile App Style */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 32px 0;
    animation: staggerFadeIn 0.8s ease-out;
    max-width: 100%;
    justify-items: center;
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delivery-options .option:nth-child(1) { animation-delay: 0.1s; }
.delivery-options .option:nth-child(2) { animation-delay: 0.2s; }
.delivery-options .option:nth-child(3) { animation-delay: 0.3s; }
.delivery-options .option:nth-child(4) { animation-delay: 0.4s; }
.delivery-options .option:nth-child(5) { animation-delay: 0.5s; }
.delivery-options .option:nth-child(6) { animation-delay: 0.6s; }
.delivery-options .option:nth-child(7) { animation-delay: 0.7s; }
.delivery-options .option:nth-child(8) { animation-delay: 0.8s; }
.delivery-options .option:nth-child(9) { animation-delay: 0.9s; }

.delivery-options .option {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 160px;
}

.delivery-options .option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s;
}

.delivery-options .option:hover {
    border-color: #667eea;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.delivery-options .option:hover::before {
    left: 100%;
}

.delivery-options .option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #ffffff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.4);
    animation: selectedPulse 2s infinite ease-in-out;
}

@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 16px 40px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
    }
}

.delivery-options .option .icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
    transition: all 0.4s ease;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.delivery-options .option:hover .icon {
    transform: scale(1.2) rotate(8deg);
    color: #667eea;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.4));
}

.delivery-options .option.selected .icon {
    color: #ffffff;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.6));
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.delivery-options .option span {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.3;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.delivery-options .option:hover span {
    color: #667eea;
    text-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.delivery-options .option.selected span {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
    font-weight: 800;
}

/* Input Box Styles - Mobile App Style */
.input-box {
    position: relative;
    margin-bottom: 24px;
}

.input-box input,
.input-box textarea,
.input-box select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    font-weight: 500;
    color: #1a1a1a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.input-box input:focus,
.input-box textarea:focus,
.input-box select:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25), 0 0 0 3px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.input-box label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0 8px;
    border-radius: 6px;
    font-weight: 500;
}

.input-box input:focus ~ label,
.input-box textarea:focus ~ label,
.input-box select:focus ~ label,
.input-box input:valid ~ label,
.input-box textarea:valid ~ label,
.input-box select:valid ~ label {
    top: -10px;
    left: 16px;
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* File Input Styles */
.input-box input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.input-box input[type="file"]:focus {
    border-color: #667eea;
    border-style: solid;
    background: rgba(255, 255, 255, 0.95);
}

/* Image Preview */
.image-preview {
    margin-top: 10px;
    text-align: center;
}

.image-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Weight Options - Mobile App Style */
.checkbox {
    margin-bottom: 16px;
}

.weight-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.weight-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
    transition: left 0.4s ease;
}

.weight-option:hover {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(8px) scale(1.01);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    color: #1a1a1a;
}

.weight-option:hover::before {
    left: 100%;
}

.checkbox input[type="checkbox"]:checked + .weight-option {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #ffffff;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.checkbox input[type="checkbox"]:checked + .weight-option::after {
    content: '✓';
    color: #10b981;
    font-size: 20px;
    font-weight: bold;
    transform: scale(1.1);
}

.checkbox input[type="checkbox"]:checked + .weight-option:hover {
    transform: translateX(8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.checkbox input[type="checkbox"] {
    display: none;
}

/* Weight Categories Animation */
@keyframes weightPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.weight-option:active {
    animation: weightPulse 0.3s ease;
}

/* Individual Weight Styling */
.weight-5::after { content: '📄'; }
.weight-10::after { content: '📦'; }
.weight-15::after { content: '📦'; }
.weight-20::after { content: '📦'; }
.weight-30::after { content: '🎒'; }
.weight-50::after { content: '🎒'; }
.weight-100::after { content: '📮'; }
.weight-200::after { content: '📮'; }
.weight-1000::after { content: '🚛'; }

/* Air freight weights */
.weight-29::after { content: '✈️'; }
.weight-40::after { content: '✈️'; }
.weight-80::after { content: '✈️'; }

/* Delivery Means Icons */
.delivery-means-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.delivery-means-icons img {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.delivery-means-icons img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.delivery-means-icons img:hover {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
    border-color: #2c3e50;
    box-shadow: 0 15px 50px rgba(44, 62, 80, 0.25);
    background: rgba(44, 62, 80, 0.1);
}

.delivery-means-icons img:hover::before {
    left: 100%;
}

.delivery-means-icons img.selected {
    opacity: 1;
    border-color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    transform: scale(1.2);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.4), 0 5px 20px rgba(0,0,0,0.3);
    filter: brightness(1.2) contrast(1.1);
}

.delivery-means-icons img.selected:hover {
    transform: scale(1.25) rotate(-5deg);
    box-shadow: 0 25px 70px rgba(26, 26, 26, 0.5), 0 10px 30px rgba(0,0,0,0.4);
}

/* Individual Delivery Means Styling with Labels */
.delivery-means-icons img[data-means="bike"] {
    border-color: rgba(255, 193, 7, 0.5);
}

.delivery-means-icons img[data-means="bus"] {
    border-color: rgba(40, 167, 69, 0.5);
}

.delivery-means-icons img[data-means="shared_truck"] {
    border-color: rgba(0, 123, 255, 0.5);
}

.delivery-means-icons img[data-means="full_truck"] {
    border-color: rgba(220, 53, 69, 0.5);
}

.delivery-means-icons img[data-means="airfreight"] {
    border-color: rgba(102, 126, 234, 0.5);
}

.delivery-means-icons img[data-means="bike"]:hover {
    border-color: #ffc107;
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.3);
}

.delivery-means-icons img[data-means="bus"]:hover {
    border-color: #28a745;
    box-shadow: 0 15px 50px rgba(40, 167, 69, 0.3);
}

.delivery-means-icons img[data-means="shared_truck"]:hover {
    border-color: #007bff;
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.3);
}

.delivery-means-icons img[data-means="full_truck"]:hover {
    border-color: #dc3545;
    box-shadow: 0 15px 50px rgba(220, 53, 69, 0.3);
}

.delivery-means-icons img[data-means="airfreight"]:hover {
    border-color: #667eea;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

/* Delivery Means with Icons */
.delivery-means-icons img::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.delivery-means-icons img[data-means="bike"]::after {
    content: '🚲 Bike';
}

.delivery-means-icons img[data-means="bus"]::after {
    content: '🚌 Bus';
}

.delivery-means-icons img[data-means="shared_truck"]::after {
    content: '🚐 Shared Truck';
}

.delivery-means-icons img[data-means="full_truck"]::after {
    content: '🚛 Full Truck';
}

.delivery-means-icons img[data-means="airfreight"]::after {
    content: '✈️ Airfreight';
}

.delivery-means-icons img:hover::after,
.delivery-means-icons img.selected::after {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Delivery Means Animation */
@keyframes deliveryBounce {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.25); }
}

.delivery-means-icons img.selected {
    animation: deliveryBounce 2s infinite ease-in-out;
}

.delivery-means-icons img:active {
    transform: scale(1.1);
}

/* Mobile Money Icons */
.mobile-money-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.mobile-icon {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-icon:hover {
    transform: scale(1.1);
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.mobile-icon.selected {
    border-color: #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Form Actions - Mobile App Style */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0 24px 0;
    flex-wrap: wrap;
}

.form-actions .btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s;
}

.form-actions .btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-outline-primary {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #667eea;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary:disabled,
.btn-outline-primary[disabled] {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.btn-outline-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Payment Options */
.payment-options {
    margin: 20px 0;
}

.payment-options label {
    display: block;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.payment-options input[type="radio"] {
    margin-right: 10px;
}

.payment-options label:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.payment-options input[type="radio"]:checked + label,
.payment-options label:has(input[type="radio"]:checked) {
    border-color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
}

/* Payment Instructions */
.payment-instructions,
.pay-later-instructions {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #2196f3;
}

.instruction-text {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Loading Animation */
.loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Location Info */
.location-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #10b981;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Package Details Display */
#package-details {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    line-height: 1.8;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Total Charges */
#total-charges {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: black;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.5);
}

/* Order Submitted & Congratulations Sections */
#order-submitted-section,
#congratulations-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    border: 2px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#order-submitted-section h2,
#congratulations-section h2 {
    color: #10b981;
    margin-bottom: 20px;
}

/* Section Transitions and Hiding */
.section-transition {
    transition: all 0.5s ease-in-out;
}

.section-hidden {
    display: none !important;
    opacity: 0;
    transform: translateX(-100%);
}

.section-visible {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
}

.fade-out {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.3s ease;
}

.fade-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease 0.2s;
}

/* Form Section Management */
#pick-drop-section,
#extra-package-details-section,
#select-package-section,
#location-details-section,
#checkout-section,
#payment-section {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Navigation Animations */
@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-out-left {
    animation: slideOutLeft 0.3s ease-in-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.3s ease-in-out forwards;
}

/* Customer Dashboard Send Package Targeted Styling */
#send-package-content .form-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 10px 30px rgba(44, 62, 80, 0.5);
    margin: 20px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

#send-package-content .form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

#send-package-content .delivery-options .option {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

#send-package-content .delivery-options .option:hover {
    border-color: #1a1a1a;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.5);
}

#send-package-content .delivery-options .option.selected {
    border-color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.6);
}

#send-package-content .input-box input:focus,
#send-package-content .input-box textarea:focus,
#send-package-content .input-box select:focus {
    border-color: #1a1a1a;
    background: white;
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.3), 0 0 0 4px rgba(26, 26, 26, 0.2);
    transform: translateY(-3px);
}

#send-package-content .weight-option:hover {
    border-color: #1a1a1a;
    background: rgba(26, 26, 26, 0.1);
    transform: translateX(12px) scale(1.03);
    box-shadow: 0 15px 50px rgba(26, 26, 26, 0.25);
    color: #2c3e50;
}

#send-package-content .checkbox input[type="checkbox"]:checked + .weight-option {
    border-color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    transform: translateX(12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.4), 0 5px 20px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

#send-package-content .btn-primary {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#send-package-content .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.6);
}

/* Responsive Design - Mobile App Style */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        margin: 10px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    }

    .form-container h1, .form-container h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .delivery-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 24px 0;
    }

    .delivery-options .option {
        padding: 18px 12px;
        border-radius: 16px;
        min-height: 120px;
        max-width: none;
    }

    .delivery-options .option .icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .delivery-options .option span {
        font-size: 13px;
        font-weight: 600;
    }

    .input-box {
        margin-bottom: 20px;
    }

    .input-box input,
    .input-box textarea,
    .input-box select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .weight-option {
        padding: 14px 16px;
        min-height: 56px;
        font-size: 15px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
        margin: 24px 0 20px 0;
    }

    .form-actions .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 52px;
        border-radius: 12px;
    }

    .mobile-money-icons {
        gap: 12px;
    }

    .mobile-icon {
        width: 48px;
        height: 48px;
    }

    .delivery-means-icons {
        gap: 16px;
    }

    .delivery-means-icons img {
        width: 56px;
        height: 56px;
    }

    .modal-content {
        padding: 24px;
        margin: 16px;
        border-radius: 16px;
    }

    .location-info {
        padding: 16px;
        border-radius: 12px;
    }

    #package-details {
        padding: 16px;
        border-radius: 12px;
    }

    #total-charges {
        padding: 16px 20px;
        font-size: 20px;
        border-radius: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .form-container {
        padding: 16px;
        margin: 8px;
    }

    .delivery-options {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 20px 0;
    }

    .delivery-options .option {
        padding: 16px 14px;
        border-radius: 14px;
        min-height: 110px;
        max-width: none;
    }

    .delivery-options .option .icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .delivery-options .option span {
        font-size: 12px;
        font-weight: 600;
    }

    .form-actions .btn {
        min-height: 48px;
        padding: 14px;
    }

    .weight-option {
        padding: 12px 14px;
        min-height: 52px;
    }
}

/* Package Summary Styling */
.package-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.package-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.package-summary h3 {
    color: #fff !important;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.package-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.cost-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cost-highlight .cost-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.cost-highlight .cost-amount {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.delivery-badge {
    display: inline-block;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.category-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #212529;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .package-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .package-summary {
        margin: 15px 0;
        padding: 20px;
    }
    
    .cost-highlight .cost-amount {
        font-size: 24px;
    }
}

/* Selected Category Styling */
#selected-category {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    animation: pulse-glow 2s infinite;
}

#selected-category::before {
    content: '✓';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }
}

/* Package Category Options Styling */
.courier-mobile .option {
    position: relative;
    padding: 15px 20px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.courier-mobile .option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.courier-mobile .option.selected {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(34, 139, 34, 0.3));
    border-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.courier-mobile .option.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    animation: checkmark-bounce 0.5s ease;
}

@keyframes checkmark-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.courier-mobile .option .icon {
    font-size: 24px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.courier-mobile .option:hover .icon,
.courier-mobile .option.selected .icon {
    transform: scale(1.1);
}

.courier-mobile .option span {
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

