@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
.text-center {
  text-align: center;
}

.main-bg {
  background-color: #F1F1F1;
}

.min-w-95 {
  width: 100%;
  min-width: 95px;
}

.store-btn {
  width: 160px;
  height: 40px;
  margin-left: 5px;
  color: #ffffff;
  border: 1px solid #F6AC19;
  background: #f6ac19;
}
@media only screen and (max-width: 767px) {
  .store-btn {
    width: 100%;
    margin-left: 0;
  }
}

.c-store-btn {
  width: 70px;
  height: 40px;
  color: #ffffff;
  border: 1px solid #254471;
  background: #254471;
}
@media only screen and (max-width: 767px) {
  .c-store-btn {
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (max-width: 767px) {
  .search-t {
    height: 76px !important;
  }
}

.title {
  width: 100%;
  height: 70px;
  background-color: #374151;
}
@media only screen and (max-width: 767px) {
  .title {
    height: 50px;
  }
}
.title .text {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 40px;
  font-size: 24px;
  color: #fff;
  line-height: 70px;
  font-weight: bold;
}
@media only screen and (max-width: 767px) {
  .title .text {
    padding-left: 0;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
  }
}

.countdown {
  width: 100%;
  height: 40px;
  background-color: #C28F42;
}
@media only screen and (max-width: 767px) {
  .countdown {
    height: 30px;
  }
}
.countdown .text {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 40px;
  font-size: 18px;
  color: #fff;
  line-height: 40px;
}
@media only screen and (max-width: 767px) {
  .countdown .text {
    padding-left: 0;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
  }
}

.top-menu {
  width: 100%;
  top: 0;
  position: fixed;
  z-index: 100;
}
.top-menu .t-logo {
  max-width: 165px;
  max-height: 30px;
}

.top-search-menu {
  width: 100%;
}
.top-search-menu .t-logo {
  max-width: 165px;
  max-height: 30px;
}
@media only screen and (max-width: 767px) {
  .top-search-menu .t-logo {
    width: 140px;
  }
}
.top-search-menu .text {
  font-size: 20px;
}
@media only screen and (max-width: 767px) {
  .top-search-menu .text {
    padding: 15px 20px;
    font-size: 16px;
  }
}

.one-page {
  width: 100%;
  max-width: 980px;
  margin: 18px auto 0;
  font-size: 16px;
  padding-top: 110px;
  padding-bottom: 3rem;
}
@media only screen and (max-width: 1440px) {
  .one-page {
    padding: 110px 1rem 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .one-page {
    padding: 80px 1rem 1rem;
  }
}
.one-page .sec-title {
  padding: 36px 0;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .one-page .sec-title {
    padding: 8px 0;
    font-size: 20px;
  }
}
.one-page .describe {
  width: 100%;
  padding: 40px;
  color: #666;
  background-color: #fff;
}
.one-page .describe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .one-page .describe {
    padding: 0;
  }
}
.one-page .cart {
  padding: 0 20px 20px 20px;
  background-color: #fff;
}
.one-page .product-box {
  background-color: #fff;
  padding: 20px 0 0 0;
}
.one-page .cart-title {
  width: 100%;
  height: 40px;
  margin-bottom: 15px;
  padding: 10px 20px;
  background-color: #334155;
  color: #fff;
  font-weight: bold;
}
.one-page .product-list-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media only screen and (max-width: 1024px) {
  .one-page .product-list-box {
    gap: 10px;
  }
}
.one-page .product-list-box .product-card {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  padding: 15px;
}
@media only screen and (max-width: 1024px) {
  .one-page .product-list-box .product-card {
    flex: 1 1 100%;
    max-width: calc(50% - 5px);
  }
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card {
    padding: 10px;
  }
}
.one-page .product-list-box .product-card .product-image {
  position: relative;
  text-align: center;
}
.one-page .product-list-box .product-card .product-image img {
  max-width: 100%;
  height: auto;
}
.one-page .product-list-box .product-card .product-info {
  flex: 1;
  margin-top: 10px;
}
.one-page .product-list-box .product-card .product-info .p-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-info .p-title {
    font-size: 14px;
  }
}
.one-page .product-list-box .product-card .product-info .price-old {
  font-size: 14px;
  color: #9e9e9e;
  margin-bottom: 2px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-info .price-old {
    font-size: 12px;
  }
}
.one-page .product-list-box .product-card .product-info .price-new {
  font-size: 20px;
  color: #C28F42;
  font-weight: 700;
  margin-bottom: 8px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-info .price-new {
    font-size: 14px;
  }
}
.one-page .product-list-box .product-card .product-info .desc {
  height: 80px;
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 20px;
  color: #4f4f4f;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-info .desc {
    height: auto;
  }
}
.one-page .product-list-box .product-card .product-action {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.one-page .product-list-box .product-card .product-action .qty {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 6px;
}
.one-page .product-list-box .product-card .product-action .qty button {
  width: 28px;
  height: 28px;
  background: #fff;
  cursor: pointer;
  position: absolute;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-action .qty button {
    width: 20px;
    height: 20px;
  }
}
.one-page .product-list-box .product-card .product-action .qty .minus {
  left: 5px;
}
.one-page .product-list-box .product-card .product-action .qty .plus {
  right: 5px;
}
.one-page .product-list-box .product-card .product-action .qty input {
  width: 100%;
  height: 40px;
  padding: 0 35px;
  text-align: center;
  border: 1px solid #cecece;
  border-radius: 0;
  font-size: 16px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list-box .product-card .product-action .qty input {
    font-size: 14px;
  }
}
.one-page .product-list-box .product-card .product-action .add-cart {
  background: #254471;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.one-page .product-list-box .product-card .product-action .add-cart:hover {
  background: #C28F42;
}
.one-page .product-list {
  display: flex;
  min-height: 100px;
  padding: 8px 0;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cecece;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list {
    flex-direction: column;
  }
}
.one-page .product-list .images {
  flex: 0 0 100px;
}
.one-page .product-list .images a {
  max-width: 80px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .images {
    width: 100%;
    text-align: center;
  }
}
.one-page .product-list .text-info {
  width: 30%;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .text-info {
    width: 100%;
  }
}
.one-page .product-list .price {
  flex: 0 0 160px;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .price {
    width: 100%;
  }
}
.one-page .product-list .num {
  display: flex;
  flex: 0 0 25%;
  padding-bottom: 0;
  position: relative;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .num {
    width: 100%;
  }
}
.one-page .product-list .num button {
  width: 28px;
  height: 28px;
  background: #fff;
  cursor: pointer;
  position: absolute;
}
.one-page .product-list .num .minus {
  left: 5px;
}
.one-page .product-list .num .plus {
  right: 5px;
}
.one-page .product-list .num input {
  width: 100%;
  height: 40px;
  padding: 0 35px;
  text-align: center;
  border: 1px solid #cecece;
  border-radius: 0;
}
.one-page .product-list .remove-btn {
  flex: 0 0 80px;
}
.one-page .product-list .remove-btn img {
  width: 24px;
}
@media only screen and (max-width: 767px) {
  .one-page {
    /* 改成兩列的 Grid：
       第1列：圖片 | 文字 | 垃圾桶
       第2列：數量 | 價格(靠右佔滿) */
    /* 若手機不需點擊放大可直接關掉 overlay（可保留/刪除） */
  }
  .one-page .product-list {
    display: grid;
    grid-template-columns: 80px 1fr 32px;
    grid-template-rows: auto auto;
    grid-template-areas: "img info remove" "qty price price";
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
    padding: 12px 0 16px;
    border-bottom: 1px solid #e5e5e5;
  }
  .one-page .product-list .num input {
    width: 130px;
    height: 40px;
    padding: 0 36px;
    /* 左右留空間給 +/- */
    text-align: center;
    border: 1px solid #cecece;
    border-radius: 0;
    background: #fff !important;
    /* 白底 */
    color: #222 !important;
    /* 文字顏色 */
    -webkit-text-fill-color: #222;
    /* iOS/Safari 防止看不到字 */
    font-size: 16px;
    /* 防止手機縮放 & 讓字更清楚 */
    line-height: 40px;
    /* 可選，幫助垂直置中 */
  }
  .one-page .product-list .images {
    grid-area: img;
    width: auto;
    /* 取消原本 100% */
    text-align: left;
  }
  .one-page .product-list .images a {
    display: block;
    max-width: 64px;
  }
  .one-page .product-list .images img {
    width: 100%;
    height: auto;
    display: block;
  }
  .one-page .product-list .text-info {
    grid-area: info;
    width: auto;
    /* 取消原本 100% */
    font-size: 14px;
    line-height: 1.4;
  }
  .one-page .product-list .remove-btn {
    grid-area: remove;
    display: flex;
    justify-content: flex-end;
    align-self: start;
  }
  .one-page .product-list .num {
    grid-area: qty;
    width: auto;
    max-width: 140px;
    justify-content: flex-start;
    position: relative;
  }
  .one-page .product-list .num button {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
  }
}
@media only screen and (max-width: 767px) and (max-width: 767px) {
  .one-page .product-list .num button {
    width: 20px;
    height: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .num .minus {
    left: 8px;
  }
  .one-page .product-list .num .plus {
    right: -40px;
  }
  .one-page .product-list .num input {
    width: 130px;
    /* 控制寬度讓按鈕可貼邊 */
    height: 40px;
    padding: 0 36px;
    /* 留出左右按鈕空間 */
    text-align: center;
    border: 1px solid #cecece;
    border-radius: 0;
    background: #f5f5f5;
    font-size: 16px;
  }
}
@media only screen and (max-width: 767px) and (max-width: 767px) {
  .one-page .product-list .num input {
    font-size: 14px;
  }
}
@media only screen and (max-width: 767px) {
  .one-page .product-list .price {
    grid-area: price;
    width: auto;
    /* 取消原本 100% */
    text-align: right;
    font-weight: 600;
  }
  .one-page .product-list .overlay {
    display: none;
  }
}
.one-page .num-btn {
  width: 100%;
  height: 32px;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.one-page .promo-contin {
  height: 240px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  isolation: isolate;
}
@media only screen and (max-width: 767px) {
  .one-page .promo-contin {
    height: auto;
  }
}
.one-page .promo-contin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.one-page .promo-contin__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}
.one-page .promo-contin__avatar {
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.one-page .promo-contin__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.one-page .promo-contin__text {
  color: #fff;
  min-width: 0;
}
.one-page .promo-contin__date {
  font-size: 14px;
  letter-spacing: .02em;
  opacity: .9;
  margin-bottom: 6px;
}
.one-page .promo-contin__title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.one-page .promo-contin__desc {
  font-size: 16px;
  line-height: 1.5;
  margin: 2px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
@media only screen and (max-width: 767px) {
  .one-page .promo-contin__inner {
    gap: 16px;
    padding: 12px 16px;
    flex-direction: column;
  }
  .one-page .promo-contin__avatar {
    width: 120px;
    height: 120px;
    flex-basis: 120px;
  }
  .one-page .promo-contin__title {
    font-size: 22px;
    white-space: normal;
  }
  .one-page .promo-contin__desc {
    font-size: 14px;
  }
}

.cart-block {
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 767px) {
  .cart-block {
    flex-direction: column;
  }
}

.code-s {
  padding-top: 20px;
  border-top: 1px solid #254471;
}

.cart-user-info {
  width: 100%;
  padding-bottom: 20px;
}
.cart-user-info select, .cart-user-info input, .cart-user-info textarea {
  width: 100%;
  height: 32px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  border-radius: 0;
}
.cart-user-info select::-webkit-input-placeholder, .cart-user-info input::-webkit-input-placeholder, .cart-user-info textarea::-webkit-input-placeholder {
  font-size: 14px;
}
@media only screen and (max-width: 767px) {
  .cart-user-info select, .cart-user-info input, .cart-user-info textarea {
    margin: 5px 0 10px;
  }
}

.price-info {
  width: 100%;
  padding: 10px;
  background-color: #F1F1F1;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  .price-info {
    width: 100%;
    text-align: center;
  }
}
.price-info .cart-product-list {
  padding-bottom: 20px;
}
.price-info .price-list {
  padding-bottom: 20px;
}

.btn {
  width: 100%;
  padding: 5px 20px;
  text-align: center;
  font-size: 16px;
  border-radius: 3px;
}

.btn-check {
  max-width: 360px;
  height: 50px;
  margin: 0 auto;
  color: #fff;
  background-color: #254471;
}
.btn-check:hover {
  background-color: #C28F42;
}

.finish-page {
  padding-top: 30px;
}
.finish-page .title {
  font-size: 26px;
}
@media only screen and (max-width: 767px) {
  .finish-page .title {
    font-size: 20px;
  }
}
.finish-page .info-box {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #def8ef;
  border-radius: 10px;
  font-size: 16px;
  line-height: 30px;
}

.tip {
  color: #B02E0C;
}

.images img {
  width: 80px;
  /* 設定縮小尺寸 */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay img {
  top: 50%;
  left: 50%;
  max-width: max-content;
  max-height: max-content;
  position: absolute;
  transform: translate(-50%, -50%);
}

.overlay.show {
  visibility: visible;
  opacity: 1;
}

.box table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.box table thead {
  background-color: #00ad72;
  color: white;
}
.box table td, .box table th {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.pagination {
  display: flex;
  gap: 5px;
  padding: 10px;
  justify-content: center;
}

.pagination button {
  width: 35px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
}

.pagination button.active {
  background-color: #428bca;
  color: #fff;
  border-color: #357ebd;
}

.pagination button:disabled {
  display: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 42px);
  margin: 0 auto;
}
.login-page .t-logo {
  max-width: 310px;
  padding-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .login-page .t-logo {
    max-width: 175px;
  }
}
.login-page .wrap {
  width: 100%;
  max-width: 550px;
  padding: 60px 40px;
  background-color: rgba(0, 0, 0, 0.4);
}
@media only screen and (max-width: 767px) {
  .login-page .wrap {
    padding: 60px 25px;
  }
}
.login-page .title {
  height: auto;
  padding-bottom: 20px;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  background-color: transparent;
}
.login-page input {
  padding: 6px;
}
.login-page input::-webkit-input-placeholder {
  font-size: 16px;
}
.login-page .btn {
  width: 100%;
  margin-top: 20px;
  padding: 10px 0;
  border-radius: 5px;
  background-color: #334155;
  color: #fff;
}
@media only screen and (max-width: 767px) {
  .login-page .btn {
    background-color: #F6AC19;
  }
}
.login-page .pb {
  padding-bottom: 10px;
}
.login-page .d-code {
  display: flex;
}
.login-page .btn-change {
  color: #fff;
  text-align: right;
  cursor: pointer;
}
.login-page .password-container {
  position: relative;
  display: flex;
  align-items: center;
}
.login-page .password-container input {
  width: 100%;
  padding-right: 40px;
}
.login-page .toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  background: none;
  border: none;
}
.login-page .toggle-password img {
  width: 20px;
  height: 20px;
}
.login-page .pr {
  padding: 7px 15px 6px 0;
}
.login-page .tip {
  padding-top: 15px;
  color: #fff;
}
.login-page input {
  height: 50px;
  padding: 6px 15px;
  border-radius: 0;
}

.log-out-btn {
  display: block;
  width: 100px;
  margin: 20px auto 0;
  padding: 10px 16px;
  border-radius: 5px;
  background-color: #1f7a53;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.log-out-btn:hover {
  background: #186546;
}

.flex-1 {
  flex: 1;
}

.flex-10 {
  flex: 10;
}

.h-40 {
  height: 40px !important;
}

.pb-10 {
  padding-bottom: 10px;
}

.gap-5 {
  gap: 5px;
}
@media only screen and (max-width: 767px) {
  .gap-5 {
    gap: 0;
  }
}

.cart-flex {
  display: flex;
}
@media only screen and (max-width: 767px) {
  .cart-flex {
    display: block;
  }
}

@media only screen and (max-width: 767px) {
  .hide-sm {
    display: none !important;
  }
}

.promotion-row {
  display: flex;
  align-items: center;
  margin: 8px 0;
}
.promotion-row .promotion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid;
  font-size: 14px;
  line-height: 1;
  box-sizing: border-box;
  user-select: none;
}
.promotion-row .promotion-desc {
  margin-left: 12px;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
}
.promotion-row.achieved .promotion-badge {
  color: #C28F42;
  border-color: #C28F42;
}
.promotion-row.achieved .promotion-desc {
  color: #222;
}
.promotion-row.pending .promotion-badge {
  color: #9e9e9e;
  border-color: #9e9e9e;
}
.promotion-row.pending .promotion-desc {
  color: #999;
}

.mb-30 {
  margin-bottom: 30px;
}

.order-summary {
  display: inline-block;
  width: 50%;
  border-radius: 4px;
  padding: 20px 24px;
}
@media only screen and (max-width: 767px) {
  .order-summary {
    width: 100%;
    padding: 0;
  }
}
.order-summary .order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #222;
}
.order-summary .order-row__label {
  line-height: 1.4;
}
.order-summary .order-row__value {
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.order-summary .order-row__value .sign {
  display: inline-block;
  margin-right: 6px;
}
.order-summary .order-row__value--total {
  font-size: 20px;
  font-weight: 700;
}
.order-summary .order-divider {
  border: 0;
  border-top: 1px solid #CECECE;
  margin: 8px 0 10px;
}
.order-summary .order-row--total {
  padding-top: 12px;
}

.login-bg {
  display: block;
  background-position: 50%;
  background-size: cover;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -10;
}

.search {
  min-height: 100vh;
  padding-bottom: 50px;
  /* Tabs */
  /* Filters */
  /* Table */
}
.search .s-warp {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 20px;
}
@media only screen and (max-width: 767px) {
  .search .s-warp {
    padding: 20px 15px;
  }
}
.search input[type="text"], .search input[type="number"] {
  width: calc(100% - 10px);
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.search input::placeholder {
  font-size: 14px;
}
.search .flex {
  display: flex;
  align-items: center;
}
.search .nowrap {
  white-space: nowrap;
  margin-right: 10px;
}
.search .w-100 {
  flex: 1;
}
.search img {
  width: 100%;
  max-width: 150px;
}
.search label {
  font-size: 14px;
  cursor: pointer;
}
.search .s-btn {
  width: 20px;
}
.search .tabs {
  display: flex;
  padding-right: 16px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 16px;
}
.search .tabs .tab-btn {
  position: relative;
  padding: 15px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #ABC1AB;
  font-weight: 700;
  font-size: 16px;
}
.search .tabs .tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #ABC1AB;
  border-radius: 2px 2px 0 0;
}
.search .tabs .tab-btn.active {
  color: #0b3d2e;
}
.search .tabs .tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #0b3d2e;
  border-radius: 2px 2px 0 0;
}
.search .filters {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr auto;
  gap: 12px 16px;
  align-items: end;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .search .filters {
    grid-template-columns: 1fr;
  }
}
.search .filters .filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search .filters .filter-item .label {
  white-space: nowrap;
  color: #374151;
  font-size: 14px;
}
.search .filters .filter-item .range {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ABC1AB;
}
.search .filters .filter-item .range .sep {
  color: #9ca3af;
}
.search .filters .filter-item .range input[type="date"] {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #6d6d6d;
}
.search .filters .filter-item.grow {
  width: 100%;
}
.search .filters .filter-item .searchbox {
  position: relative;
  width: 100%;
}
.search .filters .filter-item .searchbox input {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid #ABC1AB;
  border-radius: 0;
  background: #fff;
}
.search .filters .filter-item .searchbox .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #9ca3af;
  pointer-events: none;
}
.search .filters .filter-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.search .filters .filter-actions .btn {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
}
.search .filters .filter-actions .btn-primary {
  background: #1f7a53;
  color: #fff;
}
.search .filters .filter-actions .btn-primary:hover {
  background: #186546;
}
.search .filters .filter-actions .btn-ghost {
  background: #B5552A;
  color: #fff;
  border-color: #B5552A;
}
.search .filters .filter-actions .btn-ghost:hover {
  background: #934e2e;
}
.search .table-wrap {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  overflow-x: auto;
  white-space: nowrap;
}
.search .table-wrap .report-table {
  width: 100%;
  border-collapse: collapse;
}
.search .table-wrap .report-table thead th {
  text-align: left;
  color: #F3F4F6;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 2px solid #F3F4F6;
}
.search .table-wrap .report-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #F3F0EE;
  font-size: 14px;
}
.search .table-wrap .report-table tbody tr {
  border-bottom: 1px solid #CECECE;
}
.search .table-wrap .report-table tbody tr:hover:not(.total-row) {
  background: #F1E7DE;
}
.search .table-wrap .report-table tbody tr:first-child {
  color: #F3F4F6;
}
.search .table-wrap .report-table tbody .total-row {
  background: #F3F0EE;
}
.search .table-wrap .report-table tbody .total-row .bold {
  font-weight: 800;
}
.search .table-wrap .report-table tbody .name {
  font-weight: 600;
}
