/* 由 scripts/facade/gen-fifa66-facade.py 從 assets/www/css/style.css 的 .authModal 區塊與 .btn-icon 原樣複製(門面頁專用) */
/* --=========.authModal============-- */
.auth-btn {
  cursor: pointer;
}

.authModal{
  display: none;
  position: fixed;
  z-index: 1040;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.authModal .modal-box{
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  color: #fff;
  background: #7f242f;
  background: linear-gradient(135deg, #7f242f, #390007, #2c0005);
  /* border-radius: 20px 20px 0 0; */
  padding: 0px 0px 16px 0px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

/* 桌機版：置中顯示 */
@media (min-width: 768px) {
  .modal-box {
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeInUp 0.3s ease;
  }
}

/* 手機版：底部滑出 */
@media (max-width: 767px) {
  .modal-box {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    animation: slideUp 0.4s ease;
  }
}

/* 動畫效果 */
@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100%);
  }
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    transform: translate(-50%, 60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.6);
  }
}

.authModal .close_m {
  position: absolute;
  right: 10px;
  top: -51px;
  font-size: 2em;
  line-height: 1.1;
  background: #77202b;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
}
.authModal .tab-header{
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.authModal .tab-btn{
  flex: 1;
  padding: 10px;
  background: #353535;
  border: none;
  color: #fff;
  cursor: pointer;
}

.authModal .tab-btn.active{
  background: #751e29;
  color: #fff;
  font-weight: bold;
}
.authModal .tab-content{
  padding: 20px;
  text-align: center;
}
.authModal .tab-content input ,.authModal .tab-content select
{
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #323232;
  border: 1px solid #555;
  border-radius: 5px;
  color: #fff;
}

.authModal .login, .authModal .register,
.authModal .transfer, .authModal .history{
  width: 100%;
  padding: 20px;
  background: #ffcc00;
  background: radial-gradient(100% 100% at 50% 0, #efff00 0, #ffbc00 44%, #df9a00 100%);
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}
.authModal h5{
  color: #ffcc00;
  font-weight: 400;
}
.authModal .login-else-box{
    margin-top: 13px;
    border-top: 1px solid #ffc107;
    padding: 12px 0px;
}
.login-else-box .log-img img{
  width: 50px;
  margin-right: 4px;
}
.authModal img#regImg {
    position: absolute;
    right: 9px;
    margin: 20px;
}
.authModal a{ color: #ffbc00;}
/* 快速轉點------------------------------------- */
.btn-icon {
  max-width: 40px;
  max-height: 40px;
  padding: 4px;
}
@media (max-width: 990px) {
  .btn-icon {
    max-width: 30px;
    max-height: 28px;
    padding: 2px 5px;
  }
}
