@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html, body {
    margin: 0;
    padding: 0;
	width: -webkit-calc(100% - 0px);
    font-size: 16px;
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
	overflow-x:hidden;
    /* overflow: hidden; */
}

body,
button,
input,
select,
textarea,
.btn,
.dropdown-menu,
.modal,
.form-control,
.input-group-text,
.vis-timeline,
.vis-item,
.aside-item,
.sideItem {
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif !important;
}

.tab-content.h-100 {
    overflow-y: hidden !important;
    overflow-x: hidden;
}

.route-drag-ghost {
   opacity: 0.3;
}

.route-part {
   cursor: grab;
   position: relative;
   gap: 4px;
   margin: 0 0 10px !important;
   padding: 10px 8px !important;
   min-height: 44px;
}

.route-part,
.sub-ride-item {
   border-radius: 14px !important;
   overflow: hidden;
   position: relative;
}

/* Aankomsttijd-subrit (timeType 2): pastel-oranje i.p.v. blauw (bg-info) */
.sub-ride-item.sub-ride-item-arrival {
   background-color: #ffd8a8 !important;
   color: #5a3a12 !important;
}

/* Klein tijd-label op de subrit-kaart: aankomsttijd rechtsonder, vertrektijd rechtsboven */
.sub-ride-time-label {
   position: absolute;
   bottom: 5px;
   right: 9px;
   max-width: 48%;
   font-size: 10px;
   line-height: 1.2;
   font-weight: 600;
   opacity: 0.85;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   pointer-events: none;
   z-index: 1;
}

/* Oorspronkelijke vertrektijd (timeType 1) rechtsboven i.p.v. rechtsonder */
.sub-ride-time-label.sub-ride-time-label-departure {
   top: 5px;
   bottom: auto;
}

.route-part:active {
   cursor: grabbing;
}

.route-stop-actions {
   gap: 4px;
   padding-right: 6px;
}

.route-stop-action {
   width: 26px;
   height: 26px;
   padding: 0;
   border: 0;
   border-radius: 7px;
   background: rgba(255, 255, 255, 0.12);
   color: #ffffff;
   line-height: 1;
   cursor: pointer;
}

.route-stop-action:hover,
.route-stop-action:focus {
   background: rgba(255, 255, 255, 0.22);
   color: #ffffff;
   outline: none;
}

.route-stop-delete:hover,
.route-stop-delete:focus {
   background: #dc3545;
}

.route-insert-stop {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 6px;
   width: calc(100% - 16px);
   min-height: 30px;
   margin: 0 8px 10px;
   border: 1px dashed rgba(23, 162, 184, 0.55);
   border-radius: 9px;
   background: rgba(23, 162, 184, 0.08);
   color: #137384;
   font-size: 12px;
   font-weight: 700;
   cursor: pointer;
   overflow: hidden;
   transition: opacity 0.14s ease, max-height 0.14s ease, margin 0.14s ease, transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.route-insert-stop.route-insert-stop-hover-only:not(.route-insert-stop-visible) {
   max-height: 14px;
   min-height: 14px;
   margin-top: -6px;
   margin-bottom: -4px;
   padding-top: 0;
   padding-bottom: 0;
   border-width: 0;
   opacity: 0;
   pointer-events: auto;
   transform: translateY(-2px);
}

.route-insert-stop.route-insert-stop-visible,
.route-insert-stop.route-insert-stop-mobile-visible {
   max-height: 42px;
   opacity: 1;
   pointer-events: auto;
   transform: none;
}

.ride-normal-locations-container .route-insert-stop-normal-form.route-insert-stop-hover-only:not(.route-insert-stop-visible) {
   max-height: 4px;
   min-height: 4px;
   margin-top: 0;
   margin-bottom: 0;
   transform: none;
}

.ride-normal-locations-container .route-insert-stop-normal-form.route-insert-stop-visible {
   margin: 4px 8px 8px;
}

.route-insert-stop:hover,
.route-insert-stop:focus {
   border-color: #17a2b8;
   background: rgba(23, 162, 184, 0.16);
   color: #0d5f6d;
   outline: none;
}

.ride-normal-locations-container .route-insert-stop-normal-form:hover,
.ride-normal-locations-container .route-insert-stop-normal-form:focus {
   max-height: 42px;
   min-height: 30px;
   margin: 4px 8px 8px;
   padding: 0 10px;
   border-width: 1px;
   opacity: 1;
   pointer-events: auto;
   transform: none;
}

.ride-normal-locations-container > .form-group {
   margin-bottom: 0;
}

.ride-normal-locations-container > .form-group > .input-group {
   margin-bottom: 0 !important;
}

.ride-normal-location-drag-handle {
   cursor: grab;
   touch-action: none;
   user-select: none;
}

.ride-normal-location-drag-handle:active {
   cursor: grabbing;
}

.ride-normal-location-meta-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   min-height: 16px;
   margin: 2px 2px 2px 0;
}

.ride-normal-location-meta-row .remove-location {
   line-height: 1.15;
}

.ride-normal-location-meta-row .remove-location small {
   font-size: 11px;
   font-weight: 700;
}

.ride-normal-location-arrival-time {
   display: block;
   min-height: 16px;
   margin: 0 0 0 auto;
   color: #5f6f7f;
   font-size: 11px;
   font-weight: 700;
   line-height: 1.15;
   text-align: right;
}

.ride-normal-location-arrival-time-loading i {
   font-size: 10px;
}

.ride-normal-optimize-route-button {
   width: calc(100% - 16px);
   margin: 8px 8px 12px;
   cursor: pointer;
}

.route-location-editor {
   width: 100%;
   margin: -2px 0 8px;
   padding: 8px;
   border-radius: 10px;
   background: #eef5f4;
   border: 1px solid #cbdedb;
}

.route-location-editor .input-group-text,
.route-location-editor .form-control,
.route-location-editor .btn {
   font-size: 13px;
}

body.whenride-dark .route-insert-stop {
   border-color: rgba(98, 187, 178, 0.55);
   background: rgba(98, 187, 178, 0.12);
   color: #bfe7e2;
}

body.whenride-dark .route-insert-stop:hover,
body.whenride-dark .route-insert-stop:focus {
   border-color: #62bbb2;
   background: rgba(98, 187, 178, 0.2);
   color: #ffffff;
}

body.whenride-dark .ride-normal-location-arrival-time {
   color: #a8b6c4;
}

body.whenride-dark .route-location-editor {
   background: #17202b;
   border-color: #334252;
}

.info-content {
   border-radius: 12px !important;
   overflow: hidden;
}

.ride-form-route-map-preview {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 2px 0 14px;
    overflow: hidden;
    border: 1px solid #d9e0e5;
    border-radius: 10px;
    background: #eef3f1;
}

.ride-form-route-map-canvas {
    width: 100%;
    height: 100%;
}

.ride-form-route-map-status {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(24, 33, 44, 0.82);
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
}

.ride-form-route-map-metrics {
    position: absolute;
    left: 10px;
    right: 58px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #18212c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    pointer-events: none;
}

.ride-form-route-map-zoom-controls {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(24, 33, 44, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.ride-form-route-map-zoom-controls button {
    width: 36px;
    height: 30px;
    padding: 0;
    border: 0;
    background: #ffffff;
    color: #18212c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.ride-form-route-map-zoom-controls button i {
    font-size: 13px;
    line-height: 1;
}

.ride-form-route-map-zoom-controls button + button {
    border-top: 1px solid rgba(24, 33, 44, 0.16);
}

.ride-form-route-map-zoom-controls button:hover,
.ride-form-route-map-zoom-controls button:focus {
    background: #eef3f1;
    color: #18212c;
    outline: none;
}

body.whenride-dark .ride-form-route-map-preview {
    border-color: #334252;
    background: #17202b;
}

body.whenride-dark .ride-form-route-map-metrics {
    background: rgba(18, 25, 34, 0.9);
    color: #eef5ff;
}

body.whenride-dark .ride-form-route-map-zoom-controls {
    border-color: #334252;
    background: #17202b;
}

body.whenride-dark .ride-form-route-map-zoom-controls button {
    background: #17202b;
    color: #eef5ff;
}

body.whenride-dark .ride-form-route-map-zoom-controls button + button {
    border-top-color: #334252;
}

body.whenride-dark .ride-form-route-map-zoom-controls button:hover,
body.whenride-dark .ride-form-route-map-zoom-controls button:focus {
    background: #223044;
    color: #eef5ff;
}

.ride-route-map-aside {
    min-width: min(520px, calc(100vw - 48px));
    width: min(720px, calc(100vw - 48px));
}

.ride-route-map-aside .bg-circle-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    color: #ffffff;
    border-radius: 50%;
}

.ride-route-map-aside-preview {
    height: min(640px, calc(100vh - 170px));
    min-height: 420px;
    margin-bottom: 0;
}

.ride-route-map-aside-preview .ride-form-route-map-metrics {
    right: 58px;
}

.ride-planning-suggestion-modal .modal-content {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.ride-planning-suggestion-modal .modal-header {
    align-items: center;
    border-bottom: 1px solid #d9e0e5;
    background: #f7faf9;
}

.ride-planning-suggestion-modal .modal-title {
    color: #18212c;
    font-weight: 800;
}

.whenride-v3-release-modal {
    z-index: 4000;
}

.whenride-v3-release-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 28px));
}

.whenride-v3-release-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #f6fbf8;
    box-shadow: 0 24px 70px rgba(11, 23, 34, 0.32);
}

.whenride-v3-release {
    position: relative;
    max-height: min(78vh, 760px);
    overflow: auto;
    background:
        linear-gradient(135deg, rgba(111, 190, 126, 0.22), rgba(59, 172, 205, 0.16) 42%, rgba(255, 255, 255, 0) 68%),
        #f6fbf8;
    color: #17212b;
}

.whenride-v3-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 33, 43, 0.1);
    color: #17212b;
    cursor: pointer;
}

.whenride-v3-close:hover,
.whenride-v3-close:focus {
    background: rgba(23, 33, 43, 0.18);
    outline: none;
}

.whenride-v3-hero {
    padding: 34px 72px 24px 34px;
}

.whenride-v3-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(37, 132, 88, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #216a4c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.whenride-v3-hero h2 {
    max-width: 760px;
    margin: 0 0 10px;
    color: #111b24;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.08;
}

.whenride-v3-hero p {
    max-width: 780px;
    margin: 0;
    color: #516071;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.whenride-v3-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 24px 22px;
}

.whenride-v3-feature {
    display: flex;
    gap: 11px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(116, 138, 151, 0.24);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
}

.whenride-v3-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #6ac07c;
    color: #ffffff;
}

.whenride-v3-feature strong {
    display: block;
    color: #17212b;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.whenride-v3-feature span:not(.whenride-v3-feature-icon) {
    display: block;
    margin-top: 3px;
    color: #566574;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.whenride-v3-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 24px 26px;
}

.whenride-v3-sections section {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(116, 138, 151, 0.24);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
}

.whenride-v3-sections h3 {
    margin: 0 0 12px;
    color: #17212b;
    font-size: 16px;
    font-weight: 900;
}

.whenride-v3-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.whenride-v3-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #425161;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.whenride-v3-list i {
    margin-top: 2px;
    color: #27a35b;
    font-size: 12px;
}

.whenride-v3-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid rgba(116, 138, 151, 0.22);
    background: #ffffff;
}

.whenride-v3-footer span {
    color: #667484;
    font-size: 13px;
    font-weight: 700;
}

.whenride-v3-start {
    min-width: 150px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .whenride-v3-highlights,
    .whenride-v3-sections {
        grid-template-columns: 1fr;
    }

    .whenride-v3-hero {
        padding: 28px 58px 20px 22px;
    }

    .whenride-v3-hero h2 {
        font-size: 26px;
    }

    .whenride-v3-highlights,
    .whenride-v3-sections {
        padding-left: 14px;
        padding-right: 14px;
    }

    .whenride-v3-footer {
        align-items: stretch;
        flex-direction: column;
    }
}

.aside-inline-popup-layer {
    position: absolute;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    pointer-events: auto;
}

