﻿body {
    /*font-family: 'Nunito', sans-serif !important;*/
    font-family: Arial, sans-serif;
    position: absolute;
    width: 100%;
    height: 100% !important;
    background-color: #e0e0e0 !important;
}

#root{height:100%;}

a {
    color: #2196f3 !important;
    cursor: pointer;
}

    a:hover {
        color: #007bff !important;
        text-decoration: none !important;
    }

.map-refresh-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    position: absolute;
    top: 2%;
    right: 1%;
}
.map-Info-button {
    padding: 18.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 4.2rem;
    position: absolute;
    top: -3%;
    right: 51%;
}
    .info-window-table {
   /* font-family: Calibri;
    font-size: 12px;
    width: 100%;
    padding: 0 20px 0 20px;
    background-color: #FFF2CC;
    border: 1px solid black;*/
}

.gm-style .gm-style-iw-c {
    min-width: 420px !important;
    border-radius: 10px !important;
    padding: 0 !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

.gm-style .gm-style-iw-t::after {
    background: #1a73e8 !important;
}

/* ── InfoWindow container ── */
.iw-container {
    font-family: Arial, sans-serif;
    min-width: 400px;
    max-width: 420px;
}

.iw-ride-id {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 0;
}

.iw-ride-id strong {
    font-size: 0.95rem;
}

/* ── Info table ── */
.iw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.iw-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.iw-table tbody tr:last-child {
    border-bottom: none;
}

.iw-table tbody tr:nth-child(even) {
    background-color: #f8faff;
}

.iw-table td {
    padding: 7px 12px;
    vertical-align: top;
    width: 50%;
}

.iw-label {
    display: block;
    font-size: 0.70rem;
    font-weight: 700;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.iw-label i {
    width: 13px;
    text-align: center;
}

.iw-value {
    display: block;
    color: #202124;
    font-size: 0.80rem;
    font-weight: 500;
    line-height: 1.4;
}

.iw-eta {
    color: #1a73e8;
    font-weight: 700;
    font-size: 0.85rem;
}

.iw-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 7px;
    background: #34a853;
    color: #fff;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.iw-addr {
    vertical-align: top !important;
}

.iw-pu-icon {
    color: #34a853;
}

.iw-do-icon {
    color: #ea4335;
}
.map-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ── Page load popup (matches Dispatch style) ── */
.page-loading-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.page-loading-popup {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 18px 26px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 260px;
    max-width: 340px;
    border-left: 4px solid #1a73e8;
}

.page-loading-popup-icon {
    font-size: 1.6rem;
    color: #1a73e8;
    flex-shrink: 0;
}

.page-loading-popup-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-loading-popup-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a2a3a;
    letter-spacing: 0.02em;
}

.page-loading-popup-sub {
    margin: 0;
    font-size: 0.74rem;
    color: #6b7280;
}

.map-div {
    height: 99%;
    width: 100%; 
    position:absolute;
}

#map-body {
    margin: 0;
    padding: 0;
}

#map-list-data {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 38px;
    z-index: 99999;
    width: 100%;
    max-height: 50vh;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    transform: translateY(110%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#map-list-data.visible {
    transform: translateY(0);
}

#map-list-data .card-body {
    height: 100%;
    max-height: calc(50vh - 8px);
    overflow-y: auto;
}

#bottom_bar {
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 9999;
    text-align: center;
    background-color: #2c3e50;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}

    #bottom_bar #bottom_menu .btn-success {
        color: #ffffff !important;
        font-size: 1rem;
    }

strong, b{font-weight:bold !important;}

.table td, .table th {
    padding: 0.2rem 0.3rem !important;
    font-size: 0.8rem !important;
}

.table.table-head-fixed thead tr:nth-child(1) th {
    background-color: #dbe0ea !important;   
}

.body {
    padding: 0px;
    margin: 0px;
   /* font-family: Arial, sans-serif;*/
    font-size: 16px;
    color: #333333;
    /*background-color: #333333;*/
}

a {
    color: #2196f3;
}

.ride-date {
    background-color: #6d7a8a;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
}

.card-rez-info {
    background-color: #ffffff;
    padding: 10px;
}

.info-airline {
    padding-left: 10px;
}

.info-live-status {
    background-color: #f6e58d;
    padding: 8px;
    color: #544800;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    margin: 10px 0px;
    line-height:normal;
}

.airline-name {
    color: #747474
}

.flight-status {
    font-size: 20px;
    font-weight: bold;
}

hr {
    border: none;
    height: 1px;
    color: #c1c1c1;
    background-color: #c1c1c1;
    margin: 15px 0px;
}

.direction {
    font-size: 30px;
}

.card-ride-list {
    margin: 10px;
}

