    /* iOS safe areas styling */
    .pt-safe {
      padding-top: env(safe-area-inset-top, 2.75rem);
    }
    .pb-safe {
      padding-bottom: env(safe-area-inset-bottom, 1.25rem);
    }

        /* Custom subtle scrollbar hiding for native mobile look */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    /* Brand red glow effect */
    .gtr-btn-glow {
      box-shadow: 0 4px 18px rgba(229, 26, 36, 0.45);
    }

    /* company registration page */
        select {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238D95A5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
      background-position: right 0.85rem center;
      background-repeat: no-repeat;
      background-size: 1.25em 1.25em;
      padding-right: 2.5rem;
      -webkit-print-color-adjust: exact;
      appearance: none;
    }
    
    /* Custom datepicker icon color support */
    input[type="date"]::-webkit-calendar-picker-indicator {
      filter: invert(0.65) sepia(1) saturate(0) hue-rotate(180deg);
      cursor: pointer;
    }

    /* iOS safe-area support */
    .pb-safe {
      padding-bottom: env(safe-area-inset-bottom, 20px);
    }
    .pt-safe {
      padding-top: env(safe-area-inset-top, 12px);
    }


        /* order page */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    body {
      background-color: #08090D;
      color: #F8FAFC;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }


/* setting Equipmentt page */
   /* fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJEPBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzBwG-RpA6RzaxHMPdY40KH8nGzv3fzfVJO1Q.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJEPBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzBwG-RpA6RzaxHMPdY40KH8nGzv3fzfVJO1Q.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* ============================================================
   DASHBOARD
============================================================ */

.gtr-dashboard-container {
    padding-bottom: 40px;
}


/* ============================================================
   HEADER
============================================================ */

.gtr-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.gtr-dashboard-subtitle {
    margin-top: 5px;
    color: #6b7280;
    font-size: 14px;
}

.gtr-dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ============================================================
   KPI GRID
============================================================ */

.gtr-dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gtr-dashboard-kpi-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.gtr-dashboard-kpi-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.gtr-dashboard-kpi-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gtr-dashboard-kpi-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
}

.gtr-dashboard-kpi-label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.gtr-dashboard-kpi-value {
    margin-top: 18px;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: #111827;
}

.gtr-dashboard-kpi-note {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 12px;
}


/* ============================================================
   LAYOUT
============================================================ */

.gtr-dashboard-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 20px;
    margin-bottom: 20px;
}


/* ============================================================
   PANELS
============================================================ */

.gtr-dashboard-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.gtr-dashboard-two-column > .gtr-dashboard-panel {
    margin-bottom: 0;
}

.gtr-dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.gtr-dashboard-panel-header h2 {
    margin: 2px 0 0;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.gtr-dashboard-panel-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.gtr-dashboard-text-btn {
    border: 0;
    background: transparent;
    padding: 5px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.gtr-dashboard-text-btn:hover {
    color: #111827;
}


/* ============================================================
   STATUS LIST
============================================================ */

.gtr-dashboard-status-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.gtr-dashboard-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 8px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.gtr-dashboard-status-row:hover {
    background: #f9fafb;
}

.gtr-dashboard-status-info {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #4b5563;
    font-size: 13px;
}

.gtr-dashboard-status-row strong {
    color: #111827;
    font-size: 15px;
}

.gtr-dashboard-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}

.gtr-dashboard-status-dot.draft {
    background: #9ca3af;
}

.gtr-dashboard-status-dot.assigned {
    background: #3b82f6;
}

.gtr-dashboard-status-dot.accepted {
    background: #8b5cf6;
}

.gtr-dashboard-status-dot.transit {
    background: #f59e0b;
}

.gtr-dashboard-status-dot.delivery {
    background: #0ea5e9;
}

.gtr-dashboard-status-dot.delivered {
    background: #10b981;
}

.gtr-dashboard-status-dot.cancelled {
    background: #ef4444;
}


/* ============================================================
   ATTENTION
============================================================ */

.gtr-dashboard-attention-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gtr-dashboard-attention-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 9px;
    cursor: pointer;
}

.gtr-dashboard-attention-card:hover {
    border-color: #e5e7eb;
}

.gtr-dashboard-attention-title {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

.gtr-dashboard-attention-description {
    margin-top: 3px;
    font-size: 11px;
    color: #9ca3af;
}

.gtr-dashboard-attention-value {
    min-width: 35px;
    font-size: 23px;
    font-weight: 700;
    text-align: right;
    color: #111827;
}

.gtr-dashboard-good-state {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 15px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 8px;
}

.gtr-dashboard-good-state strong {
    color: #374151;
    font-size: 13px;
}

.gtr-dashboard-good-state span {
    color: #9ca3af;
    font-size: 11px;
}


/* ============================================================
   TABLE
============================================================ */

.gtr-dashboard-dispatch-panel {
    margin-bottom: 20px;
}

.gtr-dashboard-table-wrap {
    overflow-x: auto;
}

.gtr-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.gtr-dashboard-table th {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gtr-dashboard-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    vertical-align: middle;
}

.gtr-dashboard-table tbody tr {
    cursor: pointer;
}

.gtr-dashboard-table tbody tr:hover {
    background: #f9fafb;
}

.gtr-dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.gtr-dashboard-dispatch-no,
.gtr-dashboard-table-main {
    color: #1f2937;
    font-weight: 600;
}

.gtr-dashboard-table-sub {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 10px;
}


/* ============================================================
   STATUS BADGES
============================================================ */

.gtr-dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #4b5563;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 700;
}