.aside-inline-popup-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.36);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.aside-item.aside-item-popup-open > :not(.aside-inline-popup-layer) {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

.aside-save-progress-layer {
    position: absolute;
    inset: 0;
    z-index: 94;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 54px 16px 18px;
    pointer-events: auto;
}

.import-rides-progress-host {
    position: fixed;
    inset: 0;
    z-index: 5200;
    pointer-events: none;
}

.import-rides-progress-host:empty {
    display: none;
}

.import-rides-progress-host .aside-save-progress-layer.is-minimized {
    position: fixed;
}

.import-rides-progress-host .aside-save-progress-layer,
.import-rides-progress-host .aside-save-progress-backdrop {
    pointer-events: none;
}

.import-rides-progress-host .aside-save-progress-panel {
    pointer-events: auto;
}

.aside-save-progress-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.32);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.aside-item.aside-save-progress-open > :not(.aside-save-progress-layer) {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

.aside-item.aside-save-progress-open.aside-save-progress-minimized > :not(.aside-save-progress-layer) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

.aside-item.aside-save-progress-docked {
    position: fixed !important;
    right: 16px !important;
    bottom: calc(12px + (var(--aside-save-progress-dock-index, 0) * 76px)) !important;
    left: auto !important;
    top: auto !important;
    z-index: 5000 !important;
    width: min(320px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.aside-item.aside-save-progress-docked > :not(.aside-save-progress-layer) {
    display: none !important;
}

.aside-item.aside-save-progress-docked > .aside-save-progress-layer.is-minimized {
    position: static;
    inset: auto;
    width: 100%;
}

.aside-save-progress-panel {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    border: 1px solid #d9e0e5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(11, 18, 32, 0.26);
    color: #18212c;
    padding: 16px;
    text-align: center;
    animation: asidePopupIn 0.18s ease-out both;
}

.aside-save-progress-header {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    gap: 6px;
}

.aside-save-progress-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: #fdecec;
    color: #c0392b;
    cursor: pointer;
}

.aside-save-progress-cancel:hover,
.aside-save-progress-cancel:focus {
    background: #f8d7d7;
    color: #96281b;
    outline: none;
}

.aside-save-progress-minimize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: #eef3f6;
    color: #526071;
    cursor: pointer;
}

.aside-save-progress-minimize:hover,
.aside-save-progress-minimize:focus {
    background: #dfe8ed;
    color: #18212c;
    outline: none;
}

.aside-save-progress-layer.is-minimized {
    inset: auto 12px 12px auto;
    z-index: 112;
    display: block;
    width: min(280px, calc(100% - 24px));
    padding: 0;
    pointer-events: none;
    opacity: 0.72;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-backdrop {
    display: none;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-panel {
    width: 100%;
    padding: 10px 42px 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 26px rgba(11, 18, 32, 0.22);
    text-align: left;
    pointer-events: none;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-spinner {
    float: left;
    width: 30px;
    height: 30px;
    margin: 1px 9px 0 0;
    font-size: 14px;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-status {
    min-height: 0;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-bar {
    clear: both;
    height: 6px;
    margin-top: 8px;
}

.aside-save-progress-layer.is-minimized .aside-save-progress-meta,
.aside-save-progress-layer.is-minimized .aside-save-progress-steps {
    display: none;
}

.aside-save-progress-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #eef7f1;
    color: #49ad68;
    font-size: 20px;
}

.aside-save-progress-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.aside-save-progress-status {
    min-height: 18px;
    margin-top: 6px;
    color: #526071;
    font-size: 13px;
    font-weight: 700;
}

.aside-save-progress-bar {
    height: 9px;
    margin-top: 12px;
    border-radius: 999px;
    background: #e9eef1;
    overflow: hidden;
}

.aside-save-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #49ad68, #4ec4bd);
    transition: width 0.26s ease;
}

.aside-save-progress-meta {
    min-height: 16px;
    margin-top: 7px;
    color: #7b8794;
    font-size: 12px;
    font-weight: 700;
}

.aside-save-progress-steps {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    text-align: left;
}

.aside-save-progress-step {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px 8px;
    align-items: center;
    padding: 8px 9px;
    border: 1px solid #e2e8ec;
    border-radius: 9px;
    background: #f7faf9;
    color: #526071;
    font-size: 12px;
    font-weight: 800;
}

.aside-save-progress-step-icon {
    color: #a7b1bb;
    text-align: center;
    font-size: 11px;
}

.aside-save-progress-step-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aside-save-progress-step-bar {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: 999px;
    background: #e8edf0;
    overflow: hidden;
}

.aside-save-progress-step-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #49ad68;
    transition: width 0.26s ease;
}

.aside-save-progress-step.is-active {
    border-color: rgba(73, 173, 104, 0.46);
    background: #f0f9f3;
    color: #18212c;
}

.aside-save-progress-step.is-active .aside-save-progress-step-icon,
.aside-save-progress-step.is-done .aside-save-progress-step-icon {
    color: #49ad68;
}

.aside-save-progress-step.is-done {
    color: #263340;
}

.aside-save-progress-content {
    display: none;
    margin-top: 12px;
    text-align: left;
}

.aside-save-progress-layer.has-content .aside-save-progress-bar,
.aside-save-progress-layer.has-content .aside-save-progress-meta,
.aside-save-progress-layer.has-content .aside-save-progress-steps {
    display: none;
}

.aside-save-progress-layer.has-content .aside-save-progress-content {
    display: block;
}

.unplanned-rides-progress-suggestion {
    display: grid;
    gap: 12px;
}

.unplanned-rides-progress-suggestion .ride-planning-suggestion-content {
    display: grid;
    gap: 12px;
}

.unplanned-rides-progress-suggestion .ride-planning-suggestion-list {
    grid-template-columns: 1fr;
    max-height: min(42vh, 360px);
    margin-top: 0;
}

.unplanned-rides-progress-suggestion-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.aside-save-progress-layer.is-error .aside-save-progress-spinner {
    background: #fff1f2;
    color: #ef4444;
}

.aside-save-progress-layer.is-error .aside-save-progress-fill,
.aside-save-progress-layer.is-error .aside-save-progress-step-fill {
    background: #ef4444;
}

.aside-save-progress-layer.is-success .aside-save-progress-spinner {
    background: #eef7f1;
    color: #49ad68;
}

#unplanned-rides-body.unplanned-rides-progress-open > :not(.unplanned-rides-progress-layer) {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

#unplanned-rides-body.unplanned-rides-progress-open.unplanned-rides-progress-minimized > :not(.unplanned-rides-progress-layer) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

.unplanned-rides-progress-layer {
    position: absolute;
    z-index: 120;
    align-items: flex-start;
    padding: 54px 18px 18px;
}

.unplanned-rides-progress-backdrop {
    background: rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(9px) saturate(1.35);
    backdrop-filter: blur(9px) saturate(1.35);
}

.unplanned-rides-progress-panel {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.26);
    -webkit-backdrop-filter: blur(18px) saturate(1.28);
    backdrop-filter: blur(18px) saturate(1.28);
}

.ride-recurring-badge,
.ds-recurring-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    margin-left: 3px;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    vertical-align: middle;
    white-space: nowrap;
}

.ride-recurring-badge {
    background: rgba(20, 184, 166, 0.34);
}

.ride-recurring-action-row {
    display: flex;
    justify-content: flex-end;
    margin: -0.25rem 0 0.9rem;
}

.ride-recurring-template-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    line-height: 1.2;
}

.ride-recurring-template-action:hover,
.ride-recurring-template-action:focus {
    text-decoration: underline;
}

.ride-recurring-options-panel {
    margin-bottom: 0.75rem;
    border-radius: 8px;
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.ride-recurring-options-panel-highlight {
    background: rgba(23, 162, 184, 0.08);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.24);
}

.aside-inline-popup {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(380px, 100%);
    max-height: min(520px, calc(100% - 22px));
    border: 1px solid #d9e0e5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(11, 18, 32, 0.28);
    overflow: hidden;
    outline: none;
    animation: asidePopupIn 0.18s ease-out both;
}

.aside-inline-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #d9e0e5;
    background: #f7faf9;
}

.aside-inline-popup-title {
    margin: 0;
    color: #18212c;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.aside-inline-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 14px;
    color: #18212c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    overflow: auto;
}

.aside-inline-popup-body p:last-child {
    margin-bottom: 0;
}

.aside-inline-popup-footer {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 14px 14px;
}

.ride-planning-suggestion-inline {
    width: min(390px, 100%);
}

.aside-inline-popup-layer.ride-planning-suggestion-inline-layer {
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.aside-inline-popup-layer.ride-planning-suggestion-inline-layer .ride-planning-suggestion-inline {
    width: 100%;
    height: 100%;
    /* Keep the panel within the viewport even if the underlying aside is taller,
       so the suggestion list always scrolls internally instead of overflowing. */
    max-height: 100vh;
    border-radius: 0;
}

.ride-planning-suggestion-inline .aside-inline-popup-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ride-planning-suggestion-inline .ride-planning-suggestion-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.ride-planning-suggestion-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #d9e0e5;
    background: #f7faf9;
}

.ride-planning-suggestion-inline-title {
    margin: 0;
    color: #18212c;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.ride-planning-suggestion-inline-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(24, 33, 44, 0.08);
    color: #18212c;
    cursor: pointer;
}

.ride-planning-suggestion-inline-close:hover,
.ride-planning-suggestion-inline-close:focus {
    background: rgba(24, 33, 44, 0.14);
    color: #18212c;
    outline: none;
}

.ride-planning-suggestion-inline-body {
    padding: 12px 14px 0;
}

.ride-planning-suggestion-inline-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 14px 14px;
}

.ride-planning-suggestion-inline .ride-planning-suggestion-driver-groups {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin-top: 12px;
}

.ride-planning-suggestion-inline .ride-planning-suggestion-list {
    flex: 1 1 auto;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    max-height: none;
    margin-top: 12px;
}

.ride-planning-suggestion-inline .ride-planning-suggestion-card {
    padding: 10px 11px;
    border-radius: 9px;
}

.ride-planning-suggestion-load-more {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 12px;
}

.btn.ride-planning-suggestion-load-more-button {
    min-width: 230px;
    padding: 11px 22px;
    border: 1px solid #d9720f;
    border-radius: 12px;
    background: #f2954a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(217, 114, 15, 0.28);
}

.btn.ride-planning-suggestion-load-more-button:hover,
.btn.ride-planning-suggestion-load-more-button:focus {
    background: #c96412;
    border-color: #a85410;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 114, 15, 0.34);
    outline: none;
}

/* Dunne per-chauffeur knop onder de suggestielijst: laadt alleen voor dat
   rooster tijden buiten de flex-marge bij */
