/* djatgo-cek-tarif — minimal base styles, to be extended */

#djatgo-cek-tarif.djatgo-cek-tarif-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

#djatgo-cek-tarif .djatgo-form-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

#djatgo-cek-tarif .djatgo-form-row .djatgo-autocomplete-wrapper {
    flex: 1;
    min-width: 160px;
}

#djatgo-cek-tarif .djatgo-autocomplete-wrapper {
    position: relative;
}

#djatgo-cek-tarif .djatgo-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-transform: uppercase;
}

#djatgo-cek-tarif .djatgo-input:focus {
    outline: none;
    border-color: #000;
}

#djatgo-cek-tarif .djatgo-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#djatgo-cek-tarif .djatgo-dropdown li {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
}

#djatgo-cek-tarif .djatgo-dropdown li:hover {
    background-color: #f0f6ff;
}

#djatgo-cek-tarif .djatgo-form-row .djatgo-btn {
    align-self: stretch;
    white-space: nowrap;
}

#djatgo-cek-tarif .djatgo-table .djatgo-btn {
    font-size: 13px;
    font-weight: 500;
    background-color: #ffc700;
    color: #0a0a0a;
}

#djatgo-cek-tarif .djatgo-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius:10px;
}

#djatgo-cek-tarif .djatgo-btn:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

#djatgo-cek-tarif .djatgo-loading {
    padding: 12px 0;
    color: #555;
    font-style: italic;
}

#djatgo-cek-tarif .djatgo-error {
    padding: 10px 14px;
    background-color: #fdf2f2;
    border: 1px solid #e8a0a0;
    border-radius: 4px;
    color: #c0392b;
    margin-bottom: 12px;
    font-size: 14px;
}


/* Route display */
#djatgo-cek-tarif .info-rute {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 25px;
}

#djatgo-cek-tarif .info-rute__city {
    flex: 1;
}

#djatgo-cek-tarif .info-rute__label {
    display: block;
    font-weight: bold;
    letter-spacing: 1px;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 5px;
}

#djatgo-cek-tarif .info-rute__name {
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
}

#djatgo-cek-tarif .info-rute__line {
    flex: 2;
    border-bottom: 1px dashed #ccc;
    margin: 0 15px;
    position: relative;
    top: 10px;
}

#djatgo-cek-tarif .djatgo-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    font-size: 14px;
    margin-top: 8px;
}

#djatgo-cek-tarif .djatgo-table th,
#djatgo-cek-tarif .djatgo-table td {
    vertical-align: middle !important; 
    text-align: center !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-weight: 500;
    box-shadow: none !important;
}

#djatgo-cek-tarif .djatgo-table thead tr {
    background-color: transparent !important;
    color: #000;
}

#djatgo-cek-tarif .djatgo-table tbody tr:nth-child(even) {
    background-color: #f9f9f9 !important;
}

#djatgo-cek-tarif .djatgo-table tbody tr:hover {
    background-color: #f0f6ff !important;
}

#djatgo-cek-tarif .djatgo-no-data {
    color: #555;
    font-style: italic;
    margin-top: 16px;
}

#djatgo-cek-tarif .djatgo-note {
    text-align: center;
    color: #555;
    font-style: italic;
    font-size: 13px;
    margin-top: 30px;
    line-height: 1.6;
}


@media screen and (max-width: 580px) {
  #djatgo-cek-tarif .djatgo-form-row {
    display: block;
  }

  #djatgo-cek-tarif .djatgo-input {
    margin: 10px 0;
  }

  .djatgo-btn {
    margin-top: 5px;
  }

  #djatgo-cek-tarif .djatgo-table th,
  #djatgo-cek-tarif .djatgo-table td {
    padding: 10px 8px;
    font-size: 13px;
  }

  #djatgo-cek-tarif .djatgo-table .djatgo-btn {
    font-size: 0;
  }

  #djatgo-cek-tarif .djatgo-table .djatgo-btn i {
    font-size: 15px;
  }
}