.gtr-dashboard-status-badge.assigned {
    background: #eff6ff;
    color: #2563eb;
}

.gtr-dashboard-status-badge.accepted {
    background: #f5f3ff;
    color: #7c3aed;
}

.gtr-dashboard-status-badge.transit {
    background: #fffbeb;
    color: #d97706;
}

.gtr-dashboard-status-badge.delivery {
    background: #f0f9ff;
    color: #0284c7;
}

.gtr-dashboard-status-badge.delivered {
    background: #ecfdf5;
    color: #059669;
}

.gtr-dashboard-status-badge.cancelled {
    background: #fef2f2;
    color: #dc2626;
}


/* ============================================================
   EMPTY
============================================================ */

.gtr-dashboard-empty {
    padding: 45px 20px;
    text-align: center;
}

.gtr-dashboard-empty-title {
    color: #374151;
    font-size: 15px;
    font-weight: 700;
}

.gtr-dashboard-empty-description {
    margin: 5px 0 18px;
    color: #9ca3af;
    font-size: 12px;
}


/* ============================================================
   MOBILE DISPATCH CARDS
============================================================ */

.gtr-dashboard-mobile-dispatches {
    display: none;
}

.gtr-dashboard-mobile-dispatch-card {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.gtr-dashboard-mobile-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.gtr-dashboard-mobile-card-head > div {
    display: flex;
    flex-direction: column;
}

.gtr-dashboard-mobile-card-head strong {
    color: #111827;
    font-size: 13px;
}

.gtr-dashboard-mobile-card-head > div > span {
    margin-top: 2px;
    color: #6b7280;
    font-size: 11px;
}

.gtr-dashboard-mobile-route {
    margin: 13px 0;
    padding: 10px;
    background: #f9fafb;
    border-radius: 7px;
    color: #4b5563;
    font-size: 11px;
}

.gtr-dashboard-mobile-route span {
    padding: 0 5px;
    color: #9ca3af;
}

.gtr-dashboard-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gtr-dashboard-mobile-grid > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gtr-dashboard-mobile-grid span {
    color: #9ca3af;
    font-size: 9px;
    text-transform: uppercase;
}

.gtr-dashboard-mobile-grid strong {
    color: #374151;
    font-size: 11px;
}


/* ============================================================
   UPCOMING
============================================================ */

.gtr-dashboard-upcoming-list {
    display: flex;
    flex-direction: column;
}

.gtr-dashboard-upcoming-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.gtr-dashboard-upcoming-item:last-child {
    border-bottom: 0;
}

.gtr-dashboard-upcoming-date {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gtr-dashboard-upcoming-date strong {
    color: #111827;
    font-size: 16px;
    line-height: 16px;
}

.gtr-dashboard-upcoming-date span {
    color: #9ca3af;
    font-size: 9px;
    text-transform: uppercase;
}

.gtr-dashboard-upcoming-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gtr-dashboard-upcoming-content strong {
    color: #1f2937;
    font-size: 12px;
}

.gtr-dashboard-upcoming-content span {
    color: #4b5563;
    font-size: 11px;
}

.gtr-dashboard-upcoming-content small {
    margin-top: 2px;
    color: #9ca3af;
    font-size: 10px;
}


/* ============================================================
   RESOURCES
============================================================ */

.gtr-dashboard-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gtr-dashboard-resource {
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
}

.gtr-dashboard-resource span {
    color: #6b7280;
    font-size: 11px;
}

.gtr-dashboard-resource strong {
    margin-top: 6px;
    color: #111827;
    font-size: 23px;
}

.gtr-dashboard-resource.pending {
    cursor: pointer;
}


/* ============================================================
   QUICK ACTIONS
============================================================ */

.gtr-dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gtr-dashboard-quick-actions button {
    min-height: 75px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.gtr-dashboard-quick-actions button:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.gtr-dashboard-quick-actions strong {
    display: block;
    color: #1f2937;
    font-size: 12px;
}

.gtr-dashboard-quick-actions span {
    display: block;
    margin-top: 3px;
    color: #9ca3af;
    font-size: 10px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .gtr-dashboard-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gtr-dashboard-two-column {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .gtr-dashboard-container {
        padding-bottom: 85px;
    }

    .gtr-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .gtr-dashboard-header-actions {
        width: 100%;
    }

    .gtr-dashboard-header-actions button {
        flex: 1;
    }

    .gtr-dashboard-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gtr-dashboard-kpi-card {
        padding: 15px;
    }

    .gtr-dashboard-kpi-icon {
        display: none;
    }

    .gtr-dashboard-kpi-label {
        font-size: 11px;
    }

    .gtr-dashboard-kpi-value {
        margin-top: 12px;
        font-size: 27px;
    }

    .gtr-dashboard-kpi-note {
        font-size: 10px;
    }

    .gtr-dashboard-panel {
        padding: 15px;
    }

    .gtr-dashboard-status-list {
        grid-template-columns: 1fr;
    }

    .gtr-dashboard-table-wrap {
        display: none;
    }

    .gtr-dashboard-mobile-dispatches {
        display: block;
    }

    .gtr-dashboard-resource-grid,
    .gtr-dashboard-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .gtr-dashboard-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gtr-dashboard-resource-grid {
        grid-template-columns: 1fr 1fr;
    }

}