.ride-planning-suggestion-driver-load-more {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 5px 10px;
    border: 1px dashed #e6b98a;
    border-radius: 8px;
    background: rgba(242, 149, 74, 0.10);
    color: #5a6b7c;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.ride-planning-suggestion-driver-load-more:hover,
.ride-planning-suggestion-driver-load-more:focus {
    border-color: #d9720f;
    color: #c96412;
    background: rgba(242, 149, 74, 0.18);
    outline: none;
}

.ride-planning-suggestion-driver-load-more[disabled] {
    opacity: 0.7;
    cursor: default;
}

.ride-planning-suggestion-driver-load-more-empty {
    margin-top: 4px;
    padding: 4px 10px;
    text-align: center;
}

.ride-planning-suggestion-inline .ride-planning-suggestion-time {
    font-size: 16px;
}

@keyframes asidePopupIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pause-ride-form-intro {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.ride-planning-suggestion-intro {
    display: grid;
    gap: 8px;
}

.ride-planning-suggestion-message {
    color: #18212c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.ride-planning-suggestion-help {
    color: #5b6877;
    font-size: 13px;
}

.ride-planning-suggestion-combi-pinned {
    margin-top: 12px;
}

.ride-planning-suggestion-broaden-status {
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid #d9e0e5;
    border-radius: 8px;
    background: #f3f6f9;
    color: #18212c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}


.ride-planning-suggestion-context {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #d9e0e5;
    border-radius: 9px;
    background: #f7faf9;
    color: #18212c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
}

.ride-planning-suggestion-context-label {
    flex: 0 0 auto;
    color: #5b6877;
    font-weight: 800;
    text-transform: uppercase;
}

.ride-planning-suggestion-context > span:not(.ride-planning-suggestion-context-label) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ride-planning-suggestion-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    max-height: 340px;
    margin-top: 16px;
    overflow: auto;
}

.ride-planning-suggestion-driver-groups {
    display: grid;
    align-content: start;
    gap: 14px;
    max-height: 380px;
    margin-top: 16px;
    overflow: auto;
}

.ride-planning-suggestion-driver-group {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.ride-planning-suggestion-driver-group .ride-planning-suggestion-driver-heading {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    padding: 9px 11px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: #1f2933;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.ride-planning-suggestion-driver-heading > i {
    flex: 0 0 auto;
    margin-top: 1px;
}

.ride-planning-suggestion-driver-heading-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ride-planning-suggestion-driver-name,
.ride-planning-suggestion-driver-info {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ride-planning-suggestion-driver-info {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}

.ride-planning-suggestion-driver-vehicle {
    min-width: 0;
    overflow-wrap: anywhere;
    display: inline-flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
}

.ride-planning-suggestion-driver-vehicle > i {
    opacity: 0.85;
}

.ride-planning-suggestion-driver-group .ride-planning-suggestion-list {
    position: relative;
    z-index: auto;
    max-height: none;
    margin-top: 0;
    overflow: visible;
}

.ride-planning-suggestion-card {
    position: relative;
    z-index: 0;
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 12px;
    border: 1px solid #d9e0e5;
    border-radius: 10px;
    background: #ffffff;
    color: #18212c;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.ride-planning-suggestion-card:hover,
.ride-planning-suggestion-card:focus {
    border-color: #6abf69;
    background: #eef8ee;
    color: #18212c;
    outline: none;
    transform: translateY(-1px);
}

.ride-planning-suggestion-card-current,
.ride-planning-suggestion-card-current:hover,
.ride-planning-suggestion-card-current:focus {
    border-color: #54b86f;
    background: #eaf8ee;
    color: #18212c;
    transform: none;
}

.ride-planning-suggestion-card-current[aria-disabled="true"] {
    border-color: #f0ad4e;
    background: #fff3cd;
    color: #3f2d09;
    cursor: default;
}

.ride-planning-suggestion-card-current[aria-disabled="true"] .ride-planning-suggestion-details {
    color: #7a4b00;
    font-weight: 800;
}

.ride-planning-suggestion-card-current-situation,
.ride-planning-suggestion-card-current-situation:hover,
.ride-planning-suggestion-card-current-situation:focus {
    border-color: #f0ad4e;
    background: #fff3cd;
    color: #3f2d09;
    transform: none;
}

.ride-planning-suggestion-card-current-situation .ride-planning-suggestion-details {
    color: #7a4b00;
}

.ride-planning-suggestion-card-current-situation[aria-disabled="true"] {
    cursor: default;
    opacity: 0.85;
}

.ride-planning-suggestion-current-badge {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #7a4b00;
    vertical-align: middle;
}

.ride-planning-suggestion-card-current-unsafe,
.ride-planning-suggestion-card-current-unsafe:hover,
.ride-planning-suggestion-card-current-unsafe:focus {
    border-color: #f0ad4e;
    background: #fff3cd;
    color: #3f2d09;
}

.ride-planning-suggestion-warning {
    color: #7a4b00;
    font-weight: 800;
}

.ride-planning-suggestion-time {
    font-size: 18px;
    font-weight: 800;
}

.ride-planning-no-suggestion-summary {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #f0ad4e;
    border-radius: 8px;
    background: #fff3cd;
    color: #3f2d09;
}

.ride-planning-no-suggestion-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ride-planning-suggestion-details {
    color: #5b6877;
    font-size: 13px;
    line-height: 1.25;
}

.ride-planning-suggestion-details.ride-planning-suggestion-best {
    color: #1f7a3d;
    font-weight: 800;
}

.ride-planning-suggestion-card-combi {
    border-color: #6abf69;
    background: #f2fbf4;
}

.ride-planning-suggestion-combi {
    color: #24773d;
    font-weight: 700;
}

.ride-split-detail {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #d9e0e5;
    border-radius: 10px;
    background: #f7faf9;
}

.ride-split-detail-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #18212c;
    font-size: 13px;
    font-weight: 800;
}

.ride-split-detail-list {
    display: grid;
    gap: 8px;
}

.ride-split-detail-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.ride-split-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eaf5ee;
    color: #4f9b58;
    font-size: 13px;
}

.ride-split-detail-copy {
    min-width: 0;
}

.ride-split-detail-label {
    color: #5b6877;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ride-split-detail-value {
    color: #18212c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.ride-split-detail-note {
    margin-top: 2px;
    color: #5b6877;
    font-size: 12px;
    line-height: 1.3;
}

body.whenride-dark .ride-planning-suggestion-modal .modal-content,
body.whenride-dark .ride-planning-suggestion-modal .modal-body,
body.whenride-dark .ride-planning-suggestion-modal .modal-footer {
    background: #171f2a;
    color: #e7edf4;
}

body.whenride-dark .whenride-v3-release-modal .modal-content {
    background: #101722;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

body.whenride-dark .whenride-v3-release {
    background:
        linear-gradient(135deg, rgba(50, 157, 93, 0.22), rgba(55, 154, 188, 0.16) 42%, rgba(16, 23, 34, 0) 68%),
        #101722;
    color: #e7edf4;
}

body.whenride-dark .whenride-v3-close {
    background: rgba(238, 245, 255, 0.12);
    color: #eef5ff;
}

body.whenride-dark .whenride-v3-close:hover,
body.whenride-dark .whenride-v3-close:focus {
    background: rgba(238, 245, 255, 0.2);
}

body.whenride-dark .whenride-v3-kicker {
    border-color: rgba(105, 211, 140, 0.35);
    background: rgba(24, 50, 37, 0.72);
    color: #9ff1b6;
}

body.whenride-dark .whenride-v3-hero h2,
body.whenride-dark .whenride-v3-feature strong,
body.whenride-dark .whenride-v3-sections h3 {
    color: #eef5ff;
}

body.whenride-dark .whenride-v3-hero p,
body.whenride-dark .whenride-v3-feature span:not(.whenride-v3-feature-icon),
body.whenride-dark .whenride-v3-list li,
body.whenride-dark .whenride-v3-footer span {
    color: #b8c3ce;
}

body.whenride-dark .whenride-v3-feature,
body.whenride-dark .whenride-v3-sections section {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(32, 43, 57, 0.78);
}

body.whenride-dark .whenride-v3-footer {
    border-top-color: rgba(148, 163, 184, 0.22);
    background: #171f2a;
}

body.whenride-dark .ride-planning-suggestion-inline {
    border-color: #334252;
    background: #171f2a;
    box-shadow: 0 14px 30px rgba(3, 7, 12, 0.38);
    color: #e7edf4;
}

body.whenride-dark .aside-inline-popup-backdrop {
    background: rgba(3, 7, 12, 0.54);
}

body.whenride-dark .aside-save-progress-backdrop {
    background: rgba(3, 7, 12, 0.56);
}

body.whenride-dark .aside-inline-popup {
    border-color: #334252;
    background: #171f2a;
    box-shadow: 0 14px 30px rgba(3, 7, 12, 0.38);
    color: #e7edf4;
}

body.whenride-dark .aside-save-progress-panel {
    border-color: #334252;
    background: #171f2a;
    box-shadow: 0 14px 30px rgba(3, 7, 12, 0.38);
    color: #e7edf4;
}

body.whenride-dark .aside-save-progress-layer.is-minimized .aside-save-progress-panel {
    background: rgba(23, 31, 42, 0.58);
}

body.whenride-dark .aside-save-progress-minimize {
    background: #263241;
    color: #b8c3ce;
}

body.whenride-dark .aside-save-progress-minimize:hover,
body.whenride-dark .aside-save-progress-minimize:focus {
    background: #334252;
    color: #eef5ff;
}

body.whenride-dark .unplanned-rides-progress-backdrop {
    background: rgba(3, 7, 12, 0.46);
}

body.whenride-dark .unplanned-rides-progress-panel {
    border-color: rgba(148, 163, 184, 0.32);
    background: rgba(23, 31, 42, 0.76);
    box-shadow: 0 20px 48px rgba(3, 7, 12, 0.48);
}

body.whenride-dark .ride-recurring-badge,
body.whenride-dark .ds-recurring-badge {
    background: rgba(45, 212, 191, 0.28);
    color: #ecfeff;
}

body.whenride-dark .aside-save-progress-spinner {
    background: #183225;
    color: #69d38c;
}

body.whenride-dark .aside-save-progress-status,
body.whenride-dark .aside-save-progress-meta {
    color: #b8c3ce;
}

body.whenride-dark .aside-save-progress-bar,
body.whenride-dark .aside-save-progress-step-bar {
    background: #263241;
}

body.whenride-dark .aside-save-progress-step {
    border-color: #334252;
    background: #202b39;
    color: #c7d1dc;
}

body.whenride-dark .aside-save-progress-step.is-active {
    border-color: rgba(105, 211, 140, 0.48);
    background: #183225;
    color: #eef5ff;
}

body.whenride-dark .aside-save-progress-step.is-done {
    color: #eef5ff;
}

body.whenride-dark .aside-save-progress-step-icon {
    color: #728195;
}

body.whenride-dark .ride-planning-suggestion-modal .modal-header {
    border-bottom-color: #334252;
    background: #202b39;
}

body.whenride-dark .aside-inline-popup-header {
    border-bottom-color: #334252;
    background: #202b39;
}

body.whenride-dark .ride-planning-suggestion-inline-header {
    border-bottom-color: #334252;
    background: #202b39;
}

body.whenride-dark .ride-planning-suggestion-modal .modal-title,
body.whenride-dark .aside-inline-popup-title,
body.whenride-dark .ride-planning-suggestion-inline-title,
body.whenride-dark .ride-planning-suggestion-message {
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-broaden-status {
    border-color: #334252;
    background: #1f2933;
    color: #eef5ff;
}

body.whenride-dark .aside-inline-popup-body {
    color: #eef5ff;
}

body.whenride-dark .pause-ride-form-intro {
    border-color: #7f1d1d;
    background: #3b1114;
    color: #fecaca;
}

body.whenride-dark .ride-planning-suggestion-inline-close {
    background: rgba(238, 245, 255, 0.1);
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-inline-close:hover,
body.whenride-dark .ride-planning-suggestion-inline-close:focus {
    background: rgba(238, 245, 255, 0.16);
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-help,
body.whenride-dark .ride-planning-suggestion-details {
    color: #b8c4d2;
}

body.whenride-dark .ride-split-detail {
    border-color: #334252;
    background: #202b39;
}

body.whenride-dark .ride-split-detail-title,
body.whenride-dark .ride-split-detail-value {
    color: #eef5ff;
}

body.whenride-dark .ride-split-detail-icon {
    background: #183225;
    color: #69d38c;
}

body.whenride-dark .ride-split-detail-label,
body.whenride-dark .ride-split-detail-note {
    color: #b8c4d2;
}

body.whenride-dark .ride-planning-suggestion-context {
    border-color: #334252;
    background: #202b39;
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-context-label {
    color: #b8c4d2;
}

body.whenride-dark .ride-planning-suggestion-card {
    border-color: #334252;
    background: #202b39;
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-driver-heading {
    border-color: #334252;
    background: #111827;
    color: #f8fafc;
}

body.whenride-dark .ride-planning-suggestion-driver-info {
    color: #cbd5e1;
}

body.whenride-dark .ride-planning-suggestion-card:hover,
body.whenride-dark .ride-planning-suggestion-card:focus {
    border-color: #6abf69;
    background: #263747;
    color: #eef5ff;
}

body.whenride-dark .ride-planning-suggestion-card-current,
body.whenride-dark .ride-planning-suggestion-card-current:hover,
body.whenride-dark .ride-planning-suggestion-card-current:focus {
    border-color: #63c985;
    background: #183524;
    color: #e7f8ed;
}

body.whenride-dark .ride-planning-suggestion-card-current[aria-disabled="true"],
body.whenride-dark .ride-planning-suggestion-card-current[aria-disabled="true"]:hover,
body.whenride-dark .ride-planning-suggestion-card-current[aria-disabled="true"]:focus {
    border-color: #f0ad4e;
    background: #4a3512;
    color: #fff2d5;
}

body.whenride-dark .ride-planning-suggestion-card-current[aria-disabled="true"] .ride-planning-suggestion-details {
    color: #ffd58a;
}

body.whenride-dark .ride-planning-suggestion-card-current-situation,
body.whenride-dark .ride-planning-suggestion-card-current-situation:hover,
body.whenride-dark .ride-planning-suggestion-card-current-situation:focus {
    border-color: #f0ad4e;
    background: #4a3512;
    color: #fff2d5;
}

body.whenride-dark .ride-planning-suggestion-card-current-situation .ride-planning-suggestion-details,
body.whenride-dark .ride-planning-suggestion-current-badge {
    color: #ffd58a;
}

body.whenride-dark .ride-planning-suggestion-card-current-unsafe,
body.whenride-dark .ride-planning-suggestion-card-current-unsafe:hover,
body.whenride-dark .ride-planning-suggestion-card-current-unsafe:focus {
    border-color: #f0ad4e;
    background: #4a3512;
    color: #fff2d5;
}

body.whenride-dark .ride-planning-suggestion-warning {
    color: #ffd58a;
}

body.whenride-dark .ride-planning-no-suggestion-summary {
    border-color: #f0ad4e;
    background: #4a3512;
    color: #fff2d5;
}

body.whenride-dark .ride-planning-suggestion-card-combi {
    border-color: #63c985;
    background: #1d3428;
}

body.whenride-dark .ride-planning-suggestion-combi {
    color: #8ee3a2;
}

.hidden {
	visibility: hidden;
}

.bg-circle-close:after {
    content: '';
    display: block;
    width: 100%;
    background-color: #6c757d;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 3px;
    z-index: -1;
    padding-top: 100%;
}

.no-select{
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.search-result {
    border-radius: 8px;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.search-result:hover,
.search-result.bg-primary,
.google-result:hover,
.google-result.bg-primary {
    border-radius: 8px !important;
}

.overflow-hidden {
	overflow: hidden !important;
}

.text-small {
	font-size: .875rem;
}

.bottomBarBtn {
	min-width:80px;
	border: none;
}

.vis-left.vis-panel.vis-vertical-scroll {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.vis-left.vis-panel.vis-vertical-scroll::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.vis-tooltip {
	transform: translate(3em,-3em) !important;
}.vis-tooltip:hover {
	transform: translate(3em,-3em) !important;
}

.bg-blue {
    background-color: #55b6ac!important;
}

#mainContentTitle {
    color: #86b265 !important;
}

#mainContentTitle i {
    color: inherit;
}

.form-control,
.custom-select,
.selectr-selected,
.selectr-input,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input.whenride-24h-input,
select {
    border: 1px solid #d9e0e5 !important;
    border-radius: 10px !important;
    background-color: #ffffff;
    color: #18212c;
    box-shadow: none !important;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.form-control:focus,
.custom-select:focus,
.selectr-selected:focus,
.selectr-input:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input.whenride-24h-input:focus,
select:focus {
    border-color: #5cbfb9 !important;
    box-shadow: 0 0 0 3px rgba(92, 191, 185, 0.18) !important;
    outline: none !important;
}

.whenride-24h-picker-trigger {
    cursor: pointer;
}

.whenride-24h-picker-popover {
    background: #ffffff;
    border: 1px solid #d9e0e5;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 33, 44, 0.22);
    padding: 8px;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: #7f8a96;
}

.input-group-text {
    border: 1px solid #d9e0e5 !important;
    background: #f5f8f7 !important;
    color: #5f6b76 !important;
    box-shadow: none !important;
}

button,
.btn,
[type="button"],
[type="submit"],
[type="reset"],
button:hover,
.btn:hover,
[type="button"]:hover,
[type="submit"]:hover,
[type="reset"]:hover,
button:focus,
.btn:focus,
[type="button"]:focus,
[type="submit"]:focus,
[type="reset"]:focus,
button:active,
.btn:active,
[type="button"]:active,
[type="submit"]:active,
[type="reset"]:active {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

.input-group-prepend .input-group-text {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

#mainSearchIcon .input-group-text {
    border-radius: 0 !important;
}

#timeLineRangeFilterDate {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group-append .input-group-text,
.input-group-append .btn {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#mainSearch.form-control,
.input-group #mainSearch.form-control {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}

.aside-item .form-group,
.sideItem .form-group {
    margin-bottom: 0.85rem;
}

.aside-item label:not(.sr-only),
.sideItem label:not(.sr-only) {
    color: #344252;
    font-weight: 600;
}

.semiLight {
	background-color: rgb(240, 240, 240) !important;
}
.recurringTimeSpawnPicker-control {
	-webkit-appearance: none !important;
	border-radius: 0 !important;
	border-top: 1px solid #ced4d9;
	border-bottom: 1px solid #ced4d9;
	border-left: 1px solid #ced4d9;
	border-right: 1px solid #ced4d9;
	padding-left: 5px;
	padding-right: 10px;
	border-radius: 3px !important;
	font-size: 14px;
}

.timeSpawnPicker-control {
	-webkit-appearance: none !important;
	border-radius: 0 !important;
	border-top: 1px solid #ced4d9;
	border-bottom: 1px solid #ced4d9;
	border-left: 0px;
	border-right: 1px solid #ced4d9;
	padding-left: 10px;
	padding-right: 10px;
}

.timeLineRangeFilter-control {
	-webkit-appearance: none !important;
	border-radius: 0 !important;
	border-top: 1px solid #ced4d9;
	border-bottom: 1px solid #ced4d9;
	border-left: 0px;
	border-right: 1px solid #ced4d9;
	padding-top:6px;
	padding-bottom:6px;
	padding-left: 10px;
	padding-right: 12px;
	background-color: white;
}

.navBar1 {
	position: fixed;
	display: inline-block;
	box-sizing: border-box;
	/*background-color: #7fbb07;*/
	width: 100%;
	bottom: 10px;
	border-radius: 18px;
	left: 10px;

	z-index: 1000;
	cursor: pointer;
}

.navButton{
	display: flex !important;
	justify-content: center;
	flex-direction: column;
	font-size: 0.8em;
	height: 100%;
}

.navicon {
	position: relative;
    display: inline-block;
	text-align: center;
    width: 100% !important;
    font-size: 2em;
	margin-top:3px;
	margin-bottom:5px;
}

.bottom-0 {
    bottom: 0;
}

.right-0 {
    right: 0;
}

.right-100 {
    right: 100%;
}

.min-h-100 {
	min-height: 100% !important;
}

.bg-semiLight {
	background-color: #e5e9ec;
}

[data-section-shown="false"] {
    display: none;
    visibility: hidden;
    right: -100%;
}

[data-section-index="0"] {
    z-index: 1;
}

:not([data-section-index="0"]) {
    z-index: 0;
}

[aria-labelledby="maps-tab"] {
	height: 80vh;
}

[data-loading="true"]:after {
	content: '';
	box-sizing: border-box;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	border: 2px solid var(--light);
	border-top-color: var(--dark);
	animation: spinner .6s linear infinite;
	top: .1375rem;
	position: relative;
	margin-left: .5rem;
}

.loadingBackgroundScreen {
    position:absolute;
    display: inline-block;
    z-index: -2;
}

.mobileBetaText {
	color: #ffffff;
	font-size:12px;
	font-weight:bold;
	padding-top:9px;
}

label, .cursor-pointer {
    cursor: pointer;
}

.cursor-disabled {
    cursor: disabled;
}

.user-item-container{
	font-size: 12px;
}

.gemware-os-menu-item {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 42px;
	padding: 10px 12px !important;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
}

.gemware-os-powered-label {
	display: inline-flex;
	align-items: center;
	color: #6a7280;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.gemware-os-menu-item img {
	height: 20px;
	width: auto;
	display: block;
	flex: 0 0 auto;
}

.theme-mode-switcher {
	display: flex;
	align-items: stretch;
	flex-direction: row;
	gap: 4px;
	width: 100%;
	min-width: 340px;
	box-sizing: border-box;
	padding: 0 !important;
	background: transparent !important;
}

.theme-mode-switcher.dropdown-item:hover,
.theme-mode-switcher.dropdown-item:focus {
	background: transparent !important;
	transform: none;
}

.theme-mode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	height: auto;
	padding: 9px 10px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 8px;
	color: var(--wr-ink, #18212c) !important;
	cursor: pointer;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.theme-mode-button,
.theme-mode-button i,
.theme-mode-button .theme-mode-button-label {
	color: #18212c !important;
}

.theme-mode-button::after {
	content: none;
	display: none;
}

.theme-mode-button-label {
	display: inline-block;
	max-width: none;
	margin-left: 8px;
	opacity: 1;
	overflow: visible;
	color: inherit !important;
	font-size: inherit;
	font-weight: inherit;
}

.theme-mode-button:hover,
.theme-mode-button:focus {
	background: #f2f6f4 !important;
	color: #18212c !important;
	outline: none;
	transform: none;
}

.theme-mode-button:hover i,
.theme-mode-button:focus i,
.theme-mode-button:hover .theme-mode-button-label,
.theme-mode-button:focus .theme-mode-button-label,
.theme-mode-button.active i,
.theme-mode-button.active .theme-mode-button-label {
	color: #18212c !important;
}

.theme-mode-button.active {
	background: #e8f3f2 !important;
	color: #18212c !important;
	box-shadow: inset 3px 0 0 #0f8f7f;
}

body.whenride-dark .theme-mode-button {
	background: transparent !important;
	color: #e7edf4 !important;
}

body.whenride-dark .theme-mode-button:hover,
body.whenride-dark .theme-mode-button:focus {
	background: #182331 !important;
	color: #e7edf4 !important;
}

body.whenride-dark .theme-mode-button.active {
	background: #223044 !important;
	color: #e7edf4 !important;
	box-shadow: inset 3px 0 0 #62bbb2;
}

body.whenride-dark .theme-mode-button.active:hover,
body.whenride-dark .theme-mode-button.active:focus {
	background: #223044 !important;
	color: #e7edf4 !important;
}

.user-directory {
	width: 100%;
	padding: 14px;
	color: #17212b;
}

.user-directory-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px;
	margin-bottom: 14px;
	background: #ffffff;
	border: 1px solid #dfe7ec;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(24, 33, 44, 0.08);
}

.user-directory-search {
	position: relative;
	flex: 1 1 280px;
	min-width: 220px;
}

.user-directory-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7886;
	pointer-events: none;
}

.user-directory-search .form-control {
	height: 42px;
	padding-left: 36px;
	border-color: #d8e1e7;
	border-radius: 6px;
	box-shadow: none;
}

.user-directory-role-filter {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 8px;
}

.user-overview-topbar-filters {
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

#mainSearchRadios .user-directory-role-filter {
	align-items: center;
	gap: 6px;
}

#mainSearchRadios .user-role-filter {
	min-height: 30px;
	padding: 4px 8px;
}

#mainSearchRadios .user-directory-count {
	align-self: center;
}

.user-role-filter {
	--user-role-filter-color: #8795a1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 6px 9px;
	margin: 0;
	background: var(--user-role-filter-color);
	border: 1px solid var(--user-role-filter-color);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	opacity: 0.42;
	transition: opacity 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.user-role-filter-active {
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(24, 33, 44, 0.08);
}

.user-role-filter:hover,
.user-role-filter:focus-within {
	opacity: 1;
	transform: translateY(-1px);
}

.user-role-filter input {
	margin: 0;
	accent-color: currentColor;
}

.user-role-section-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #8795a1;
}

.user-role-section-customer .user-role-section-dot {
	background: #62bbb2;
}

.user-role-section-admin .user-role-section-dot {
	background: #7c5cc4;
}

.user-role-section-planning .user-role-section-dot {
	background: #2f6fed;
}

.user-role-section-driver .user-role-section-dot {
	background: #d48b2a;
}

.user-role-filter-customer {
	--user-role-filter-color: #62bbb2;
}

.user-role-filter-admin {
	--user-role-filter-color: #7c5cc4;
}

.user-role-filter-planning {
	--user-role-filter-color: #2f6fed;
}

.user-role-filter-driver {
	--user-role-filter-color: #d48b2a;
}

.user-directory-count {
	flex: 0 0 auto;
	color: #62707e;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.user-directory-sections {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.user-role-section {
	width: 100%;
}

.user-role-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.user-role-section-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.user-role-section-title h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #17212b;
}

.user-role-section-count {
	color: #62707e;
	font-size: 12px;
	font-weight: 700;
}

.user-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
}

.user-directory-card {
	min-height: 142px;
	padding: 12px;
	background: #ffffff;
	border: 1px solid #dfe7ec;
	border-radius: 8px;
	box-shadow: 0 5px 16px rgba(24, 33, 44, 0.07);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.user-directory-card:hover {
	border-color: #62bbb2;
	box-shadow: 0 10px 24px rgba(24, 33, 44, 0.12);
	transform: translateY(-1px);
}

.user-directory-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.user-directory-card-title {
	min-width: 0;
}

.user-directory-name {
	color: #17212b;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.user-directory-username {
	margin-top: 2px;
	color: #6a7784;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.user-directory-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 10px;
}

.user-role-badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 3px 7px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.user-role-badge-customer {
	background: rgba(98, 187, 178, 0.16);
	color: #26746c;
}

.user-role-badge-admin {
	background: rgba(124, 92, 196, 0.15);
	color: #60449f;
}

.user-role-badge-planning {
	background: rgba(47, 111, 237, 0.14);
	color: #2458bd;
}

.user-role-badge-driver {
	background: rgba(212, 139, 42, 0.17);
	color: #8a570f;
}

.user-role-badge-other {
	background: rgba(98, 112, 126, 0.14);
	color: #4b5865;
}

.user-directory-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
	color: #3f4d5a;
	font-size: 12px;
	line-height: 1.3;
}

.user-directory-detail {
	overflow-wrap: anywhere;
}

.user-directory-detail-muted {
	color: #71808e;
	font-style: italic;
}

.user-role-section-empty,
.user-directory-empty {
	padding: 14px;
	background: #f5f8fa;
	border: 1px dashed #c9d5dd;
	border-radius: 8px;
	color: #657381;
	font-size: 13px;
}

@media (max-width: 900px) {
	.user-directory-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.user-directory-search {
		flex-basis: auto;
		min-width: 0;
	}

	.user-directory-count {
		white-space: normal;
	}
}

body.whenride-dark .user-directory {
	color: #e7edf4;
}

body.whenride-dark .user-directory-toolbar,
body.whenride-dark .user-directory-card {
	background: #151c26;
	border-color: #2a3442;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

body.whenride-dark .user-role-section-empty,
body.whenride-dark .user-directory-empty {
	background: #1d2632;
	border-color: #324052;
	color: #dce6ee;
}

body.whenride-dark .user-role-filter,
body.whenride-dark #mainSearchRadios .user-role-filter {
	color: #ffffff;
}

body.whenride-dark .user-directory-search .form-control {
	background: #101722;
	border-color: #324052;
	color: #e7edf4;
}

body.whenride-dark .user-role-section-title h3,
body.whenride-dark .user-directory-name {
	color: #f2f6fa;
}

body.whenride-dark .user-directory-username,
body.whenride-dark .user-directory-count,
body.whenride-dark .user-role-section-count,
body.whenride-dark .user-directory-details {
	color: #a8b5c2;
}

#mainLegenda {

}

.smartTable {
    width: 100%;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:70px;
}

.smartTableItem {
	display: inline-block;
    width: 100%;
	padding-top:5px;
	padding-bottom:5px;
	margin-bottom:5px;
	font-size:14px;
	padding-left:5px;
	padding-right:5px;
	border-radius:5px;
}

/*Radio buttons*/

.radioContainer {
	display: inline-block;
	position: relative;
	cursor: pointer;
	font-size: 12px;
	margin-bottom: 0px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.cursorPointer {
    cursor: pointer;
}

.radioContainer input {
	position: relative;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.radioContainer label {
	position: relative;
	padding-left: 20px;
	margin-right: 20px;
}

#confirmationAlert {
	margin-top:200px;
	z-index: 100000;
}
.radioContainer:hover input~.radio {
	box-shadow: inset 0 0 0 150vw rgba(0, 0, 0, 0.2);
}

.radio:hover {
	box-shadow: inset 0 0 0 150vw rgba(0, 0, 0, 0.2);
}

.radioContainer input:checked~.radio {
	box-shadow: inset 0 0 0 150vw rgba(0, 0, 0, 0.0);
}

.radioContainer input:checked~.radio:after {
	display: block;
}

.radioContainer input:checked~.radio:after {
	display: block;
}

.radioContainer .radio:after {
	left: 30%;
	top: 30%;
	width: 7px;
	height: 7px;
	border: solid white;
	border-radius: 50%;
	background: #eee;
}

.radio {
	transition-duration: 0.1s;
	position: absolute;
	border-radius: 50%;
	top: 0;
	left: 0;
	height: 17px;
	width: 17px;
	background-color: #9f9f9f;
	box-shadow: inset 0 0 0 150vw rgba(0, 0, 0, 0.5);
}

.radio:after {
  content: "";
  position: absolute;
  display: none;
}

.alert {
	position:relative;
    margin-bottom: 7px;
	padding-left:0px;
	padding-right:0px;
	width:300px;
	padding-top:10px;
	padding-bottom:9px;
	border-right: 1px solid rgba(58, 58, 58, 0.575);
    border-top-left-radius: : 0px;
    border-bottom-left-radius: : 0px;
    border-top-right-radius: : 0px;
    border-bottom-right-radius: : 0px;
	z-index: 1040 !important;
}


#alertsWrapper {
    position:fixed;
    top: 0px;
	width:auto;
    padding-left:10px;
    padding-right:10px;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: transparent;
    box-shadow: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border-top-left-radius: : 0px;
    border-bottom-left-radius: : 0px;
    border-top-right-radius: : 0px;
    border-bottom-right-radius: : 0px;
    transition-duration: 0.5s;
    z-index: 10100 !important;
}
#alertsList {
	display: flex;
	overflow-x: scroll;
	overflow-y: hidden;
}
#alertsWrapperClose {
	visibility: hidden;
	position: absolute;
	right:25px;
	padding:5px;
	font-size:18px;
	overflow-x: hidden;
	overflow-y: auto;
	bottom:0px;
	cursor:pointer;
}

.tabsBtn {
    box-shadow: inset 0 0 0 150vw rgba(255, 255, 255, 0.1);
    border:0;
    color: white;
    cursor: pointer;
    display:inline-block;
    width:auto;
    font-size: 17px
    padding-left:15px;
    border-radius:3px;
    padding-left:15px;
    padding-right:15px;
    padding-bottom:2px;
    background-color: #5cb87a;
    user-select: none;
     -moz-user-select: none;
     -khtml-user-select: none;
     -webkit-user-select: none;
     -o-user-select: none;
}

.tabsBtn:hover {
    box-shadow: inset 0 0 0 150vw rgba(255, 255, 255, 0.2);
}

.tabsBtn:active {
    box-shadow: inset 0 0 0 150vw rgba(255, 255, 255, 0.6);
}

.tabsBtns .active{
    box-shadow: inset 0 0 0 150vw rgba(0, 0, 0, 0.5);
}

#unplanned-rides-body {
    right: 5px !important; /* 5px vanaf de rechter schermrand, ongeacht topbar-transform */
    z-index: 10001;
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden !important;
}

/* Live systeemstatus rechtsonderin: toont waar het systeem mee bezig is. */
#wr-system-status {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
    padding: 11px 15px;
    border-radius: 12px;
    background: #1f2733;
    color: #eef2f7;
    box-shadow: 0 8px 26px rgba(10, 20, 30, 0.28);
    font-size: 13.5px;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

#wr-system-status.wr-system-status-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#wr-system-status .wr-system-status-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    font-size: 18px;
}

#wr-system-status.wr-system-status-busy .wr-system-status-icon { color: #8fc44f; }
#wr-system-status.wr-system-status-done .wr-system-status-icon { color: #6fcf3f; }
#wr-system-status.wr-system-status-error .wr-system-status-icon { color: #ffb020; }

#wr-system-status .wr-system-status-text {
    flex: 1 1 auto;
}

#unplanned-rides-body-content {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* "Rooster aanvragen"-paneel op hetzelfde toptier-niveau als de andere panelen. */
#availibility-requests-body {
    right: 5px !important; /* flush rechts, ongeacht topbar-transform */
    z-index: 10001;
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden !important;
}

#availibility-requests-body h3 {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

#availibility-requests-body-content {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border: 0;
}

