/* Modul Hotel SKTS14 — gaya khusus supaya tidak bergantung pada cache portal.css */
.hotel-search-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.hotel-radius-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dce6f4;
}

.hotel-radius-panel label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #102f63;
    font-size: 11px;
    font-weight: 900;
}

.hotel-radius-panel select {
    min-height: 40px;
    padding: 0 36px 0 12px;
    color: #102f63;
    background: #fff;
    border: 1px solid #b9c9df;
    border-radius: 10px;
    font-weight: 800;
}

.hotel-radius-status {
    color: #627694;
    font-size: 11px;
    font-weight: 700;
}

.hotel-map-card {
    overflow: hidden;
    margin-bottom: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid #ccd9eb;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(12, 42, 88, .12);
}

.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.map-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #536b90;
    font-size: 11px;
    font-weight: 800;
}

.location-button {
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    background: #1557c0;
    border: 0;
    border-radius: 11px;
    font-weight: 900;
    cursor: pointer;
}

.location-button:disabled { cursor: wait; opacity: .65; }

.location-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    color: #7a5100;
    background: #fff8dc;
    border: 1px solid #f1d27a;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.location-message[hidden] { display: none !important; }

#hotelMap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(420px, 53vh, 600px);
    min-height: 420px;
    overflow: hidden;
    background: #e9f0fa;
    border: 1px solid #b9c9df;
    border-radius: 16px;
}

.hotel-map-error {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 420px;
    padding: 24px;
    color: #8a2b18;
    background: #fff3ef;
    font-weight: 900;
    text-align: center;
}

.hotel-marker-shell { background: transparent; border: 0; }
.hotel-marker-dot {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: #ff5b47;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(8, 31, 80, .3);
}

.leaflet-tooltip.hotel-marker-label {
    padding: 6px 9px;
    color: #fff;
    background: #102f63;
    border: 0;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.leaflet-tooltip.hotel-marker-label::before { display: none; }
.hotel-popup { min-width: 230px; color: #385276; }
.hotel-popup h3 { margin: 0 0 7px; color: #102f63; font-size: 16px; }
.hotel-popup p { margin: 0 0 9px; font-size: 11px; line-height: 1.45; }
.hotel-popup dl { display: grid; gap: 5px; margin: 0 0 10px; font-size: 11px; }
.hotel-popup dl div { display: grid; grid-template-columns: 85px 1fr; gap: 8px; }
.hotel-popup dt { color: #6a7f9f; font-weight: 800; }
.hotel-popup dd { margin: 0; color: #102f63; font-weight: 800; }

.hotel-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #b9c9df;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(12, 42, 88, .12);
}

.hotel-table-card[hidden] { display: none !important; }
.hotel-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hotel-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse !important;
    border-spacing: 0;
    border: 1px solid #9fb3cf;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.hotel-table th {
    padding: 14px 13px !important;
    color: #fff !important;
    background: #102f63 !important;
    border: 1px solid #315383 !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .3px;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.hotel-table td {
    padding: 12px 13px !important;
    color: #17375f;
    border: 1px solid #b9c9df !important;
    font-size: 11px;
    line-height: 1.45;
    vertical-align: middle;
}

.hotel-table tbody tr:nth-child(odd) td { background: #fff !important; }
.hotel-table tbody tr:nth-child(even) td { background: #e8f1ff !important; }
.hotel-table tbody tr:hover td { background: #d8e8ff !important; }
.hotel-table tr[hidden] { display: none !important; }

.hotel-col-number, .hotel-row-number { width: 64px; text-align: center !important; }
.hotel-col-small { width: 78px; text-align: center !important; }
.hotel-col-distance { width: 105px; text-align: center !important; }
.hotel-col-action { width: 100px; text-align: center !important; }
.hotel-cell-center { text-align: center; }
.hotel-table th:nth-child(2), .hotel-table td:nth-child(2) { min-width: 360px; }
.hotel-table th:nth-child(3), .hotel-table td:nth-child(3) { min-width: 190px; }
.hotel-table th:nth-child(5), .hotel-table td:nth-child(5) { min-width: 145px; }
.hotel-table th:nth-child(6), .hotel-table td:nth-child(6) { min-width: 125px; }
.hotel-name { display: block; color: #102f63; font-weight: 900; text-transform: uppercase; }
.hotel-address { display: block; margin-top: 4px; color: #5d7392; }

.hotel-distance-badge {
    display: inline-flex;
    justify-content: center;
    min-width: 67px;
    padding: 5px 8px;
    color: #0c449c;
    background: #edf4ff;
    border: 1px solid #a9c2e5;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}

.hotel-map-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: #a33c24;
    background: #fff1ed;
    border: 1px solid #ffc4b6;
    border-radius: 9px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .hotel-search-fields { grid-template-columns: 1fr; }
    .hotel-radius-panel, .map-toolbar { align-items: stretch; flex-direction: column; }
    .location-button { width: 100%; }
    #hotelMap { height: 440px; min-height: 440px; }
}

@media print {
    @page { size: landscape; margin: 8mm; }
    .hotel-map-card, .hotel-secondary-actions { display: none !important; }
    .hotel-table-card { border-radius: 0; box-shadow: none; }
    .hotel-table { min-width: 0; }
    .hotel-table th, .hotel-table td { padding: 7px 6px !important; font-size: 8px; }
}
