﻿@charset "UTF-8";
.modal .mobile_btn .btn {
  border: none;
  border-radius: 8px;
  color: #fff;
  display: flex;
  place-content: center;
  text-align: center;
  padding: 5px;
  cursor: pointer;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  background-color: #ff9800;
}

.modal {
  --bs-modal-border-color: none;
}
.modal .mobile_btn {
  display: block;
  padding: 18px 10px;
}
.modal .mobile_btn .btn {
  width: 100%;
  box-shadow: none;
  padding: 10px 0;
}
.modal .btn-close {
  display: block;
  margin-left: auto;
}
@media screen and (min-width: 820px) {
  .modal .mobile_btn {
    display: none;
  }
}

.modal-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.modal-content {
  width: 100%;
  margin: 0px;
  padding: 0px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.modal.fade .modal-dialog {
  transition: transform 0.8s ease-in-out;
  transform: translateY(100%); /*初始位置：視窗底部外*/
}

.modal.fade.show .modal-dialog {
  transform: translateY(0); /*終點位置：正常顯示位置*/
}

.modal-backdrop.show {
  width: fit-content;
}

@media screen and (min-width: 820px) {
  .modal {
    --bs-modal-border-color: var(--bs-border-color-translucent);
  }
  .modal-backdrop.fade {
    width: fit-content;
  }
  .modal-dialog {
    max-width: fit-content;
    max-height: fit-content;
    position: fixed;
    top: 120px;
    left: 20px;
  }
  .modal-content {
    border-radius: 10px;
    box-shadow: 6px 6px 2px 0.5px rgba(255, 152, 0, 0.1);
  }
  .modal.fade .modal-dialog {
    transition: transform 0.5s ease-in-out;
    transform: translateY(-25px); /* 初始位置：視窗底部外 */
  }
  .modal.fade.show .modal-dialog {
    transform: translateY(0); /* 終點位置：正常顯示位置 */
  }
}
.form-check .form-check-input {
  margin-left: 0px;
}

.form-check-input:checked {
  background-color: #ff9800;
  border-color: #ff9800;
}
.form-check-input:focus {
  border-color: #ff9800;
  box-shadow: 0 0 0 0.1rem rgba(255, 152, 0, 0.25);
}

.form-check-input {
  margin-left: 0;
}

.btn-close:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 152, 0, 0.25);
}

.city_part.nav-pills {
  overflow: auto;
  -ms-overflow-style: none; /* 適用於 Internet Explorer 和 Edge */
  scrollbar-width: none; /* 適用於 Firefox */
}
.city_part.nav-pills::-webkit-scrollbar {
  display: none; /* 適用於 Chrome, Safari 和 Opera */
}

.region_part {
  padding-left: 0px;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.region_part::-webkit-scrollbar {
  display: none;
}
.region_part .regin_erea_all {
  margin: auto;
  position: sticky;
  top: 0px;
  z-index: 10;
  background-color: #fff;
}
.region_part .region_part.tab-content {
  position: relative;
  top: 0;
}
.region_part .tab-pane .form-check {
  padding-left: 0;
  margin: 10px 20px;
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