#availibility-requests-body .list-group-item {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 12px;
    margin-bottom: 6px;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

#availibility-requests-body .list-group-item:last-child {
    margin-bottom: 0;
}

#availibility-requests-body .list-group-item p {
    font-weight: 600;
}

#availibility-requests-body .list-group-item small {
    color: #6b7787;
}

/* Nette, gecentreerde lege staat met icoon */
#availibility-requests-body .availability-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    color: #8a95a3;
    text-align: center;
    font-size: 0.95rem;
}

#availibility-requests-body .availability-empty i {
    font-size: 1.6rem;
    opacity: 0.6;
}

body.whenride-dark #availibility-requests-body .list-group-item {
    border-color: #2a3442;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.whenride-dark #availibility-requests-body .list-group-item:hover {
    background-color: #1c2530;
    border-color: #38465a;
}

body.whenride-dark #availibility-requests-body .availability-empty {
    color: #8a95a3;
}


.mainContent {
	margin-top: 45px;
	height: calc(100% - 45px); /* Minus topBar height */
}

.main-fab-area {
	right:10px;
	bottom:0px;
}

#main-fab {
    z-index: 1031;
    pointer-events: auto;
}

#main-fab-button::after {
	display: none !important;
	cursor: pointer;
	bottom:5px !important;
}

