/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.swal2-container {
  z-index: 9999 !important;
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.btn-outline-primary:hover {
  background-color: #4DA3FF;
  border-color: #4DA3FF;
  color: #fff;
}

.dropdown-hover-blue:hover {
  background-color: #4CACFF !important;
  color: #ffffff !important;
}

.navbar-custom {
  background-color: #2887FF !important;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.footer-card {
  background-color: #f3f4f5;
  width: 100%;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

.footer-card p {
  margin: 0;
}

.hero-title {
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1.15;
}

.hero-title2 {
  font-size: clamp(38px, 6vw, 48px);
  line-height: 1.15;
}

.horizontal-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-card {
  min-width: 320px;
  max-width: 320px;
  background-color: white;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.img-wrapper {
  width: 100%;
  height: 180px;
  background: #f8f9fa;
  /* biar rapi */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

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

.divider-line {
  width: 4px;
  height: 220px;
  background-color: #000;
}

@media (max-width: 991.98px) {
  .divider-line {
    width: 100%;
    height: 4px;
    margin: 20px 0;
  }
}

.kontak-grid {
  display: grid;
  grid-template-columns: 150px auto;
  row-gap: 10px;
  column-gap: 110px;
  align-items: center;
}

@media (max-width: 991.98px) {
  .kontak-grid {
    display: grid;
    grid-template-columns: 150px auto;
    row-gap: 10px;
    column-gap: 35px;
    align-items: center;
  }
}

.wa-btn {
  background-color: #00FF8C;
  color: black;
  border-radius: 8px;
  padding: 8px 20px;
  transition: all 0.3s ease;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wa-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: 0.3s;
  transform: scale(1.6);
}

.wa-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .wa-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  .wa-icon {
    width: 30px;
    height: 30px;
    transform: scale(1.6);
  }
}

.rute-container::-webkit-scrollbar {
  width: 6px;
}

.rute-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.rute-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.rute-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Custom width for Pesan Tiket button */
.btn-pesan-wrapper,
.btn-pesan {
  width: 100%;
}

@media (min-width: 992px) {

  .btn-pesan-wrapper,
  .btn-pesan {
    width: auto !important;
  }

  .route-grid {
    display: grid !important;
    grid-template-columns: 1fr 30px 1fr 1.2fr 1fr 30px 1fr;
    align-items: center;
    flex-grow: 1;
  }

  .route-item,
  .route-sebaliknya {
    text-align: center;
    word-wrap: break-word;
  }

  .route-grid>span:first-child {
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .route-grid {
    grid-template-columns: 1fr 40px 1fr 1.2fr 1fr 40px 1fr;
  }
}

.rute-info-container {
        display: flex;
        align-items: flex-start;
        margin-bottom: 50px;
    }
    .rute-item {
        flex: 1;
        padding-right: 20px;
        margin-right: 20px;
        position: relative;
    }
    .rute-item.rute-col-large {
        flex: 1.5;
    }
    .rute-item:last-child {
        padding-right: 0;
        margin-right: 0;
    }
    .rute-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 2px;
        background-color: #333;
    }
    
    @media (max-width: 768px) {
        .rute-info-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            row-gap: 30px;
            column-gap: 15px;
        }
        .rute-item {
            padding-right: 0;
            margin-right: 0;
            width: 100%;
        }
        .rute-item.rute-col-large {
            flex: unset;
        }
        .rute-item:not(:last-child)::after {
            display: none;
        }
    }
    
    .rute-label {
        font-weight: 600;
        font-size: 16px;
        color: #1a1a1a;
        margin-bottom: 15px;
    }
    .rute-value {
        font-size: 16px;
        color: #1a1a1a;
        display: flex;
        align-items: center;
    }

    .form-label {
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 10px;
        font-size: 15px;
        text-transform: none !important;
    }

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    z-index: 9999;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #f1f1f1;
}

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

.autocomplete-item:hover {
    background: #f8f9fa;
    color: #0d6efd;
}


       .dashboard-title {
            font-size: 26px;
            font-weight: 800;
            color: #004B87;
            position: relative;
            display: inline-block;
            margin-bottom: 25px;
            font-family: 'Public Sans', sans-serif;
        }

        .dashboard-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 4px;
            background-color: #004B87;
            border-radius: 2px;
        }

        .subtitle {
            font-size: 18px;
            font-weight: 700;
            color: #000;
            margin-bottom: 25px;
            font-family: 'Public Sans', sans-serif;
        }

        .stat-card {
            background: #fff;
            border: 1.5px solid #b2b2b2 !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }

        .chart-card {
            background: #fff;
            border: 1.5px solid #d9d9d9 !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 24px;
            margin-bottom: 24px;
        }

        .chart-title {
            font-size: 18px;
            font-weight: 700;
            color: #000;
            margin-bottom: 20px;
            font-family: 'Public Sans', sans-serif;
        }
    