@charset "UTF-8";

.coupon-event-wrap { font-size: 0; position: relative; display: block; width: 1000px; margin: 0 auto; box-sizing: border-box;}
.coupon-event-wrap * {box-sizing: border-box; font-family: "Pretendard" !important;}
img.coupon-event-image {display: block; width: 100%;}
.coupon-event-content {position: relative; display: block; width: 100%;box-sizing: border-box;}
.coupon-event-content .coupon-code-item {border-top: 2px solid #fff; box-sizing: border-box; padding: 80px 0 80px 0;}

.coupon-event-content--discount {background: #006140;}
.coupon-event-content--gift {background: #743eac;}

.coupon-event-content input[type=text] {display: block; border: 0; background: #fff; text-align: center; box-sizing: border-box; width: 641px; height: 116px; border-radius: 22px; font-size: 60px; font-weight: 500; color: #1e1e1e; padding: 0 15px; margin: 0 auto 28px;}
.coupon-event-content input[type=text]::placeholder {color: #b3b3b3; font-weight: 400;}
.coupon-event-content input[type=text]:disabled {opacity: 0.6; cursor: not-allowed;}

button.coupon-btn {display: block; margin: 0 auto 0; border: 0; padding: 0; font-size: 0; background: transparent; cursor: pointer; position: relative; width: 641px;}
button.coupon-btn img {display: block; width: 100%; height: auto;}
button.coupon-btn--register {}
button.coupon-btn--gift {margin-top: 20px;}

p.coupon-date {display: block;text-align: center;font-weight: 400;color: #fff;line-height: 1;width: 100%;box-sizing: border-box;height: 81px;padding: 0 0 0 0;font-size: 30px;margin-top: 28px;}



/* 발급 상태 메시지 (코드 박스 대신 노출) */
.coupon-event-content p.coupon-event-status {display: block;text-align: center;font-weight: 400;color: #fff;line-height: 1;width: 100%;font-size: 30px;}
.coupon-event-content p.coupon-event-status.is-success,
.coupon-event-content p.coupon-event-status.is-caution {padding: 20px 0 50px;}
.coupon-event-content button.coupon-code-btn:disabled,
.coupon-event-content button.coupon-code-btn.is-disabled {cursor: not-allowed; opacity: 0.5;}

/* 이미 발급된 회원: 버튼을 "등록완료" 느낌으로 톤다운 + 체크 배지 표시 */
.coupon-event-content button.coupon-code-btn.is-completed {
  position: relative;
  filter: brightness(0.72) saturate(0.85);
}
.coupon-event-content button.coupon-code-btn.is-completed::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='white' stroke-width='1.6' opacity='0.9'/%3E%3Cpath d='M7 12.3l3.2 3.2L17 8.7' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.9'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}