#main-fab2-button {
	height: 100%;
	float:right;
}
#main-fab2-button::after {
	display: none !important;
	cursor: pointer;
}

#main-fab[data-offset-placement="true"] {
    right: var(--main-fab-right-offset, 10px) !important;
}
#main-fab2[data-offset-placement="true"] {
    right: 25%;
}

#dashboard-items-notice {
	z-index: -1;
}

#aside-container {
    top: 0;
    right: 0;
    left: 0;
    padding: 4px 0 8px;
    pointer-events: none;
    box-shadow: none;
    margin-top: 45px;
    height: calc(100vh - 35px) !important;
}

#aside-container.aside-dock-left {
    left: 0;
    right: auto;
    padding: 4px 0 8px 8px;
}

.aside-items {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    right: 4px;
    max-width: none;
    justify-content: flex-end;
    align-content: flex-start;
    flex-wrap: nowrap;
    gap: 3px;
    padding-right: 4px;
    pointer-events: none;
    transition: padding-right 0.2s ease;
}

.aside-items-right {
    right: 4px;
    z-index: 12;
}

.aside-items-left {
    left: 4px;
    right: 4px;
    z-index: 10;
    justify-content: flex-start;
    padding-right: 4px;
    padding-left: 4px;
    transition: padding-left 0.2s ease;
}

#aside-container.aside-dock-left .aside-items {
    justify-content: flex-start;
    padding-right: 4px;
    padding-left: 4px;
    transition: padding-left 0.2s ease;
}

.aside-items.aside-items-has-overflow {
    padding-right: 84px;
}

.aside-items-left.aside-items-has-overflow {
    padding-right: 4px;
    padding-left: 84px;
}

#aside-container.aside-dock-left .aside-items.aside-items-has-overflow {
    padding-right: 4px;
    padding-left: 84px;
}

