/* Notice Cards Container */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Common Card Style */
.notice-card {
  background: #f8f9fa;
  border: 1px solid #80deea;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Warning Card Style */
.notice-card.warning {
  background: #fff0f0;
  border-color: #f44336;
}

/* Card Header */
.notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.notice-icon {
  font-size: 32px;
}

.notice-title {
  margin: 0;
  font-size: 22px;
}

/* Blue theme for 注意事項 */
.notice-card.blue .notice-title {
  color: #0277bd;
}

/* Red theme for 重要提醒 */
.notice-card.warning .notice-title {
  color: #d32f2f;
}

/* List Style */
.notice-list {
  margin: 0;
  padding-left: 25px;
  line-height: 1.85;
  color: #333;
}

.container-content-info {
  padding: 30px;
  max-width: 1100px;
  border: 1px solid #dddfe1;
  background: white;
  border-radius: 6px;
  margin: 10px auto;
  position: relative;
}

.container-content-info > .inner {
  max-width: 630px;
  margin: auto;
}

@media (max-width: 767px) {
  .container-content-info {
    padding: 20px 10px;
    margin: 0;
    border-radius: 0px;
  }
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 16px;
  margin: 20px 0 28px 0;
}

.payment-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 9px 6px 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.payment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  border-color: #d1d9e6;
}

.payment-card img {
  height: 23px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.payment-card:hover img {
  transform: scale(1.07);
}

.payment-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}

/* 響應式優化 */
@media (max-width: 576px) {
  .payment-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
  }
  .payment-card {
    min-height: 122px;
    padding: 14px 10px;
  }
  .payment-card img {
    height: 36px;
  }
}

@media (min-width: 1200px) {
  .payment-grid {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }
}

/* Material Design Button */
.material-button {
  position: relative;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  /* text-transform: uppercase; */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: #98ce1e;
  color: white;
  outline: none;
}

.material-button:hover {
  background-color: #7ca61b;
}

.material-button:active {
  transform: scale(0.98);
}

/* Ripple Effect */
.material-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
  pointer-events: none;
}

.material-button:active::before {
  width: 300px;
  height: 300px;
}

/* Variants */

/* Filled Button (Default) */
.material-button.filled {
  background-color: #98ce1e;
  color: white;
}

/* Outlined Button */
.material-button.outlined {
  background-color: transparent;
  color: #98ce1e;
  border: 1px solid #98ce1e;
  box-shadow: none;
}

.material-button.outlined:hover {
  background-color: rgba(98, 0, 238, 0.08);
}

/* Text Button */
.material-button.text {
  background-color: transparent;
  color: #98ce1e;
  box-shadow: none;
}

.material-button.text:hover {
  background-color: rgba(98, 0, 238, 0.08);
}

/* Disabled State */
.material-button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
}

.material-button.outlined:disabled {
  background-color: transparent;
  color: #999999;
  border-color: #cccccc;
}

.btn-redirect {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #e8e8e8;
  color: #000;
  box-shadow: none !important;
  outline: 0 !important;
  text-decoration: none !important;
  font-style: normal;
  /* font-weight: bold; */
  font-size: 20px;
  text-decoration: none;
  max-width: 630px;
  margin: 1rem auto;
}

.btn-redirect:after {
  position: relative;
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-right: 0.15em solid black;
  border-top: 0.15em solid black;
  transform: rotate(45deg);
  margin-right: 0.5em;
}

.btn-redirect:hover {
  color: #5e5e5e;
}

.btn-redirect:hover:after {
  border-right: 0.2em solid #5e5e5e;
  border-top: 0.2em solid #5e5e5e;
}
