.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: 0.2s;
  height: 34px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #171717;
  text-transform: uppercase;
  border-radius: 30px;
  width: 100%;
}
.btn-login {
  background: linear-gradient(180deg, #bc9638, #e0d10c);
}

.btn-header {
  width: 100px !important;
}

@media (max-width: 768px) {
  .btn-header {
    width: 100% !important;
  }
}

.mypage-coupon-table {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #fff;
}

/* 기본 테이블 형태 */
.coupon-table-header,
.coupon-table-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px;
}

.coupon-table-header {
  font-weight: bold;
  border-bottom: 1px solid #444;
}

.coupon-table-row {
  border: 1px solid #333;
}

/* 모바일 화면 대응 */
@media (max-width: 768px) {
  .coupon-table-header {
    display: none;
  }

  .coupon-table-row {
    display: flex;
    flex-direction: column;
    padding: 12px;
  }

  .coupon-table-row span {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #444;
  }

  .coupon-table-row span:last-child {
    border-bottom: none;
  }

  .coupon-table-row span::before {
    content: attr(data-label);
    font-weight: 600;
    color: #aaa;
  }
}

/* 모달 배경 */
.notice-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  padding: 24px 20px 20px;
  background: #1e1e2f;
  color: white;
  border: 1px solid #444;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-height: 80vh;
  overflow-y: auto;
}

/* 숨김 처리 */
.hidden {
  display: none;
}

/* 닫기 버튼 */
.notice-modal > button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
}

.notice-modal > button:hover {
  color: #ff007a;
}

/* 탭 메뉴 */
#modal-list {
  display: flex;
  gap: 10px;
  margin: 24px 0 16px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

#modal-list li {
  padding: 8px 14px;
  background-color: #2c2c3d;
  border-radius: 6px;
  cursor: pointer;
  color: #ccc;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

#modal-list li:hover {
  background-color: #3a3a4f;
}

#modal-list li.selected {
  background-color: #ff007a;
  color: white;
}

/* 모달 본문 */
#modal-detail {
  font-size: 15px;
  color: #ddd;
  line-height: 1.6;
}

#modal-detail h3 {
  font-size: 18px;
  color: #ffa500;
  margin-bottom: 10px;
}

#modal-detail p {
  font-size: 15px;
}

/* 반응형 */
@media (max-width: 600px) {
  .notice-modal {
    top: 5%;
    width: 95%;
    padding: 20px 16px;
  }

  #modal-list {
    flex-direction: column;
    gap: 6px;
  }

  #modal-list li {
    width: 100%;
    text-align: center;
  }
}

.use-btn {
  padding: 5px 10px;
  background-color: #007bff;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.use-btn:hover {
  background-color: #0056b3;
}