    :root {
        --primary: #0c831f;
        --primary-dark: #096a18;
        --bg-light: #f5f7f9;
        --text-dark: #1f2937;
        --text-gray: #6b7280;
    }

    body.partner-app {
        background-color: var(--bg-light);
        color: var(--text-dark);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        -webkit-tap-highlight-color: transparent;
        padding-bottom: 70px;
    }

    .text-primary {
        color: var(--primary) !important;
    }

    .bg-primary {
        background-color: var(--primary) !important;
    }

    /* Common Buttons */
    .btn-primary {
        background-color: var(--primary);
        border-color: var(--primary);
        border-radius: 8px;
        font-weight: 600;
        padding: 12px;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
    }


    body {
        background-color: var(--bg-light);
        padding-bottom: 0;
        overflow-x: hidden;
    }

    /* Top Wave Background */
    .top-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 35vh;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        z-index: -1;
        overflow: hidden;
    }

    .top-bg::after {
        content: '';
        position: absolute;
        width: 200%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
        background-size: cover;
        animation: wave 15s linear infinite;
        opacity: 0.5;
    }

    @keyframes wave {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .login-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        padding: 30px;
    }

    /* Animated Logo */
    .logo-container {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 40px;
        animation: slideDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .logo-circle {
        width: 90px;
        height: 90px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px auto;
        box-shadow: 0 10px 25px rgba(12, 131, 31, 0.4);
        animation: pulse 2s infinite;
    }

    .logo-circle i {
        font-size: 45px;
        color: var(--primary);
    }

    .logo-container h1 {
        font-weight: 800;
        color: white;
        font-size: 26px;
        margin: 0;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .logo-container p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        font-weight: 500;
        margin-top: 5px;
    }

    /* Form Card */
    .form-card {
        background: white;
        padding: 30px 25px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        opacity: 0;
        transform: translateY(30px);
        animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    }

    .form-control {
        background-color: #f5f7f9;
        border: 2px solid transparent;
        padding: 14px 15px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: none;
        background-color: #fff;
    }

    .input-group-text {
        background-color: #f5f7f9;
        border: 2px solid transparent;
        border-right: none;
        color: var(--primary);
        border-radius: 12px 0 0 12px;
        transition: all 0.3s;
    }

    .form-control:focus+.input-group-text,
    .input-group-text.focused {
        border-color: var(--primary);
        background-color: #fff;
    }

    .form-control.with-icon {
        border-left: none;
    }

    .login-btn {
        width: 100%;
        margin-top: 15px;
        font-size: 16px;
        letter-spacing: 1px;
        padding: 14px;
        border-radius: 12px;
        text-transform: uppercase;
        box-shadow: 0 8px 20px rgba(12, 131, 31, 0.25);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .login-btn:active {
        transform: scale(0.96);
        box-shadow: 0 4px 10px rgba(12, 131, 31, 0.2);
    }

    /* Animations */
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        }

        70% {
            box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }

    @keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(-30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideUp {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Custom Checkbox */
    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .error-msg {
        color: #dc3545;
        font-size: 12px;
        margin-top: 5px;
        display: block;
        font-weight: 500;
    }

    /* Dashboard Styles */
    .greeting {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .greeting-sub {
        color: var(--text-muted);
        font-size: 14px;
        margin-bottom: 20px;
    }

    .toggle-container {
        background: white;
        border-radius: 12px;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        margin-bottom: 20px;
        border: 1px solid #e0f0e3;
    }

    .status-text {
        font-weight: 700;
        font-size: 18px;
        color: var(--primary);
    }

    .status-text.offline {
        color: #dc3545;
    }

    /* Custom Toggle Switch */
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #dc3545;
        transition: .4s;
        border-radius: 34px;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

    input:checked+.slider {
        background-color: var(--primary);
    }

    input:checked+.slider:before {
        transform: translateX(26px);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    .stat-card {
        background: white;
        padding: 20px 15px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0f0f0;
    }

    .stat-value {
        font-size: 28px;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 5px;
    }

    .stat-label {
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .earnings-card {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(12, 131, 31, 0.3);
    }

    .earnings-label {
        font-size: 13px;
        opacity: 0.9;
        margin-bottom: 5px;
    }

    .earnings-val {
        font-size: 24px;
        font-weight: 700;
    }

    .section-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--text-main);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-card {
        background: white;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        border-left: 4px solid #ffc107;
        margin-bottom: 15px;
    }

    .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #eee;
    }

    .order-id {
        font-weight: 700;
        font-size: 16px;
    }

    .order-amt {
        font-weight: 700;
        font-size: 18px;
        color: var(--primary);
    }

    .order-details {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .order-icon {
        width: 40px;
        height: 40px;
        background: #f0f8f1;
        color: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .order-info h6 {
        margin: 0 0 4px 0;
        font-weight: 700;
        font-size: 15px;
    }

    .order-info p {
        margin: 0;
        color: var(--text-muted);
        font-size: 13px;
    }

    .order-actions {
        margin-top: 15px;
        display: flex;
        gap: 10px;
    }

    .btn-view {
        flex: 1;
        background: #f8f9fa;
        color: var(--text-main);
        border: 1px solid #e9ecef;
        font-weight: 600;
        padding: 10px;
        border-radius: 8px;
    }

    .btn-view:hover {
        background: #e2e6ea;
    }

    .main-content-wrapper {
        padding: 10px;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: white;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding-bottom: 10px;
    }

    .bottom-nav-item {
        text-align: center;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.75rem;
        flex: 1;
        transition: 0.2s all;
    }

    .bottom-nav-item i {
        display: block;
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .bottom-nav-item.active {
        color: var(--primary);
        font-weight: 600;
    }

    /* ---- Orders List ---- */
    .order-tabs {
        display: flex;
        background: #fff;
        border-radius: 12px;
        padding: 5px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .order-tab {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        color: var(--text-gray);
        cursor: pointer;
        transition: 0.3s all;
    }

    .order-tab.active {
        background: var(--primary);
        color: #fff;
    }

    .history-card {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        border-left: 4px solid var(--primary);
    }

    .history-card.delivered {
        border-left-color: var(--success);
    }

    .history-card.cancelled {
        border-left-color: var(--danger);
    }

    .order-header-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        align-items: center;
    }

    .order-header-row h6 {
        margin: 0;
        font-weight: 700;
        font-size: 14px;
        color: #333;
    }

    .order-date {
        font-size: 12px;
        color: var(--text-muted);
    }

    .order-status {
        font-size: 11px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 4px;
        background: #e9ecef;
        color: #495057;
    }

    .order-status.delivered {
        background: #d1e7dd;
        color: #0f5132;
    }

    .order-status.cancelled {
        background: #f8d7da;
        color: #842029;
    }

    .order-details-text {
        font-size: 13px;
        color: var(--text-gray);
        margin-bottom: 5px;
    }

    .order-amt-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px dashed #eee;
    }

    .order-amt-val {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary);
    }

    /* ---- Order Details ---- */
    .order-detail-header {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 20px;
    }

    .status-badge {
        font-size: 11px;
        padding: 4px 10px;
        border-radius: 4px;
        font-weight: 700;
        display: inline-block;
        background: #fff3cd;
        color: #856404;
    }

    .detail-card {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 20px;
    }

    .detail-card-title {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #333;
        display: flex;
        align-items: center;
    }

    .detail-card-title i {
        margin-right: 8px;
        color: var(--primary);
    }

    .info-row {
        display: flex;
        margin-bottom: 10px;
    }

    .info-row:last-child {
        margin-bottom: 0;
    }

    .info-icon {
        width: 30px;
        color: var(--text-gray);
        text-align: center;
        padding-top: 3px;
    }

    .info-content h6 {
        margin: 0 0 3px 0;
        font-size: 14px;
        font-weight: 600;
    }

    .info-content p {
        margin: 0;
        font-size: 13px;
        color: var(--text-muted);
    }

    .call-btn {
        background: #e0f2e9;
        color: var(--primary);
        border: none;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
    }

    .order-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .order-item:last-child {
        margin-bottom: 0;
    }

    .total-row {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px dashed #ddd;
        font-weight: 700;
        font-size: 16px;
    }

    .action-bar {
        position: fixed;
        bottom: 65px;
        left: 0;
        width: 100%;
        padding: 10px 15px;
        background: #fff;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
        display: flex;
        gap: 10px;
        z-index: 999;
    }

    .action-bar .btn {
        flex: 1;
        font-weight: 600;
        padding: 10px;
    }

    /* ---- Order Tracking Map ---- */
    .map-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #e5e3df;
        z-index: 1;
    }

    .map-placeholder {
        width: 100%;
        height: 100%;
        background-image: url('https://developers.google.com/static/maps/images/landing/hero_maps_static_api.png');
        background-size: cover;
        background-position: center;
        opacity: 0.6;
    }

    .floating-back {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 10;
        background: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        color: #333;
        text-decoration: none;
        font-size: 18px;
    }

    .tracking-info-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 10;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .drag-handle {
        width: 40px;
        height: 5px;
        background: #ddd;
        border-radius: 5px;
        margin: 0 auto 15px auto;
    }

    .est-time {
        font-size: 24px;
        font-weight: 800;
        color: var(--success);
    }

    .est-distance {
        font-size: 14px;
        color: var(--text-muted);
        font-weight: 600;
    }

    .dest-box {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 12px;
        margin-top: 15px;
        display: flex;
        align-items: center;
    }

    .dest-icon {
        width: 35px;
        height: 35px;
        background: #e0f2e9;
        color: var(--primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
    }

    .action-btn {
        margin-top: 15px;
        width: 100%;
        padding: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* ---- Earnings ---- */
    .earning-summary-card {
        background: linear-gradient(135deg, var(--primary), #096617);
        border-radius: 16px;
        padding: 20px;
        color: #fff;
        margin-bottom: 20px;
        box-shadow: 0 10px 20px rgba(12, 131, 31, 0.2);
    }

    .earning-title {
        font-size: 13px;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .earning-amount {
        font-size: 32px;
        font-weight: 800;
        margin: 5px 0 15px 0;
    }

    .earning-stats-row {
        display: flex;
        background: rgba(255, 255, 255, 0.1);
        padding: 10px;
        border-radius: 12px;
    }

    .earning-stat {
        flex: 1;
        text-align: center;
    }

    .earning-stat:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .earning-stat-label {
        font-size: 11px;
        opacity: 0.8;
    }

    .earning-stat-val {
        font-size: 16px;
        font-weight: 700;
    }

    .payout-list {
        background: #fff;
        border-radius: 16px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    .payout-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .payout-item:last-child {
        border-bottom: none;
    }

    .payout-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e9ecef;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-gray);
        font-size: 18px;
        margin-right: 12px;
    }

    .payout-icon.success {
        background: #d1e7dd;
        color: #0f5132;
    }

    .payout-info h6 {
        margin: 0 0 3px 0;
        font-size: 14px;
        font-weight: 600;
    }

    .payout-info p {
        margin: 0;
        font-size: 12px;
        color: var(--text-muted);
    }

    .payout-amount {
        font-weight: 700;
        font-size: 15px;
    }

    .payout-amount.success {
        color: var(--success);
    }

    /* ---- Profile ---- */
    .profile-header {
        background: #fff;
        border-radius: 16px;
        padding: 25px 20px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 20px;
        position: relative;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--primary-light, #e0f2e9);
        color: var(--primary);
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px auto;
        border: 3px solid #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .profile-name {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 5px 0;
        color: #333;
    }

    .profile-phone {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 15px;
    }

    .profile-badge {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        font-size: 11px;
        padding: 4px 12px;
        border-radius: 20px;
        font-weight: 600;
    }

    .setting-group {
        background: #fff;
        border-radius: 16px;
        padding: 0 15px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    .setting-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid #f1f1f1;
        text-decoration: none;
        color: #333;
    }

    .setting-item:last-child {
        border-bottom: none;
    }

    .setting-item-left {
        display: flex;
        align-items: center;
    }

    .setting-item-icon {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-gray);
        margin-right: 15px;
        font-size: 16px;
    }

    .setting-item-text {
        font-size: 14px;
        font-weight: 500;
    }

    .setting-item-right {
        color: #ccc;
    }

    /* ---- Order Items (Image Preview) ---- */
    .order-item-card {
        display: flex;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .order-item-card:last-child {
        border-bottom: none;
    }

    .item-img-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: #f8f9fa;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-right: 12px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .item-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .item-details {
        flex: 1;
    }

    .item-name {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin: 0 0 2px 0;
    }

    .item-qty-price {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: var(--text-muted);
    }

    .item-price {
        font-weight: 700;
        color: #333;
    }

    /* ---- Delivery Proof Modal ---- */
    .proof-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .proof-modal-overlay.active {
        display: block;
        opacity: 1;
    }

    .proof-bottom-sheet {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1051;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 25px 20px 30px 20px;
    }

    .proof-bottom-sheet.active {
        bottom: 0;
    }

    .proof-drag-handle {
        width: 50px;
        height: 5px;
        background: #ddd;
        border-radius: 5px;
        margin: -10px auto 20px auto;
    }

    .proof-title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
        text-align: center;
    }

    .proof-subtitle {
        font-size: 13px;
        color: var(--text-muted);
        text-align: center;
        margin-bottom: 20px;
    }

    .upload-box {
        border: 2px dashed #ddd;
        border-radius: 12px;
        padding: 25px 15px;
        text-align: center;
        background: #fcfcfc;
        cursor: pointer;
        transition: 0.3s;
        position: relative;
        margin-bottom: 15px;
    }

    .upload-box.has-file {
        border-style: solid;
        border-color: var(--primary);
        background: #f0f8f1;
    }

    .upload-box i {
        font-size: 28px;
        color: var(--text-gray);
        margin-bottom: 10px;
    }

    .upload-box.has-file i {
        color: var(--primary);
    }

    .upload-text {
        font-size: 14px;
        font-weight: 600;
        color: #555;
    }

    .upload-subtext {
        font-size: 11px;
        color: var(--text-muted);
        margin-top: 5px;
    }

    .upload-input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

    .preview-thumbnail {
        display: none;
        width: 60px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        margin: 10px auto 0 auto;
        border: 2px solid var(--primary);
    }

    .upload-box.has-file .preview-thumbnail {
        display: block;
    }

    .upload-box.has-file .default-icon {
        display: none;
    }

    /* ---- Order Items (Blinkit Style) ---- */
    .order-item-card {
        display: flex;
        align-items: center;
        padding: 15px;
        background: #fff;
        border-radius: 12px;
        margin-bottom: 12px;
        border: 1px solid #f1f1f1;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .item-img-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid #f1f1f1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-right: 15px;
        flex-shrink: 0;
        cursor: pointer;
        padding: 5px;
    }

    .item-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .item-details {
        flex: 1;
    }

    .item-name {
        font-size: 15px;
        font-weight: 700;
        color: #333;
        margin: 0 0 3px 0;
        line-height: 1.3;
    }

    .item-variant {
        font-size: 13px;
        color: #dc3545;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .item-price-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 5px;
    }

    .item-price-old {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: line-through;
        font-weight: 600;
    }

    .item-price-new {
        font-size: 16px;
        color: var(--primary);
        font-weight: 800;
    }

    .item-discount-tag {
        display: inline-block;
        background: #dc3545;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
    }

    .item-qty-box {
        background: var(--primary-dark, #096617);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        padding: 8px 15px;
        border-radius: 8px;
        text-align: center;
        min-width: 45px;
    }

    /* ---- Delivery Instructions ---- */
    .delivery-inst-section {
        margin-bottom: 20px;
    }

    .section-title-sm {
        font-size: 15px;
        font-weight: 700;
        color: #333;
        margin-bottom: 12px;
    }

    .instructions-scroll-wrapper {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .instructions-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .delivery-instruction-card {
        flex: 0 0 auto;
        width: 100px;
        height: 100px;
        background: #fff;
        border: 1px solid #f1f1f1;
        border-radius: 12px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .delivery-instruction-card.active {
        border-color: var(--primary);
        background: #f0f8f1;
    }

    .card-checkbox {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 18px;
        height: 18px;
        border-radius: 4px;
        border: 2px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        color: transparent;
    }

    .delivery-instruction-card.active .card-checkbox {
        border-color: var(--primary);
        background: var(--primary);
        color: #fff;
    }

    .card-icon {
        font-size: 24px;
        color: #555;
    }

    .delivery-instruction-card.active .card-icon {
        color: var(--primary);
    }

    .card-label {
        font-size: 12px;
        font-weight: 600;
        color: #333;
        line-height: 1.2;
    }

    /* ---- Tip Section ---- */
    .tip-card {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid #f1f1f1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .tip-info h6 {
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 5px 0;
        color: #333;
    }

    .tip-info p {
        font-size: 12px;
        color: var(--text-muted);
        margin: 0;
    }

    .tip-amount {
        background: #f0f8f1;
        color: var(--primary);
        font-size: 16px;
        font-weight: 800;
        padding: 8px 15px;
        border-radius: 8px;
        border: 1px solid #e0f2e9;
    }

    /* ---- Bill Details ---- */
    .bill-card {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid #f1f1f1;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }

    .bill-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 13px;
        color: #555;
    }

    .bill-row i {
        color: var(--text-muted);
        margin-right: 8px;
        width: 15px;
        text-align: center;
    }

    .bill-row:last-child {
        margin-bottom: 0;
    }

    .bill-total-row {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px dashed #ddd;
        font-weight: 800;
        font-size: 16px;
        color: #333;
    }

    /* ---- Profile Details & Bank CSS ---- */
    .info-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    .info-card-title {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .info-row {
        display: flex;
        margin-bottom: 12px;
    }

    .info-row:last-child {
        margin-bottom: 0;
    }

    .info-label {
        flex: 1;
        font-size: 13px;
        color: var(--text-muted);
    }

    .info-val {
        flex: 2;
        font-size: 13px;
        font-weight: 600;
        color: #333;
        text-align: right;
    }

    .bank-card {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        border-radius: 16px;
        padding: 25px 20px;
        color: #fff;
        margin-bottom: 20px;
        box-shadow: 0 10px 20px rgba(30, 60, 114, 0.2);
        position: relative;
        overflow: hidden;
    }

    .bank-card::after {
        content: '\f19c';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        right: -20px;
        bottom: -20px;
        font-size: 100px;
        opacity: 0.1;
    }

    .bank-name {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .bank-account {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .bank-info-row {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        opacity: 0.9;
    }

    .bank-info-label {
        font-size: 10px;
        text-transform: uppercase;
        margin-bottom: 2px;
        opacity: 0.7;
    }

    .upi-box {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        display: flex;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 20px;
    }

    .upi-icon {
        width: 40px;
        height: 40px;
        background: #e0f2e9;
        color: var(--primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-right: 15px;
    }

    .upi-info h6 {
        margin: 0 0 2px 0;
        font-size: 13px;
        color: var(--text-muted);
    }

    .upi-info p {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #333;
    }