.navbar-logo {
    background-image: url("../img/evstreets-white.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 130px;
    display: inline-block;
    width: 130px;
}

#about-modal img {
  padding-top: 35px;
}

.login-logo {
  padding-top: 60px;
}


/* User manager page */
.streets-page-usermanager .mg-table-container-default {
  height: calc(100vh - 200px);;
}

.streets-page-usermanager .handsontable table {
    border-collapse: collapse;
    font-family: Arial, serif;
    box-shadow: rgba(17, 12, 46, 0.15) 0 5px 40px 0;
}

.streets-page-usermanager tbody tr:nth-of-type(odd) {
    background-color: #f4f4f4;
}

.streets-page-usermanager tr th {
    background-color: white;
    text-align: left;
}

.streets-page-usermanager thead th,
.streets-page-usermanager td {
    padding: 6px 10px;
}

.streets-password-reset-button {
    font-family: Arial, serif;
}

/* Foreign dates (datepicker) */
.streets-datepicker .ui-datepicker {
  font-size: 17px;
}

.streets-datepicker .ui-datepicker .ui-datepicker-current-day .ui-state-active,
.streets-datepicker .ui-datepicker .ui-datepicker-today .ui-state-highlight{
  background: none;
  color: grey;
  text-shadow: none;
}

.streets-datepicker .ui-datepicker .ui-datepicker-current-day .ui-state-hover,
.streets-datepicker .ui-datepicker .ui-datepicker-today .ui-state-hover {
  color: white;
  background-color: #E4C248;
  text-shadow: 0 -1px 0 rgba(0,0,0,0);
}

.streets-datepicker .ui-datepicker .ui-state-hover {
  color: white;
  background-color: #E4C248;
  text-shadow: 0 -1px 0 rgba(0,0,0,0);
}

.streets-datepicker .ui-datepicker .ui-state-highlight .ui-state-default {
  background-color: #F1E1A7;
  /*color: white;*/
}

.streets-datepicker .ui-datepicker .ui-state-highlight .ui-state-hover {
  background-color: #E4C248;
  color: white;
}

.streets-datepicker .ui-datepicker .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  background-color: transparent;
}


/* assignment widget */
.evstreets-assignment {
  padding-top: 15px;
  border-top: 1px solid rgb(147, 146, 146);
  overflow: hidden;
}

.streets-edit-jobs .streets-panel-collapse {
    background-color: #f0f0f0;
    padding: 5px 10px 5px 10px;
}

.streets-edit-jobs .streets-panel-collapse.collapsed:after {
  content: '\2304'; /* "down caret (⌄) */
  float: right;
  margin: -7px 0 0 0;
  font-size: 15px;
  text-align: center;
  line-height: 2;
}

.streets-edit-jobs .streets-panel-collapse.expanded:after {
  content: '\2303'; /* up caret (⌃) */
  float: right;
  font-size: 15px;
  line-height: 2;
}

.streets-edit-jobs .streets-panel-collapse:hover {
    background-color: #F1E1A7;
}

.evstreets-assignment .form-horizontal {
  padding-bottom: 0;
  padding-top: 0;
}

.evstreets-assignment .input-container {
  width: 100%;
}

.evstreets-assignmentDeviceList_table {
  width: 100%;
}

.evstreets-assignmentDeviceList_table thead {
  border-bottom: 1px solid rgb(195, 195, 195);
}

.evstreets-assignmentDeviceList_table thead tr {
  display: flex;
  justify-content: space-between;
}

.evstreets-assignmentDeviceList_table tbody {
  display: block;
  overflow-y: auto;
  height: 110px;
  width: 100%;
}

.evstreets-assignmentDeviceList_item {
  display: flex;
  justify-content: space-between;
}

.evstreets-assignmentDeviceList_item-icon {
  margin-right: 5px;
}

.evstreets-assignmentDeviceList_item_remove-btn {
  border: 0;
  padding: 0 10px;
}

.evstreets-assignmentDeviceList_item_remove-btn:focus {
  outline: 0 !important;
}


/* Jobpanel */
.evstreets-jobpanel {
  overflow: auto;
}

.evstreets-jobpanel__subcontainer {
    display: flex;
    flex-direction: column;
}

.evstreets-jobpanel__summarybuttons {
  gap: 0 !important;
  padding-left: 6px;
  padding-right:6px;
}

.evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn > .mg-btnicon,
.evstreets-viewerform .mg-form-field-radiogroupgrid__btn > .mg-btnicon {
  color: white;
  font-size: 24px;
}

.evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn,
.evstreets-viewerform .mg-form-field-radiogroupgrid__btn {
  padding: 0 6px;
  outline: 0 !important;
}

.evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn:hover,
.evstreets-viewerform .mg-form-field-radiogroupgrid__btn:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn > .mg-btnlabel,
.evstreets-viewerform .mg-form-field-radiogroupgrid__btn > .mg-btnlabel {
  display: none;
}

.evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn.active,
.evstreets-viewerform .mg-form-field-radiogroupgrid__btn.active {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  border: 2px solid black;
  transform: scale(1.2);
}

.mg-toolbar-horizontal-ctn .evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn.active,
.evstreets-viewerform > .mg-form-field-radiogroupgrid__btn.active {
  transform: scale(0.8);
}

.mg-toolbar-horizontal-ctn .evstreets-jobpanel__summarybuttons > .mg-form-field-radiogroupgrid__btn_wrapper > .mg-form-field-radiogroupgrid__btn,
.evstreets-viewerform > .mg-form-field-radiogroupgrid__btn {
  transform: scale(0.7);
  padding: 0 6px;
}

