:root { --prm:#ee4d2d; --dark:#2d3436; --bg-chat:#e5ddd5; }
* { box-sizing:border-box; font-family:'Plus Jakarta Sans',sans-serif; }
body { margin:0; padding:0; height:100vh; overflow:hidden; background:#f0f2f5; }
#map { height: 100%; width: 100%; position: absolute; z-index: 1; }

.cod-panel { position: fixed; bottom: 0; left: 0; right: 0; background: white; z-index: 1000; padding: 15px 15px 25px; border-radius: 20px 20px 0 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); display: none; }
.btn-row { display: flex; gap: 8px; }
.btn-main { flex: 1; background: var(--prm); color: white; border: none; padding: 14px; border-radius: 12px; font-weight: 800; font-size: 12px; cursor: pointer; }

.btn-chat-toggle { position: fixed; bottom: 100px; right: 15px; z-index: 2000; width: 55px; height: 55px; border-radius: 50%; background: var(--dark); color: white; border: none; display: none; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.btn-main i {
    font-size: 20px;
}
/* Efek hover khusus tombol Facebook */
.btn-main[onclick*="goToFBReviews"]:hover {
    background: #145dbf !important;
}
.chat-popup { position: fixed; bottom: 100px; left: 10px; right: 10px; height: 400px; background: white; z-index: 9999; border-radius: 25px; display: none; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.2); overflow: hidden; border: 1px solid #ddd; }
@media (min-width: 600px) { .chat-popup { width: 320px; left: auto; } }
/* Tombol Bantuan */
.btn-help {
    position: fixed; top: 20px; left: 15px; z-index: 2000;
    width: 40px; height: 40px; border-radius: 12px;
    background: white; border: none; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: var(--dark);
    cursor: pointer;
}
#modal-disclaimer ol li {
    margin-bottom: 10px;
}
#modal-disclaimer p {
    margin-bottom: 10px;
}
/* Tutorial Styling */
.tutorial-steps {
    display: flex; flex-direction: column; gap: 15px; margin-top: 20px;
}
.t-step {
    display: flex; gap: 15px; align-items: flex-start;
}
.t-icon {
    width: 35px; height: 35px; border-radius: 10px;
    background: #fff0ed; color: var(--prm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.t-text {
    font-size: 12px; color: #444; line-height: 1.4;
}
.t-text b { color: var(--dark); font-size: 13px; }
.chat-header { padding: 15px; background: var(--prm); color: white; display: flex; justify-content: space-between; font-weight: 800; }
.chat-content { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; background: var(--bg-chat); gap: 8px; }

.msg { max-width: 80%; padding: 10px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.4; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: #dcf8c6; }
.msg.them { align-self: flex-start; background: #fff; }
.msg img { width: 100%; max-width: 180px; height: auto; border-radius: 8px; display: block; margin: 4px 0; background: #eee; cursor: pointer; }

.chat-input-box { padding: 12px; display: flex; gap: 8px; background: #f0f0f0; border-top: 1px solid #ddd; align-items: center; }
.chat-input-box input { flex: 1; border: none; padding: 10px; border-radius: 12px; background: white; outline: none; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 10000; display: none; align-items: center; justify-content: center; }
.modal-content { background: white; padding: 25px; border-radius: 25px; width: 90%; max-width: 360px; text-align: center; }
#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 100000; display: flex; align-items: center; justify-content: center; font-weight: 800; }
/* Sembunyikan kotak rute secara total */
.leaflet-routing-container,
.leaflet-routing-error,
.leaflet-routing-alt {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}