.aside-item {
   position: relative;
   box-sizing: border-box;
   display: flex;
   flex-direction: column;
   width: min(420px, calc(100vw - 24px));
   margin: 0 0 3px 3px;
   pointer-events: auto;
   background: var(--aside-surface-bg, #f4f7fb) !important;
   border: 1px solid var(--aside-surface-border, #c7ced4) !important;
   border-radius: 18px;

   /* Stronger background shadow */
   box-shadow:
      0 18px 45px #0b122046,
      0 6px 18px rgba(11, 18, 32, 0.12);

   -webkit-overflow-scrolling: touch;
   overflow: hidden;

   /* Full screen minus header height(45px) */
   max-height: calc(100vh - 70px);

   animation: wrAsideSlideIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.aside-item::before {
   content: none;
   position: absolute;
   top: 8px;
   left: 50%;
   z-index: 4;
   width: 44px;
   height: 4px;
   border-radius: 999px;
   background: rgba(83, 100, 116, 0.28);
   transform: translateX(-50%);
   pointer-events: none;
}

.aside-item.aside-dock-dragging {
   opacity: 0.92;
   transform: scale(0.99);
   cursor: grabbing !important;
}

.aside-item.aside-layout-animating {
   will-change: transform, opacity;
   pointer-events: none;
}

.aside-item.aside-item-already-open {
   animation: wrAsideAlreadyOpen 1.15s ease-out both !important;
   border-color: #5cbfb9 !important;
   box-shadow:
      0 0 0 4px rgba(92, 191, 185, 0.24),
      0 18px 45px #0b122046,
      0 6px 18px rgba(11, 18, 32, 0.12);
}

.aside-search-container {
   background: #303946 !important;
   border-color: #242c37 !important;
   overflow-y: auto !important;
   overflow-x: hidden !important;
   padding-bottom: 0 !important;
}

.aside-search-container > :not(.aside-action-bar) {
   order: 1;
   flex: 0 0 auto;
}

.aside-search-container > .aside-action-bar {
   order: 999;
   position: sticky;
   bottom: 0;
   margin-top: auto;
   background: linear-gradient(180deg, rgba(48, 57, 70, 0.78), rgba(48, 57, 70, 0.96));
   box-shadow: 0 -12px 24px rgba(48, 57, 70, 0.68);
}

.aside-search-container .search-result {
   border-color: rgba(255, 255, 255, 0.22) !important;
}

.aside-search-container .search-result:hover,
.aside-search-container .search-result.bg-primary {
   background-color: #62bbb2 !important;
}

.permanent-location-add-btn {
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   width: 30px;
   height: 30px;
   margin-left: 8px !important;
   padding: 0 !important;
   border-radius: 999px !important;
   color: #ffffff !important;
   font-size: 1.05rem;
   line-height: 1;
   vertical-align: middle;
   opacity: 1 !important;
   cursor: pointer;
}

.permanent-location-add-btn.fas,
.permanent-location-add-btn.far,
.permanent-location-add-btn.fab {
   font-family: "Font Awesome 5 Free" !important;
   font-weight: 900 !important;
}

.permanent-location-add-btn:hover,
.permanent-location-add-btn:focus {
   color: #62bbb2 !important;
   transform: scale(1.08) !important;
}

.aside-item > form,
.aside-item > h2,
.aside-item > h3,
.aside-item > p,
.aside-item > div:not(.aside-action-bar) {
   background: transparent;
}

.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden) {
    background: var(--aside-surface-bg, #f4f7fb) !important;
    border-color: var(--aside-surface-border, #c7ced4) !important;
}

.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden),
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden),
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden) {
    background: var(--aside-surface-bg-dark, #151c26) !important;
    border-color: var(--aside-surface-border-dark, #344154) !important;
    color: var(--aside-surface-text-dark, #e7edf4);
}

.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"],
.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"],
.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent)
        ),
        var(--aside-surface-bg, #f4f7fb) !important;
}

.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"],
.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"],
.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]),
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"],
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"],
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]),
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"],
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"],
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent)
        ),
        var(--aside-surface-bg-dark, #151c26) !important;
    border-color: var(--aside-surface-border-dark, #344154) !important;
    color: var(--aside-surface-text-dark, #e7edf4);
}

.aside-item[data-linked="true"],
.aside-item-linked {
    position: relative;
    z-index: 1;
    margin-right: 0;
    max-height: calc(100vh - 70px);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(11, 18, 32, 0.08);
    transform-origin: right center;
    animation: none !important;
}

#aside-container.aside-dock-left .aside-item[data-linked="true"],
#aside-container.aside-dock-left .aside-item-linked {
    margin-right: 0 !important;
    margin-left: 0;
    border-radius: 18px;
    transform-origin: left center;
}

.aside-items-left .aside-item[data-linked="true"],
.aside-items-left .aside-item-linked {
    margin-right: 0 !important;
    margin-left: 0;
    border-radius: 18px;
    transform-origin: left center;
}

.aside-item[data-linked="true"]::after,
.aside-item-linked::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -14px;
    bottom: 22px;
    width: 14px;
    background: linear-gradient(180deg, transparent, #c7ced4 18%, #c7ced4 82%, transparent);
    pointer-events: none;
}

.dark-mode .aside-item[data-linked="true"]::after,
.dark-mode .aside-item-linked::after,
body.dark-mode .aside-item[data-linked="true"]::after,
body.dark-mode .aside-item-linked::after,
body.whenride-dark .aside-item[data-linked="true"]::after,
body.whenride-dark .aside-item-linked::after {
    background:
        linear-gradient(
            180deg,
            transparent,
            var(--aside-surface-border-dark, #344154) 18%,
            var(--aside-surface-border-dark, #344154) 82%,
            transparent
        );
}

#aside-container.aside-dock-left .aside-item[data-linked="true"]::after,
#aside-container.aside-dock-left .aside-item-linked::after {
    right: auto;
    left: -14px;
}

.aside-items-left .aside-item[data-linked="true"]::after,
.aside-items-left .aside-item-linked::after {
    right: auto;
    left: -14px;
}

.aside-item[data-linked="true"] + .aside-item,
.aside-item-linked + .aside-item,
.aside-item-has-linked {
    position: relative;
    z-index: 2;
}

.aside-item.aside-item-has-linked:not(.aside-overflow-tab):is(
    [data-aside-ride-status="2"],
    [data-aside-ride-type="normalCombi"],
    [data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"])
) {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent)
        ),
        var(--aside-surface-bg, #f4f7fb) !important;
    border-color: var(--aside-surface-border, #c7ced4) !important;
    box-shadow:
        0 18px 45px #0b122046,
        0 6px 18px rgba(11, 18, 32, 0.12);
}

body.dark-mode .aside-item.aside-item-has-linked:not(.aside-overflow-tab),
body.whenride-dark .aside-item.aside-item-has-linked:not(.aside-overflow-tab) {
    background: var(--aside-surface-bg-dark, #151c26) !important;
    border-color: var(--aside-surface-border-dark, #344154) !important;
    color: var(--aside-surface-text-dark, #e7edf4);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.42),
        0 6px 18px rgba(0, 0, 0, 0.26);
}

.dark-mode .aside-item.aside-item-has-linked:not(.aside-overflow-tab):is(
    [data-aside-ride-status="2"],
    [data-aside-ride-type="normalCombi"],
    [data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"])
),
body.dark-mode .aside-item.aside-item-has-linked:not(.aside-overflow-tab):is(
    [data-aside-ride-status="2"],
    [data-aside-ride-type="normalCombi"],
    [data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"])
),
body.whenride-dark .aside-item.aside-item-has-linked:not(.aside-overflow-tab):is(
    [data-aside-ride-status="2"],
    [data-aside-ride-type="normalCombi"],
    [data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"])
) {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent)
        ),
        var(--aside-surface-bg-dark, #151c26) !important;
}

.aside-item[data-linked="true"] + .aside-item,
.aside-item-linked + .aside-item {
    margin-left: 0;
}

#aside-container.aside-dock-left .aside-item[data-linked="true"] + .aside-item,
#aside-container.aside-dock-left .aside-item-linked + .aside-item {
    margin-left: 0;
}

#aside-container.aside-dock-left .aside-item.aside-item-has-linked + .aside-item-linked,
#aside-container.aside-dock-left .aside-item-linked + .aside-item-linked {
    margin-left: 0;
}

.aside-items-left .aside-item[data-linked="true"] + .aside-item,
.aside-items-left .aside-item-linked + .aside-item {
    margin-left: 0;
}

.aside-items-left .aside-item.aside-item-has-linked + .aside-item-linked,
.aside-items-left .aside-item-linked + .aside-item-linked {
    margin-left: 0;
}

.aside-items > .aside-item.aside-overflow-tab,
.aside-items > .aside-item.aside-overflow-tab[data-linked="true"],
.aside-items > .aside-item.aside-overflow-tab.aside-item-linked {
    position: absolute !important;
    top: calc(var(--aside-overflow-tab-index, 0) * 78px);
    right: 4px;
    flex: 0 0 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    align-self: flex-start;
    margin: 0 0 3px 3px !important;
    padding: 0 !important;
    cursor: pointer;
    border: 0 !important;
    border-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    background-color: var(--aside-overflow-tab-bg, #62bbb2) !important;
    box-shadow: 0 8px 18px rgba(34, 96, 58, 0.24);
    transform: translateX(0);
    transform-origin: center right;
    transition: width 0.2s ease, min-width 0.2s ease, max-width 0.2s ease, height 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    animation: wrAsideCollapseToTab 0.24s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    z-index: 6;
}

.aside-items > .aside-item.aside-overflow-tab.ride-form-container,
.aside-items > .aside-item.aside-overflow-tab.ride-form-container[data-aside-ride-type],
.aside-items > .aside-item.aside-overflow-tab.ride-form-container[data-aside-ride-end-time] {
    background: var(--aside-overflow-tab-bg, #62bbb2) !important;
}

#aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab,
#aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab[data-linked="true"],
#aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab.aside-item-linked {
    left: 4px;
    right: auto;
    margin: 0 3px 3px 0 !important;
    transform-origin: center left;
}

.aside-items-left > .aside-item.aside-overflow-tab,
.aside-items-left > .aside-item.aside-overflow-tab[data-linked="true"],
.aside-items-left > .aside-item.aside-overflow-tab.aside-item-linked {
    left: 4px;
    right: auto;
    margin: 0 3px 3px 0 !important;
    transform-origin: center left;
}

.aside-items > .aside-item.aside-overflow-tab > * {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.aside-items > .aside-item.aside-overflow-linked-hidden {
    display: none !important;
}

.aside-items > .aside-item.aside-overflow-tab::before {
    content: attr(data-aside-tab-icon);
    position: absolute;
    top: 8px;
    left: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: "Font Awesome 5 Free";
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.aside-items > .aside-item.aside-overflow-tab::after {
    content: attr(data-aside-tab-title-compact);
    position: absolute;
    top: auto;
    right: 7px;
    bottom: 11px;
    left: 7px;
    width: auto;
    max-height: 26px;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: pre-line;
    background: transparent;
    pointer-events: none;
}

.aside-items > .aside-item.aside-overflow-tab:hover,
.aside-items > .aside-item.aside-overflow-tab:focus {
    background-color: var(--aside-overflow-tab-bg-hover, #55aaa2) !important;
    transform: translateX(-8px) scale(1.04);
    box-shadow: 0 12px 26px rgba(34, 96, 58, 0.32);
}

#aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab:hover,
#aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab:focus {
    transform: translateX(8px) scale(1.04);
}

.aside-items-left > .aside-item.aside-overflow-tab:hover,
.aside-items-left > .aside-item.aside-overflow-tab:focus {
    transform: translateX(8px) scale(1.04);
}

.dark-mode .aside-items > .aside-item.aside-overflow-tab,
body.dark-mode .aside-items > .aside-item.aside-overflow-tab,
body.whenride-dark .aside-items > .aside-item.aside-overflow-tab {
    background-color: var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.dark-mode .aside-items > .aside-item.aside-overflow-tab:hover,
.dark-mode .aside-items > .aside-item.aside-overflow-tab:focus,
body.dark-mode .aside-items > .aside-item.aside-overflow-tab:hover,
body.dark-mode .aside-items > .aside-item.aside-overflow-tab:focus,
body.whenride-dark .aside-items > .aside-item.aside-overflow-tab:hover,
body.whenride-dark .aside-items > .aside-item.aside-overflow-tab:focus {
    background-color: var(--aside-overflow-tab-bg-hover-dark, var(--aside-overflow-tab-bg-hover, #55aaa2)) !important;
}

.dark-mode .aside-items > .aside-item.aside-overflow-tab::after,
body.dark-mode .aside-items > .aside-item.aside-overflow-tab::after,
body.whenride-dark .aside-items > .aside-item.aside-overflow-tab::after {
    color: #ffffff;
}

@keyframes wrAsideCollapseToTab {
    from {
        opacity: 0.85;
        transform: translateX(-22px) scale(1.04);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes wrAsideAlreadyOpen {
    0% {
        transform: scale(1);
    }

    18% {
        transform: scale(1.018);
    }

    42% {
        transform: scale(1);
    }

    68% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

.aside-item-no-enter,
.aside-item-no-enter.aside-item-linked,
.aside-item-no-enter[data-linked="true"] {
    animation: none !important;
}

.sideItemsContainer {
    position: fixed;
    top: 45px;
    right: 0;
    bottom: 0;
    z-index: 1040;
    pointer-events: none;
}

.sideItemsWrapper {
    height: calc(100vh - 45px);
    max-width: 100vw;
    padding: 4px 8px 12px 3px;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: none !important;
    scroll-padding-top: 12px;
}

.sideItemsWrapper > .sideItem,
.subItems > .sideItem {
    margin: 0 0 3px 3px !important;
    overflow: hidden !important;
    border: 1px solid #c7ced4 !important;
    border-radius: 18px !important;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(11, 18, 32, 0.10);
    pointer-events: auto !important;
    animation: wrAsideSlideIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sideItemMainContent,
.sideItemMainContentFlexDiv,
.sideItemContentDiv {
    background: #ffffff !important;
    pointer-events: auto !important;
}

.sideItemMainContent {
    border-radius: 18px;
    overflow: hidden;
}

.sideItemMainContentFlexDiv {
    border-radius: 18px;
}

.sideItemContentDiv,
.sideItemContent {
    border-radius: 16px;
}

.sideItemContentDiv {
    padding: 12px;
}

.aside-item *,
.sideItem *,
.sideItemContent,
.sideItemContentDiv {
    max-width: 100%;
}

.aside-item form,
.sideItem form {
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.aside-item,
.aside-item form,
.sideItemsWrapper,
.sideItem,
.sideItem form,
.sideItemContent,
.sideItemContentDiv {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.aside-item::-webkit-scrollbar,
.aside-item form::-webkit-scrollbar,
.sideItemsWrapper::-webkit-scrollbar,
.sideItem::-webkit-scrollbar,
.sideItem form::-webkit-scrollbar,
.sideItemContent::-webkit-scrollbar,
.sideItemContentDiv::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.aside-action-bar {
    position: relative;
    bottom: 0;
    flex: 0 0 auto;
    z-index: 20;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: calc(100% + 2rem);
    margin: auto -0rem 0;
    padding: 8px 0px 10px;
    background: var(--aside-surface-bg, #f8f9fa) !important;
    border-top: 0;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    overflow: visible;
}

/* Plan-precheck ("Geen plek op deze tijd…") als volle-breedte rij bovenaan de
   actiebalk, boven de knoppen. Alleen wanneer de melding zichtbaar is (has-plan-precheck)
   mag de balk wrappen, zodat de knoppenrij normaal op één regel blijft. */
.aside-action-bar.has-plan-precheck {
    flex-wrap: wrap;
}

.aside-action-bar > .ride-plan-precheck {
    order: -1;
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 6px;
    padding: 0 6px;
}

.dark-mode .aside-action-bar,
body.dark-mode .aside-action-bar,
body.whenride-dark .aside-action-bar {
    background: var(--aside-surface-bg-dark, #151c26) !important;
    color: var(--aside-surface-text-dark, #e7edf4);
}

.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"] > .aside-action-bar,
.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"] > .aside-action-bar,
.aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) > .aside-action-bar {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg, #62bbb2) 10%, transparent)
        ),
        var(--aside-surface-bg, #f8f9fa) !important;
}

.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"] > .aside-action-bar,
.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"] > .aside-action-bar,
.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) > .aside-action-bar,
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"] > .aside-action-bar,
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"] > .aside-action-bar,
body.dark-mode .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) > .aside-action-bar,
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-status="2"] > .aside-action-bar,
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-type="normalCombi"] > .aside-action-bar,
body.whenride-dark .aside-items > .aside-item:not(.aside-overflow-tab):not(.aside-overflow-linked-hidden).ride-form-container[data-aside-ride-end-time]:not([data-aside-ride-end-time=""]):not([data-aside-ride-end-time="0"]) > .aside-action-bar {
    background:
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent),
            color-mix(in srgb, var(--aside-overflow-tab-bg-dark, var(--aside-overflow-tab-bg, #62bbb2)) 14%, transparent)
        ),
        var(--aside-surface-bg-dark, #151c26) !important;
    color: var(--aside-surface-text-dark, #e7edf4);
}

.aside-action-bar .aside-action-button {
    margin: 0 !important;
    min-height: 34px;
    padding: 0.42rem 0.72rem;
    border-radius: 8px;
}

.whenride-action-locked,
.whenride-action-locked:hover,
.whenride-action-locked:focus,
.whenride-action-locked:active {
    cursor: wait !important;
    opacity: 0.68 !important;
    pointer-events: none !important;
    transform: none !important;
}

.aside-action-window-controls {
    margin-left: auto;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.aside-action-bar .aside-action-icon-button {
    position: relative;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
    padding: 0 !important;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
    --aside-action-tooltip-bg: #62bbb2;
}

.aside-action-bar .aside-action-icon-button.btn-primary {
    --aside-action-tooltip-bg: #62bbb2;
}

.aside-action-bar .aside-action-icon-button.btn-info {
    --aside-action-tooltip-bg: #17a2b8;
}

.aside-action-bar .aside-action-icon-button.btn-warning {
    --aside-action-tooltip-bg: #ffc107;
}

.aside-action-bar .aside-action-icon-button.btn-danger {
    --aside-action-tooltip-bg: #dc3545;
}

.aside-action-bar .aside-action-icon-button.btn-secondary {
    --aside-action-tooltip-bg: #6c757d;
}

.aside-action-bar .aside-action-icon-button i {
    flex: 0 0 auto;
    margin: 0 !important;
    color: #ffffff !important;
}

.aside-action-bar .aside-action-icon-button-with-text {
    width: auto;
    min-width: 96px;
    padding: 0 0.78rem !important;
    gap: 6px;
}

.aside-action-visible-label {
    display: inline-block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.aside-action-bar .aside-action-icon-button::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    z-index: 60;
    display: block;
    width: max-content;
    max-width: 180px;
    padding: 0.42rem 0.58rem;
    border-radius: 9px;
    background: var(--aside-action-tooltip-bg);
    box-shadow: 0 8px 18px rgba(11, 18, 32, 0.2);
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.96);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.aside-action-bar .aside-action-icon-button::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    z-index: 61;
    width: 10px;
    height: 10px;
    background: var(--aside-action-tooltip-bg);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 4px) rotate(45deg);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.aside-action-bar .aside-action-icon-button:hover,
.aside-action-bar .aside-action-icon-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.aside-action-bar .aside-action-icon-button:hover::after,
.aside-action-bar .aside-action-icon-button:focus::after {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.aside-action-bar .aside-action-icon-button:hover::before,
.aside-action-bar .aside-action-icon-button:focus::before {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0) rotate(45deg);
}

.aside-action-close {
    margin-left: 0 !important;
    order: 99;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 10px !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.aside-action-minimize {
    margin-left: 0 !important;
    order: 98;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.modal-close-icon-button {
    min-width: 34px;
    width: 34px;
    min-height: 34px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aside-action-close:hover,
.aside-action-close:focus,
.aside-action-close:active,
.modal-close-icon-button,
.modal-close-icon-button:hover,
.modal-close-icon-button:focus,
.modal-close-icon-button:active,
.bg-circle-close,
.bg-circle-close:hover,
.bg-circle-close:focus,
.bg-circle-close:active,
.closeBTN,
.closeBTN:hover,
.closeBTN:focus,
.closeBTN:active {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.aside-item .btn,
.sideItem .btn {
    box-shadow: none !important;
}

.aside-item .btn:hover,
.aside-item .btn:focus,
.sideItem .btn:hover,
.sideItem .btn:focus {
    box-shadow: none !important;
    transform: none;
}

.unplanned-ride-card {
    position: relative;
    border: 2px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
    color: #18212c;
}

.unplanned-ride-card-done {
    background-color: #95d36c !important;
    border-color: #4f8f25;
}

/* Manual rit: opvallende geel-zwarte hazard-rand. Zie ook topbar.css. */
.unplanned-ride-card-manual {
    border: 3px solid #111 !important;
    /* geel-zwart diagonaal streeppatroon (hazard tape) */
    border-image: repeating-linear-gradient(45deg, #facc15 0 6px, #111 6px 12px) 3 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
}

.unplanned-ride-card-actions {
    gap: 6px;
    padding-top: 2px;
}

.ride-card-action {
    position: relative;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    outline: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--ride-card-action-bg, #0f8f7f) !important;
    background-color: var(--ride-card-action-bg, #0f8f7f) !important;
    background-image: none !important;
    box-shadow: none !important;
    transition: filter 0.16s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.ride-card-action.btn,
.ride-card-action.btn-primary,
.ride-card-action.btn-outline-primary {
    background: var(--ride-card-action-bg, #0f8f7f) !important;
    background-color: var(--ride-card-action-bg, #0f8f7f) !important;
    background-image: none !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.ride-card-action i {
    color: #ffffff !important;
    font-size: 1.08rem;
    line-height: 1;
}

.ride-card-action:hover,
.ride-card-action:focus,
.ride-card-action:active,
.ride-card-action.btn:hover,
.ride-card-action.btn:focus,
.ride-card-action.btn:active,
.ride-card-action.btn-primary:hover,
.ride-card-action.btn-primary:focus,
.ride-card-action.btn-primary:active {
    background: var(--ride-card-action-bg, #0f8f7f) !important;
    background-color: var(--ride-card-action-bg, #0f8f7f) !important;
    background-image: none !important;
    border: 0 !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.ride-card-action::after {
    content: attr(data-label);
    position: absolute;
    right: 50%;
    bottom: calc(100% + 8px);
    z-index: 50;
    min-width: max-content;
    max-width: 180px;
    padding: 5px 9px;
    border-radius: 9px;
    background: var(--ride-card-action-tooltip-bg, #62bbb2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(50%) translateY(3px);
    transition: opacity 0.14s ease, transform 0.14s ease;
}

.ride-card-action::before {
    content: '';
    position: absolute;
    right: 50%;
    bottom: calc(100% + 3px);
    z-index: 51;
    width: 8px;
    height: 8px;
    background: var(--ride-card-action-tooltip-bg, #62bbb2);
    pointer-events: none;
    opacity: 0;
    transform: translateX(50%) rotate(45deg);
    transition: opacity 0.14s ease;
}

.ride-card-action:hover::after,
.ride-card-action:focus::after,
.ride-card-action:hover::before,
.ride-card-action:focus::before {
    opacity: 1;
}

.ride-card-action:hover::after,
.ride-card-action:focus::after {
    transform: translateX(50%) translateY(0);
}

.ride-card-action-delete {
    --ride-card-action-bg: #dc3545;
    --ride-card-action-tooltip-bg: #dc3545;
    background-color: #dc3545 !important;
    background-image: none !important;
    border: 0 !important;
}

.ride-card-action-edit {
    --ride-card-action-bg: #17a2b8;
    --ride-card-action-tooltip-bg: #17a2b8;
    background-color: #17a2b8 !important;
    background-image: none !important;
    border: 0 !important;
}

.ride-card-action-plan {
    --ride-card-action-bg: #0f8f7f;
    --ride-card-action-tooltip-bg: #0f8f7f;
    background-color: #0f8f7f !important;
    background-image: none !important;
    border: 0 !important;
}

.dark-mode .unplanned-ride-card,
body.dark-mode .unplanned-ride-card,
body.whenride-dark .unplanned-ride-card {
    background-color: #243746 !important;
    border-color: #4f6474;
    color: #e7edf4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.dark-mode .unplanned-ride-card-start,
body.dark-mode .unplanned-ride-card-start,
body.whenride-dark .unplanned-ride-card-start {
    background-color: #1f4358 !important;
}

.dark-mode .unplanned-ride-card-end,
body.dark-mode .unplanned-ride-card-end,
body.whenride-dark .unplanned-ride-card-end {
    background-color: #513826 !important;
}

.dark-mode .unplanned-ride-card-done,
body.dark-mode .unplanned-ride-card-done,
body.whenride-dark .unplanned-ride-card-done {
    background-color: #284f2d !important;
    border-color: #67a85f;
}

.dark-mode .unplanned-ride-card-manual,
body.dark-mode .unplanned-ride-card-manual,
body.whenride-dark .unplanned-ride-card-manual {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dark-mode .ride-card-action-delete,
body.dark-mode .ride-card-action-delete,
body.whenride-dark .ride-card-action-delete {
    --ride-card-action-bg: #dc3545;
}

.dark-mode .ride-card-action-edit,
body.dark-mode .ride-card-action-edit,
body.whenride-dark .ride-card-action-edit {
    --ride-card-action-bg: #17a2b8;
}

.dark-mode .ride-card-action-plan,
body.dark-mode .ride-card-action-plan,
body.whenride-dark .ride-card-action-plan {
    --ride-card-action-bg: #0f8f7f;
}

body.whenride-dark .ride-card-action,
body.whenride-dark .ride-card-action.btn,
body.whenride-dark .ride-card-action.btn-primary,
body.whenride-dark .ride-card-action.btn-outline-primary,
body.whenride-dark .ride-card-action:hover,
body.whenride-dark .ride-card-action:focus,
body.whenride-dark .ride-card-action:active,
body.whenride-dark .ride-card-action.btn-primary:hover,
body.whenride-dark .ride-card-action.btn-primary:focus,
body.whenride-dark .ride-card-action.btn-primary:active {
    background: var(--ride-card-action-bg, #0f8f7f) !important;
    background-color: var(--ride-card-action-bg, #0f8f7f) !important;
    background-image: none !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.sideItem .subItemControls {
    position: sticky;
    top: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(11, 18, 32, 0.10);
}

.sideItem .subItemControls i {
    color: #5b6572;
    transition: color 0.16s ease, transform 0.16s ease;
}

.sideItem .subItemControls i:hover {
    color: #0b1220;
    transform: translateY(-1px);
}

.sideItemLeftItem {
    margin: 0 3px 3px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 18, 32, 0.14);
}

.sideItemsTaskbar {
    pointer-events: auto;
}

.sideItemTaskbarItem,
.subItemTaskbarItem {
    margin: 0 0 8px 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #7fb048, #5cbfb9) !important;
    box-shadow: 0 10px 26px rgba(11, 18, 32, 0.16);
}

@keyframes wrAsideSlideIn {
    from {
        opacity: 0;
        transform: translateX(42px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes wrAsideLinkedSlideOut {
    from {
        opacity: 1;
        transform: translateX(78px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoekveld bovenin de adressuggesties-overlay; alleen relevant in mobiel (zie de
   @media (max-width: 767px) override hieronder), op desktop blijft het originele
   invoerveld gewoon zichtbaar naast de overlay. Een echt <input>, wit met ronde
   hoeken, zodat het duidelijk aanklikbaar/leesbaar is tegen de donkere overlay. */
.aside-search-query-display {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 12px 12px;
}

.aside-search-query-display > i {
    color: rgba(255, 255, 255, 0.8);
}

.aside-search-query-input {
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2733;
    font-size: 14px;
    line-height: 1.3;
}

.aside-search-query-input::placeholder {
    color: #97a1ae;
}

.aside-search-query-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.45);
}

@media (max-width: 767px) {
    #aside-container {
        padding: 4px;
    }

    /* right:5px !important (voor de desktop-popup) + width:100% (mobiel, via screenSize.js)
       zetten samen de linkerrand 5px buiten het scherm i.p.v. het paneel echt vol-breed te
       tonen. right:0 laat het weer echt de volle schermbreedte innemen. */
    #unplanned-rides-body,
    #availibility-requests-body {
        right: 0 !important;
    }

    .aside-items {
        flex-wrap: nowrap;
    }

    .aside-items.aside-items-has-overflow {
        padding-right: 74px;
    }

    #aside-container.aside-dock-left .aside-items.aside-items-has-overflow {
        padding-right: 4px;
        padding-left: 74px;
    }

    .aside-items.aside-items-has-overflow > .aside-item:not(.aside-overflow-tab) {
        width: calc(100vw - 90px) !important;
        max-width: calc(100vw - 90px) !important;
    }

    .aside-item,
    .sideItemsWrapper > .sideItem,
    .subItems > .sideItem {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        height: calc(100vh - 43px) !important;
        max-height: calc(100vh - 43px) !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 0 4px 0 !important;
        border-radius: 16px !important;
    }

    .aside-item > form,
    .aside-search-container,
    .sideItemsWrapper > .sideItem > form,
    .subItems > .sideItem > form {
        flex: 1 1 auto;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-bottom: 0 !important;
    }

    .aside-action-bar {
        position: relative;
        bottom: 0;
        flex: 0 0 auto;
        margin-top: auto;
        margin-bottom: 0;
    }

    .aside-item[data-linked="true"],
    .aside-item-linked {
        margin-right: 0 !important;
        max-height: calc(100vh - 70px) !important;
        border-radius: 16px !important;
    }

    /* Toont de actuele zoekterm bovenin de adressuggesties-overlay (zie google.js/forms.js
       handleLocationAC) zodat je in mobiel blijft zien wat je typt, ook al dekt de overlay
       daar het echte invoerveld af. */
    .aside-search-query-display {
        display: flex;
    }

    #aside-container.aside-dock-left .aside-item[data-linked="true"],
    #aside-container.aside-dock-left .aside-item-linked {
        margin-right: 0 !important;
        margin-left: 0 !important;
        border-radius: 16px !important;
    }

    .aside-items > .aside-item.aside-overflow-tab,
    .aside-items > .aside-item.aside-overflow-tab[data-linked="true"],
    .aside-items > .aside-item.aside-overflow-tab.aside-item-linked {
        top: calc(var(--aside-overflow-tab-index, 0) * 70px);
        right: 4px;
        flex: 0 0 66px !important;
        width: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        margin: 0 0 4px 4px !important;
        border-radius: 14px !important;
    }

    #aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab,
    #aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab[data-linked="true"],
    #aside-container.aside-dock-left .aside-items > .aside-item.aside-overflow-tab.aside-item-linked {
        left: 4px;
        right: auto;
    }

    .aside-items > .aside-item.aside-overflow-tab::before {
        top: 6px;
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 0.82rem;
    }

    .aside-items > .aside-item.aside-overflow-tab::after {
        right: 6px;
        bottom: 10px;
        left: 6px;
        font-size: 0.47rem;
        max-height: 24px;
    }

    .sideItemsWrapper {
        padding: 4px;
    }

    .rideTableItem.ride-status-normal {
        background-color: #ffffff !important;
        border: 1px solid #d9e0e5;
        color: #18212c !important;
    }

    .rideTableItem.ride-status-normal,
    .rideTableItem.ride-status-normal * {
        color: #18212c !important;
    }
}

.no-bullets{
	list-style: none;
}

.btn.sub-ride-item {
	white-space: normal;
}



.fa-spin-fast {
	animation: fa-spin 1s infinite linear;
}

.fa-spin-slow {
	animation: fa-spin 3s infinite linear;
}

/*The animation bellow is taken from font-awesome.css*/

@-webkit-keyframes fa-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg)
	}
}

@keyframes fa-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}





.permanent-location-results {
	max-height: 30%;
	overflow: auto;
}

.timeline-right-click-menu{
	position: fixed;
	display: none;
	z-index: 2000;
	min-width: 260px;
	max-width: min(360px, calc(100vw - 24px));
	overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #d9e0e5;
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(11, 18, 32, 0.22), 0 6px 18px rgba(11, 18, 32, 0.12);
	color: #18212c;
	font-size: 13px;
}

.timeline-right-click-menu-header {
	padding: 10px 12px;
	background: #303946;
	color: #f5f7fb;
	font-weight: 700;
	line-height: 1.25;
}

.timeline-right-click-menu-row{
    padding: 10px 12px;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.timeline-right-click-menu-row:hover{
    background-color: #62bbb2 !important;
	color: #ffffff;
    cursor: pointer;
}

.timeline-right-click-menu-row-top-border{
	border-top: 1px solid #e6ecef;
}

.timeline-right-click-menu-light-row{
    background-color: white;
}

.timeline-right-click-menu-dark-row{
    background-color: #f5f8f7;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #5e8a05!important;
    box-shadow: none !important;
}

#nav-tabs > li:last-child
{
    float:right;
}

.white-space-wrap {
	white-space: normal !important;
}

.daycare-event-control .daycare-event-select {
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.whenride-dark .daycare-event-control .daycare-event-select {
	background-color: var(--daycare-event-select-bg, #101722) !important;
	color: var(--daycare-event-select-color, #edf4fb) !important;
	border-color: #bcaeba !important;
}

body.whenride-dark .daycare-event-control .daycare-event-select option {
	color: #18212c;
}

.daycare-event-create-row .input-group {
	gap: 6px;
}

.daycare-event-create-row .form-control[type="color"] {
	padding: 2px;
}

/* ── Dagbehandeling: kleurkiezer ─────────────────────────────── */
.daycare-color-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 12px 6px 6px;
	border: 1px solid #dee2e6;
	border-radius: 10px;
	background-color: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.daycare-color-row:focus-within {
	border-color: #62bbb2;
	box-shadow: 0 0 0 3px rgba(98, 187, 178, 0.2);
}

.daycare-color-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 0 0 3px #fff;
	transition: transform 0.12s ease;
	flex: 0 0 auto;
}

.daycare-color-input:hover {
	transform: scale(1.05);
}

.daycare-color-input::-webkit-color-swatch-wrapper {
	padding: 0;
}

.daycare-color-input::-webkit-color-swatch {
	border: none;
	border-radius: 50%;
}

.daycare-color-input::-moz-color-swatch {
	border: none;
	border-radius: 50%;
}

.daycare-color-value {
	font-family: "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #495057;
}

/* ── Dagbehandeling: lijst met evenementen ───────────────────── */
.daycare-event-list-row {
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	transition: background-color 0.15s ease;
}

.daycare-event-list-row:hover {
	background-color: rgba(98, 187, 178, 0.1);
}

.daycare-event-list-row-active {
	background-color: rgba(98, 187, 178, 0.16);
	box-shadow: inset 0 0 0 1px rgba(98, 187, 178, 0.45);
}

.daycare-event-name {
	min-width: 0;
	gap: 10px;
}

.daycare-event-swatch {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* ── Dagbehandeling: bewerk-/verwijderknoppen ────────────────── */
.daycare-event-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.daycare-event-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: none;
	border-radius: 9px;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.daycare-event-action-btn:hover {
	transform: translateY(-1px);
}

.daycare-event-action-btn:active {
	transform: translateY(0);
}

.daycare-event-action-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(98, 187, 178, 0.25);
}

.daycare-event-edit {
	background-color: rgba(98, 187, 178, 0.15);
	color: #2f8f86;
}

.daycare-event-edit:hover {
	background-color: #62bbb2;
	color: #fff;
}

.daycare-event-delete {
	background-color: rgba(220, 53, 69, 0.12);
	color: #d6485a;
}

.daycare-event-delete:hover {
	background-color: #dc3545;
	color: #fff;
}

/* ── Dagbehandeling: dark mode ───────────────────────────────── */
body.whenride-dark .daycare-color-row {
	background-color: #101722;
	border-color: #2e6668;
}

body.whenride-dark .daycare-color-value {
	color: #cfe9e6;
}

body.whenride-dark .daycare-event-list-row:hover {
	background-color: rgba(98, 187, 178, 0.16);
}

body.whenride-dark .daycare-event-list-row-active {
	background-color: rgba(98, 187, 178, 0.22);
}

body.whenride-dark .daycare-event-edit {
	background-color: rgba(98, 187, 178, 0.2);
	color: #7fd3ca;
}

body.whenride-dark .daycare-event-edit:hover {
	background-color: #409b93;
	color: #fff;
}

body.whenride-dark .daycare-event-delete {
	background-color: rgba(220, 53, 69, 0.2);
	color: #f08a96;
}

body.whenride-dark .daycare-event-delete:hover {
	background-color: #dc3545;
	color: #fff;
}

/* ── Voertuigenscherm: overzichtstabel ───────────────────────── */
.vehicle-overview {
	padding: 6px 22px 130px;
	font-size: 14px;
}

.vehicle-overview.vehicle-overview-compact {
	padding: 4px 12px 130px;
	font-size: 11px;
}

.vehicle-overview-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 14px;
}

.vehicle-overview-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	color: #1f2933;
}

.vehicle-overview-count {
	font-size: 13px;
	font-weight: 600;
	color: #8a94a6;
}

.vehicle-table-card {
	background: #fff;
	border: 1px solid #e9edf1;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.vehicle-table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
}

.vehicle-table thead th {
	background: #f5f8f7;
	color: #67727f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 0;
	padding: 13px 18px;
}

.vehicle-table tbody th,
.vehicle-table tbody td {
	border: 0;
	border-top: 1px solid #eef1f4;
	padding: 13px 18px;
	vertical-align: middle;
	font-weight: 500;
	color: #2f3944;
}

.vehicle-table tbody th[scope="row"] {
	font-weight: 700;
}

.vehicle-table tbody tr {
	transition: background-color 0.13s ease;
}

.vehicle-table tbody tr:hover {
	background: rgba(98, 187, 178, 0.08);
}

.vehicle-plate {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 6px;
	background: #eef2f5;
	font-family: "SFMono-Regular", Menlo, Consolas, monospace;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #3a4652;
}

.vehicle-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 12px 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.vehicle-status-pill .vehicle-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.vehicle-status-pill.is-online {
	background: rgba(34, 197, 94, 0.14);
	color: #15803d;
}

.vehicle-status-pill.is-online .vehicle-status-dot {
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.vehicle-status-pill.is-offline {
	background: rgba(100, 116, 139, 0.14);
	color: #556170;
}

.vehicle-status-pill.is-offline .vehicle-status-dot {
	background: #94a3b8;
}

.vehicle-table-actions {
	white-space: nowrap;
}

.vehicle-table tbody tr.vehicle-row-clickable {
	cursor: pointer;
}

/* Mobiel: de hele rij is al klikbaar om te bewerken (zie vehicle.js), dus de aparte
   actiekolom met het potloodje kan weg — dat geeft Naam/Kenteken/Status weer ruimte
   i.p.v. het te kleine knopje moeten raken. */
.vehicle-overview-compact .vehicle-table thead th:last-child,
.vehicle-overview-compact .vehicle-table tbody td.vehicle-table-actions {
	display: none;
}

.vehicle-action-btn {
	border-radius: 9px;
	font-weight: 600;
}

/* ── Voertuigenscherm: dark mode ─────────────────────────────── */
body.whenride-dark .vehicle-overview-title {
	color: #e7edf4;
}

body.whenride-dark .vehicle-table-card {
	background: #151c26;
	border-color: #2a3442;
	box-shadow: none;
}

body.whenride-dark .vehicle-table thead th {
	background: #1b2430;
	color: #9fb0c3;
}

body.whenride-dark .vehicle-table tbody th,
body.whenride-dark .vehicle-table tbody td {
	border-top-color: #2a3442;
	color: #e7edf4;
}

body.whenride-dark .vehicle-table tbody tr:hover {
	background: rgba(98, 187, 178, 0.12);
}

body.whenride-dark .vehicle-plate {
	background: #222d3a;
	color: #cdd8e4;
}

/* ── Voertuigenscherm: online/offline toggle-switch ──────────── */
.vehicle-status-cell {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.vehicle-status-label {
	font-size: 12px;
	font-weight: 600;
}

.vehicle-status-label.is-online {
	color: #15803d;
}

.vehicle-status-label.is-offline {
	color: #556170;
}

body.whenride-dark .vehicle-status-label.is-online {
	color: #4ade80;
}

body.whenride-dark .vehicle-status-label.is-offline {
	color: #9fb0c3;
}

.vehicle-toggle {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 26px;
	margin: 0;
	vertical-align: middle;
	cursor: pointer;
	flex: 0 0 auto;
}

.vehicle-toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vehicle-toggle .vehicle-toggle-slider {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #cbd3dd;
	transition: background-color 0.18s ease;
}

.vehicle-toggle .vehicle-toggle-slider::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.18s ease;
}

.vehicle-toggle input:checked + .vehicle-toggle-slider {
	background: #22c55e;
}

.vehicle-toggle input:checked + .vehicle-toggle-slider::before {
	transform: translateX(20px);
}

.vehicle-toggle input:focus-visible + .vehicle-toggle-slider {
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.vehicle-toggle input:disabled + .vehicle-toggle-slider {
	opacity: 0.6;
	cursor: default;
}

body.whenride-dark .vehicle-toggle .vehicle-toggle-slider {
	background: #39465a;
}

body.whenride-dark .vehicle-toggle input:checked + .vehicle-toggle-slider {
	background: #22c55e;
}

/* Alleen-zoekbalk (bv. voertuigenscherm): rond de linkerkant van het zoek-icoon af.
   De print-knop ervoor is verborgen, dus het icoon is het meest linkse element.
   Moet !important + hogere specificiteit hebben om de regel
   "#mainSearchIcon .input-group-text { border-radius: 0 !important }" te verslaan. */
#mainContentFilterArea.filter-search-only #mainSearchIcon .input-group-text {
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
}

/* Simpel edit-icoon knopje in de voertuigen-tabel */
.vehicle-edit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #6b7684;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.vehicle-edit-btn:hover {
	background: rgba(98, 187, 178, 0.15);
	color: #2f8f86;
}

.vehicle-edit-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(98, 187, 178, 0.25);
}

body.whenride-dark .vehicle-edit-btn {
	color: #9fb0c3;
}

body.whenride-dark .vehicle-edit-btn:hover {
	background: rgba(98, 187, 178, 0.2);
	color: #7fd3ca;
}

/* "(45KM)" achter de chauffeursnaam in de tijdlijn-groepslabels */
.ds-group-45km {
	font-size: 0.82em;
	font-weight: 700;
	color: #b45309;
	margin-left: 3px;
	white-space: nowrap;
}

body.whenride-dark .ds-group-45km {
	color: #fbbf24;
}

/* Filterblok (Van/T-m + zoeken) in het ongeplande-ritten paneel: één nette
   kaart met twee gelabelde datumkolommen en daaronder een zoekveld. */
#unplanned-rides-filters {
	margin: 8px 10px;
	padding: 10px;
	background-color: #ffffff;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

#recurringRangePicker {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

#recurringRangePicker .recurring-range-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	min-width: 0;
}

#recurringRangePicker .recurring-range-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #6b7787;
	white-space: nowrap;
}

#recurringRangePicker .recurring-range-input {
	width: 100%;
	min-width: 0;
	display: block;
	font-size: 13px;
	height: auto;
	padding: 5px 8px;
	line-height: 1.3;
	border: 1px solid #ced4da;
	border-radius: 8px;
	background-color: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

#recurringRangePicker .recurring-range-input:focus {
	border-color: #4a90d9;
	box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.20);
	outline: none;
}

#unplanned-rides-filters .unplanned-rides-search {
	position: relative;
	margin-top: 8px;
}

#unplanned-rides-filters .unplanned-rides-search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: #97a1ae;
	pointer-events: none;
}

/* Donkere modus voor het filterblok */
body.whenride-dark #unplanned-rides-filters {
	background-color: #1b2430;
	border-color: #2a3442;
}
body.whenride-dark #recurringRangePicker .recurring-range-label {
	color: #9fb0c3;
}
body.whenride-dark #recurringRangePicker .recurring-range-input,
body.whenride-dark #searchForRecRideByFirstName {
	background-color: #151c26 !important;
	border-color: #2a3442;
	color: #e7edf4;
}

/* Topbar "Ongeplande ritten" knop kort laten oplichten bij nieuwe ongeplande ritten */
@keyframes unplannedBtnFlash {
	0%   { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(255, 178, 0, 0)); }
	25%  { transform: scale(1.45); filter: drop-shadow(0 0 9px rgba(255, 178, 0, 0.95)); }
	50%  { transform: scale(1);    filter: drop-shadow(0 0 3px rgba(255, 178, 0, 0.5)); }
	75%  { transform: scale(1.35); filter: drop-shadow(0 0 9px rgba(255, 178, 0, 0.95)); }
	100% { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(255, 178, 0, 0)); }
}
.unplanned-btn-flash .topBarBtn {
	animation: unplannedBtnFlash 1s ease-in-out;
	color: #ffcf40 !important;
}

/* Ongeplande-rit actieknoppen: kleiner. */
.unplanned-ride-card-actions .ride-card-action {
	width: 30px !important;
	min-width: 30px !important;
	height: 30px !important;
	min-height: 30px !important;
	border-radius: 8px !important;
}
.unplanned-ride-card-actions .ride-card-action i {
	font-size: 0.85rem !important;
}
.unplanned-ride-card-actions {
	gap: 4px;
}

/* Desktop: knoppen rechtsboven over de kaart, verschijnen alleen bij hover.
   Op mobile (geen .unplanned-ride-card-hoveractions) blijven ze in de flow en zichtbaar. */
.unplanned-ride-card-hoveractions .unplanned-ride-card-actions {
	position: absolute;
	top: 6px;
	right: 6px;
	margin: 0 !important;
	padding: 0;
	z-index: 3;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.12s ease;
}
.unplanned-ride-card-hoveractions:hover .unplanned-ride-card-actions,
.unplanned-ride-card-hoveractions:focus-within .unplanned-ride-card-actions {
	opacity: 1;
	pointer-events: auto;
}
/* Scheidingslijn boven de nu zwevende knoppen is op desktop overbodig. */
.unplanned-ride-card-hoveractions > hr {
	display: none;
}

/* Zoekveld in het filterblok (icoon links, volle breedte) */
#searchForRecRideByFirstName {
	width: 100% !important;
	font-size: 13px;
	height: auto;
	line-height: 1.3;
	border: 1px solid #ced4da;
	border-radius: 8px;
	padding: 5px 10px 5px 28px !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
#searchForRecRideByFirstName:focus {
	border-color: #4a90d9;
	box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.20);
	outline: none;
}

.ride-form-original-time-label {
	background: rgba(184, 60, 60, 0.14);
	border-radius: 6px;
	padding: 2px 8px;
	width: fit-content !important;
}

/* Wachtwoord-sterktemeter + oogje */
.password-strength {
    margin-top: 6px;
}
.password-strength-track {
    height: 4px;
    width: 100%;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}
.password-strength-bar {
    height: 100%;
    width: 0;
    background: #dc3545;
    transition: width 0.2s ease, background-color 0.2s ease;
}
.password-strength-label {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}
.password-toggle-btn:focus {
    box-shadow: none;
}

/* Telefoon landkeuze */
.phone-country-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