.streets-job-panel__horizontal-container {
  display: flex;
}

.streets-job-panel__side-by-side-toggle,
.streets-viewer-tool__side-by-side-toggle {
  background-color: var(--secondary-color);
  border: 1px solid #cccccc;
  border-radius: 4px;
  color: white;
  font-size: 24px;
  margin-left: 8px;
}

.streets-job-panel__side-by-side-toggle:hover,
.streets-viewer-tool__side-by-side-toggle:hover {
  background-color: var(--primary-color);
}

.evstreets-blue-static-field .input-container p.static-field {
  font-weight: bold;
  font-size: larger;
}

.evstreets-blue-static-field .form-group.row {
  margin-bottom: 0;
}

.evstreets-static-assignation-time {
  padding-left: 30px;
}

.evstreets-static-assignation-time .form-group.row {
  margin-bottom: 0;
}

.evstreets-static-assignation-time .input-container p.static-field {
  margin-top: -6px;
  padding-top: 0;
}

.evstreets-assignation__container .mg-modal-editfeature-body .control-label  {
  display: NONE;
}

.evstreets-assignmentDeviceList_item_input {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.evstreets-assignmentDeviceList__trucks_label {
  width: 70%;
  text-align: left;
}

.evstreets-assignmentDeviceList__toggle_label {
  text-align: center;
}

.evstreets-assignmentDeviceList__delete_label {
  width: 30px;
}

.evstreets-assignmentDeviceList_item-label {
  width: 70%;
}

.evstreets-viewer-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.evstreets-viewerjobgroupslist {
  flex: 1;
  overflow: auto;
}

.evstreets-viewerjobgroupslist-icon {
  margin-right: 5px;
}

.evstreets-viewerjobgroupslist__jobitem .mg-accordion__item .panel-heading {
  align-items: center;
  display: flex;
  gap: 8px;
}

.evstreets-viewerjobgroupslist__jobitem .mg-accordion__item .panel-heading.collapsed {
  background-color: #fff0;
}

.evstreets-viewerjobgroupslist-label > .evstreets-viewerjobgroupslist-icon {
  padding-left: 6px;
}

/* Help Pages CSS */
.evstreets-menu-help-link_items {
  font-size: 30px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.navbar .dropdown-menu > #evstreets_help_ext_menu {
  position: relative;
}

.navbar #evstreets_help_ext_menu {
  position: absolute;
  top: 0;
  right: 0;
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

/* District Menu */

.navbar .dropdown-menu > li > a > span.glyphicon {
  display: none !important;
}

/* ========================================================================
   GHOST ROUTES LIST PAGE STYLES
   Added: 2026-01-11
   Description: Styles for the ghost routes listing page
   ======================================================================== */

.streets-page-ghost-routes-list {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.streets-page-ghost-routes-list .page-header {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 12px;
}

/* Top Controls */
.streets-page-ghost-routes-list .top-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

/* Filter Control */
.streets-page-ghost-routes-list .filter-control {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.streets-page-ghost-routes-list .filter-control label {
    color: #374151;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    letter-spacing: 0.3px;
}

.streets-page-ghost-routes-list .zone-filter {
    padding: 10px 16px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    min-width: 200px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.streets-page-ghost-routes-list .zone-filter:hover {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.streets-page-ghost-routes-list .zone-filter:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Create Button */
.streets-page-ghost-routes-list .create-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streets-page-ghost-routes-list .create-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.streets-page-ghost-routes-list .create-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Routes Container */
.streets-page-ghost-routes-list .routes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
    min-height: 200px;
}

/* Route Item */
.streets-page-ghost-routes-list .route-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.streets-page-ghost-routes-list .route-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Route Info */
.streets-page-ghost-routes-list .route-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.streets-page-ghost-routes-list .route-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 18px;
}

.streets-page-ghost-routes-list .route-zones {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.streets-page-ghost-routes-list .route-date {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

/* Route Actions */
.streets-page-ghost-routes-list .route-actions {
    display: flex;
    gap: 10px;
}

.streets-page-ghost-routes-list .edit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.streets-page-ghost-routes-list .edit-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* No Data Message */
.streets-page-ghost-routes-list .no-data {
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
    font-size: 18px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* Error Message */
.streets-page-ghost-routes-list .error-message {
    padding: 20px 24px;
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

/* Loading State */
.streets-page-ghost-routes-list .routes-container .mg-loading-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--primary-color);
}

.streets-page-ghost-routes-list .routes-container.mg-masked {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .streets-page-ghost-routes-list {
        padding: 15px;
    }

    .streets-page-ghost-routes-list .page-header {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .streets-page-ghost-routes-list .top-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 15px;
    }

    .streets-page-ghost-routes-list .filter-control {
        flex-direction: column;
        align-items: stretch;
    }

    .streets-page-ghost-routes-list .zone-filter {
        width: 100%;
        min-width: unset;
    }

    .streets-page-ghost-routes-list .create-button {
        width: 100%;
    }

    .streets-page-ghost-routes-list .route-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 16px 20px;
    }

    .streets-page-ghost-routes-list .route-name {
        font-size: 16px;
    }

    .streets-page-ghost-routes-list .route-zones {
        font-size: 13px;
    }

    .streets-page-ghost-routes-list .edit-button {
        width: 100%;
        padding: 10px 20px;
    }
}

/* Tablet sizes */
@media (min-width: 769px) and (max-width: 1024px) {
    .streets-page-ghost-routes-list .route-name {
        font-size: 17px;
    }

    .streets-page-ghost-routes-list .route-zones {
        font-size: 13px;
    }
}
