.w-250-px {
  width: 250px !important;
}

.h-80-vh {
  height: 80vh;
}

.btn-primary {
  color: #fff !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
}

.label-required::before {
  content: "※" !important;
  margin-right: 5px !important;
  color: #ff0000 !important;
}

/* Tooltip container */
.tooltip-title {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip-title .tooltiptext {
  visibility: hidden;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  /* Use half of the width (120/2 = 60), to center the tooltip */

  background-color: black;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;

  white-space: nowrap;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-title:hover .tooltiptext {
  visibility: visible;
}

.modal-batch-delete-check .batch-item:not(:last-child) {
  display: block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.fa-in-input {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  width: 45px;
  height: 100%;
  z-index: 10;
}

.fa-in-input.hidden {
  display: none !important;
}

.has-fa-icon {
  padding-right: 2.25rem !important;
}

/* 內容區域基本樣式 */
.main-content {
  width: 100%;
  min-height: calc(100vh - 130px);
  padding-bottom: 70px;
}

/* 所有頁面的標題與 header 的距離 */
.login-container,
.register-container,
.product-list-container,
.main-content > *:first-child {
  margin: 0;
}

/* 平板以上的距離 */
@media (min-width: 768px) {
  .login-container,
  .register-container,
  .product-list-container,
  .main-content > *:first-child {
    padding: 30px 15px 0;
  }

  .app-header .app-title {
    font-size: 40px;
  }

  .app-header .fas.fa-chevron-left {
    font-size: 48px;
  }
}

.main-content {
  padding-bottom: 70px;
  min-height: calc(100vh - 130px);
}

/* 容器樣式 */
.login-container,
.register-container,
.product-list-container,
.cart-container,
.exam-container {
  padding-top: 15px;
}

@media (min-width: 768px) {
  .login-container,
  .register-container,
  .product-list-container,
  .cart-container,
  .exam-container {
    padding: 30px 15px;
  }
}
