/* 
 * Poppins Font Override
 * Override semua font di aplikasi dengan Poppins dari Google Fonts
 * Font designed by Jonny Pinhorn and Ninad Kale
 * Source: https://fonts.adobe.com/fonts/poppins
 */

/* Reset font utama untuk seluruh aplikasi */
html,
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk body text */
}

/* Override untuk semua elemen text */
body,
p, span, div, a, label,
table, th, td,
li, ul, ol {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight - tidak tebal */
}

/* Headings dengan weight yang lebih seimbang */
h1, .h1 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important; /* SemiBold untuk H1 */
}

h2, .h2 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important; /* SemiBold untuk H2 */
}

h3, .h3 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 500 !important; /* Medium untuk H3 */
}

h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 500 !important; /* Medium untuk H4-H6 */
}

/* Override font untuk form controls */
.form-control,
.input-group,
input,
textarea,
select {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk input */
}

/* Button dengan weight medium */
.btn,
button {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 500 !important; /* Medium weight untuk button */
}

.dropdown-menu {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk dropdown */
}

/* Override font untuk navbar dan header */
.navbar,
.nav,
header,
footer {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk navigasi */
}

/* Override untuk custom components */
.custom-card,
.booking-item,
.travel-info-card,
.seat-choices {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk components */
}

/* Override font khusus yang mungkin ada di custom.css */
* {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Matikan font DaysOne di slider caption */
.captionSlider label {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important; /* SemiBold untuk slider caption agar tetap menonjol */
}

/* Override untuk select2 dropdown */
.select2-container,
.select2-results,
.select2-selection {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk select2 */
}

/* Override untuk modal dan overlay */
.modal,
.modal-content,
.modal-body,
.modal-footer {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk modal body */
}

.modal-header,
.modal-title {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important; /* SemiBold untuk modal title */
}

/* Override untuk sweetalert */
.swal-modal,
.swal-text {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 400 !important; /* Regular weight untuk text */
}

.swal-title {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 600 !important; /* SemiBold untuk title */
}

.swal-button {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 500 !important; /* Medium untuk button */
}

/* Variasi font weight Poppins */
.font-thin {
  font-weight: 100 !important;
}

.font-extralight {
  font-weight: 200 !important;
}

.font-light {
  font-weight: 300 !important;
}

.font-regular {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.font-black {
  font-weight: 900 !important;
}

