@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.eciBgGra {
    background: rgb(0,166,166);
    background: linear-gradient(90deg, rgba(0,166,166,1) 0%, rgba(239,202,8,1) 50%, rgba(239,135,0,1) 100%);
}
.fnEng {
    font-family: "Montserrat", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}
.fnThai {
    font-family: "Prompt", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}
.logo {
    /* font-family: 'Segoe UI', 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 32px; */
    letter-spacing: 1px;
}
.logo .siam {
    font-family: "Montserrat", sans-serif;
    font-weight:800px !important;
    color: #3e9c44;
}
.logo .ontour {
    font-family: "Montserrat", sans-serif;
    font-weight:800px !important;
    color: #f2c40b;
}

.jumbotron {
    background: linear-gradient(rgba(62, 156, 68, 1), rgba(242, 196, 11, 0.9)), url(../images/search-bg.jpg), no-repeat center bottom !important;
    background-size: cover;
}
.eci-footer {
    background-color: rgb(233, 235, 238);
    color: dimgray;
}

/* ------ Searching Controller ------ */
.search-box {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
}
.nav-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: 500;
  font-size: 16px;
}
.nav-tabs .nav-link.active {
  color: #3e9c44;
  border-bottom: 3px solid #3e9c44;
  font-weight: bold;
}
.form-control-lg {
  font-size: 1.1rem;
  padding: 0.75rem 1.2rem;
}
.btn-warning {
  background-color: #f2c40b;
  border-color: #f2c40b;
}
/* ------ Thailand Maps ------ */
#thailand-map svg {
    width: 100%;       /* ให้ SVG ขยายเต็ม div */
    height: auto;      /* ปรับความสูงตามสัดส่วน */
    display: block;    /* ป้องกัน space ใต้ SVG */
}
#thailand-map path {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease-in-out;
}
#thailand-map path:hover {
    fill: #f2c40b; /* เขียวเมื่อ hover */
}
#thailand-map path.active {
    fill: #3e9c44 !important; /* แดงค้างสำหรับจังหวัดที่ active */
}
.map-container svg {
  width: 100% !important;
  height: auto !important;
  display: block;
  aspect-ratio: 4 / 5; /* ใช้กับ browser ใหม่ */
}

@media (min-width: 768px) {
  .map-container {
    max-width: 100%;
    height: auto;
  }
}
/* ------ Hotel List ------ */
.hotel-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.hotel-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.hotel-title {
  font-weight: bold;
  font-size: 1rem;
}

.hotel-subtitle {
  font-size: 0.875rem;
  color: #888;
}

.hotel-location {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.star-rating {
  color: #f8b400;
}

.book-btn {
  min-width: 100px;
}

.book-icon {
  margin-right: 5px;
}

/* ------ Pagination ------ */
.pagination-circle {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination-circle .page-item {
  list-style: none;
}

.pagination-circle .page-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  padding: 0;
  border: 1px solid #ccc;
  color: #333;
  font-weight: 500;
  background-color: #fff;
  transition: all 0.2s ease;
}

.pagination-circle .page-item.active .page-link {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-circle .page-item.disabled .page-link {
  color: #ccc;
  border-color: #ccc;
  pointer-events: none;
}

.pagination-circle .page-link:hover {
  background-color: #f0f0f0;
}

.pagination-circle .ellipsis {
  line-height: 40px;
  padding: 0 6px;
  color: #999;
}
.carousel-image {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  object-fit: cover;
  height: 100%; /* ใช้ร่วมกับการควบคุมความสูงของ carousel-item ถ้าต้องการ */
}

/* ------ Hotel ------ */
.text-truncate-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hotel-header {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  border-bottom: 1px solid #dee2e6;
}
.carousel-inner img {
  object-fit: cover;
  height: 400px;
}
.map-container {
    width: 100%;
    max-width: 100%;
}
.map-wrapper {
  border-radius: 16px;
  overflow: hidden; /* เพื่อให้มุม iframe โค้งตาม */
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-frame {
  border: none; /* เอาเส้น iframe ออก */
}