.card-ride {
    background-color: #ffffff;
    padding: 15px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.title {
    color: #747474;
    margin-right: 5px;
}

.value {
    font-weight: bold;
    color: #333333
}

.info-airport-transporter-hotel .divider {
    margin: 0px 5px;
    color: #747474
}

.info-airport-transporter-hotel .airport {
    line-height: 20px;
}

.info-airport-transporter-hotel .transporter {
    line-height: 20px;
    margin-top: 10px;
}

.info-airport-transporter-hotel .vehicle {
    line-height: 20px;
}

.icon-airline img {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

.driver-status {
    background-color: #f6e58d;
    color: #333333;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    box-shadow: rgb(50 50 93 / 25%) 0px 50px 100px -20px, rgb(0 0 0 / 30%) 0px 30px 60px -30px;
    position: relative;
    margin: auto;
}
.info-driver {
    background-color: #ffffff;
    padding: 15px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 80%;
    bottom: 0;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.info-driver-vehicle {
    padding-left: 10px;
}
    .info-driver-vehicle .divider {
        margin: 0px 5px;
        color: #747474
    }
.photo-driver img {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}
.map {
    height: 100%;
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 100%;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
}

.gmap_iframe {
    height: 100% !important;
}


.btn-refresh {
    position: absolute;
    top: 60px;
    right: 20px;
    z-index: 9999;
}

    /*.btn-refresh .btn-primary {
        background-color: #007bff;
        border: 0;
        color: #ffffff;
        padding: 5px 10px;
        border-radius: 5px;
    }

        .btn-refresh .btn-primary:hover {
            background-color: #0053ad;
        }*/

.btn-action .btn-primary {
    margin-top: 10px;
    width: 100%;
}
.content .card {
    box-shadow: none;
    margin-bottom: 1rem;
}
.form-group {
    margin-bottom: 0.4rem !important;
}
    .form-group label {
        font-size: 0.7rem !important;
        margin-bottom: 0rem;
        font-weight: normal !important;
    }

    .form-group .col-form-label {
        font-size: 0.8rem !important;
    }

    .form-group .form-check {
        display: inline;
        padding-left: 1.25rem;
        padding-right: 0.5rem;
    }
/*.replay-select-box {
    display: block;
    width: 100%;
    height: 32px;
    padding: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}*/

.vehicleReplyFilter > div{display:inline-block; margin-right:10px; vertical-align:middle}
  .vehicleReplyContainer {
    position: absolute !important ;
    z-index: 99;
    right: 10px;
    /*top: 10px;*/
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: 0px !important;
}
.gm-style .gm-style-iw-c {
    min-width: 289px !important;
}
.dx-dropdowneditor.dx-dropdowneditor-field-clickable, .dx-dropdowneditor.dx-dropdowneditor-field-clickable .dx-texteditor-input {
    height: 30px;
}
.dx-texteditor-input-container {
    margin-top: -2px !important;
}
.breadcrumb.btn-group-sm > .btn, .btn-sm {
    padding: 0.2rem 0.5rem;
}

.btn-custom-gray {
    background-color: #efefef !important;
    border-color: #c3c3c3 !important;
    color: #212529 !important;
}

    .btn-custom-gray:hover {
        background-color: #f8f9fa !important;
        border-color: #ddd !important;
        color: #565656 !important;
    }

    .btn-custom-gray:not(:disabled):not(.disabled):active, .btn-custom-gray:not(:disabled):not(.disabled).active, .show > .btn-custom-gray.dropdown-toggle {
        background-color: #f8f9fa !important;
        border-color: #ddd !important;
        color: #565656 !important;
    }
#bottom_bar #bottom_menu .btn-success {
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 0;
    padding: 8px 16px;
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.fleet-status-count div {
    display: inline-block;
    margin-right: 20px;
    padding: 5px 10px
}

    .fleet-status-count div:last-child {
        display: inline-block;
        margin-right: 0px;
    }

.tripStatus > div {display:inline-block; margin-right:20px; text-align:center;}

.displayNone {
    display: none;
}

.displayBlock {
    display: block;
}

/* ── Fleet list panel ── */
.fleet-list-header {
    background: linear-gradient(135deg, #2c3e50, #3d5166);
    color: #fff;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.fleet-list-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-list-count {
    background: rgba(255,255,255,0.15);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fleet-show-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7ecfff !important;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(126, 207, 255, 0.35);
    transition: all 0.18s ease;
    text-decoration: none !important;
}

.fleet-show-all-link:hover {
    background: rgba(126, 207, 255, 0.18) !important;
    color: #fff !important;
    border-color: rgba(126, 207, 255, 0.7);
    text-decoration: none !important;
}

.fleet-export-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #86efac !important;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(134, 239, 172, 0.35);
    transition: all 0.18s ease;
    text-decoration: none !important;
}

.fleet-export-link:hover {
    background: rgba(134, 239, 172, 0.18) !important;
    color: #fff !important;
    border-color: rgba(134, 239, 172, 0.7);
    text-decoration: none !important;
}

.fleet-list-body {
    max-height: calc(50vh - 44px);
    overflow-y: auto;
}

.fleet-list-table thead tr th {
    background: #f0f4f8 !important;
    color: #3d5166 !important;
    font-size: 0.69rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 7px 10px !important;
    border-bottom: 2px solid #c8d6e5 !important;
    white-space: nowrap;
}

.fleet-list-table tbody tr {
    border-bottom: 1px solid #eef1f5;
    transition: background 0.15s;
}

.fleet-list-table tbody tr:hover {
    background-color: #f0f7ff !important;
}

.fleet-list-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.fleet-list-table td {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
    vertical-align: middle !important;
    color: #2d3748;
}

.fleet-vehicle-no {
    font-weight: 700;
    color: #1a3a5c !important;
    white-space: nowrap;
}

.fleet-gps-time {
    color: #718096 !important;
    font-size: 0.74rem !important;
    white-space: nowrap;
}

.fleet-pax-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f4fd;
    color: #1a6fa8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 700;
}

.fleet-focus-btn {
    background: none;
    border: 1px solid #c8d6e5;
    border-radius: 5px;
    color: #3498db;
    padding: 3px 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s;
}

.fleet-focus-btn:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* ── Vehicle status badges ── */
.veh-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-transform: uppercase;
}

.veh-badge-primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.veh-badge-success {
    background: #dcfce7;
    color: #166534;
}

.veh-badge-info {
    background: #cffafe;
    color: #0e7490;
}

.veh-badge-teal {
    background: #ccfbf1;
    color: #0f766e;
}

.veh-badge-warning {
    background: #fef9c3;
    color: #854d0e;
}

.veh-badge-secondary {
    background: #e2e8f0;
    color: #475569;
}

.veh-badge-default {
    background: #ede9fe;
    color: #5b21b6;
}