*{
  margin:0;
  padding:0;
  font-family: 'Pretendard', sans-serif;
  color: #1A1A1A;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

header {
  padding:22px 0;
  box-shadow: 0 10px 10px 0 rgba(0,0,0,0.05);
}

.inner{
  width:1200px;
  margin:0 auto;
  display:flex;
  justify-content: space-between;
  align-items:center;
}
.inner .left{
  display:flex;
  align-items: center;
  gap:40px;
}

.inner a{
  text-decoration: none;
  font-size:16px;
}

.inner a.active{
  font-weight:700;
}

.inner img{
  width:138px;
}

main {
  width:1200px;
  margin: 0 auto;
  padding:112px 0;
}

main.event{
  width:100%;
  padding:0;
  text-align: center;
  background:#F3F5FF;
}

.plan-section {
  text-align: center;
}

.title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 50px;
}

.subtitle {
  font-size: 24px;
  margin-bottom: 60px;
}

.promotion-section{
  margin-bottom:120px;
}
.promotion-section h2{
  text-align: center;
}
.promotion-box{
  display:flex;
  justify-content: space-between;
  padding:0 32px;
}
.promotion-box input{
  width:920px;
  height:48px;
  border:1px solid #1a1a1a;
  padding:0 16px;
  font-size:16px;
  box-sizing: border-box;
  border-radius:5px;
}
.promotion-box button{
  width:182px;
  height:48px;
  background:#1a1a1a;
  color:#fff;
  border:none;
  font-size:16px;
  font-weight:500;
  cursor: pointer;
  border-radius:24px;
}

.notice-box {
  display:none;
  background: #F7F8FA;
  border-radius: 10px;
  padding: 20px 0;
  margin-bottom: 100px;
  font-size: 18px;
  line-height:1.5;
}

.notice-box h5{
  font-size:22px;
  margin-bottom:16px;
}

.notice-box .highlight {
  color: #FF0000;
  font-weight: bold;
}

.plans {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.tax{
  font-size:14px;
  text-align: right;
  margin-top:15px;
  margin-bottom: 120px;
  color:#4A4F56
}
.plan {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0,0,0,0.1);
  padding: 34px;
  width: 354px;
  overflow: hidden;
  text-align: left;
}

.plan::before{
  content:'';
  display:block;
  height:9px;
  background:#4C4C4C;
  position: absolute;
  top:0;
  left:0;
  width:100%;
}

.recommended{
  position:absolute;
  top:0;
  right:16px;
  width:132px;
  height:35px;
  background:#FFE7E7;
  color:#FF0000;
  border-radius: 0 0 8px 8px;
  font-size:14px;
  display:flex;
  align-items: center;
  justify-content: center;
  font-weight:700;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.plan-price {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 32px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
}

.plan-credit {
  display:flex;
  align-items: center;
  gap:8px;
  color: #4A4F56;
  font-size: 18px;
  margin-bottom: 72px;
}

.plan-btn {
  background: #1A1A1A;
  color: #fff;
  border: none;
  border-radius: 24px;
  width: 100%;
  height:48px;
  font-size:14px;
  font-weight: 500;
  cursor: pointer;
}

.plan.disabled{
  opacity: 0.2;
  box-shadow: 0 0px 15px rgba(0,0,0,0.5);
}

.plan.disabled .plan-btn{
  pointer-events: none;
}

.plan.border .plan-btn{
  background:transparent;
  border:1px solid #000412;
  color:#1A1A1A;
}

.credit-section {
  display: none;
  margin-top: 120px;
  text-align: center;
}

.credit-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom:90px;
}

.credit-title span{
  display:block;
  margin-top:10px;
  font-size:14px;
}

.credit-box {
  position:relative;
  border-radius: 10px;
  box-shadow: 0 0px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  padding:50px 32px;
  display:flex;
  justify-content: space-between;
}

.credit-box::before{
  content:'';
  display:block;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:9px;
  background:#4C4C4C;
}

.credit-label {
  font-weight: 700;
  font-size: 30px;
}

.credit-label span{
  display:block;
  font-size:14px;
  margin-top:10px;
  font-weight:400;
  text-align: left;
}

.credit-payment{
  display:flex;
  align-items: center;
  gap:28px;
}

.credit-input {
  display: flex;
  align-items: center;
}

.credit-input button {
  width: 38px;
  height: 38px;
  border:1px solid #E4E7EA;
  border-radius:5px 0 0 5px;
  background: #fff;
  font-size: 14px;
  font-weight:700;
  cursor: pointer;
}
.credit-input button:last-of-type{
  border-radius:0 5px 5px 0px;
}

.credit-input input {
  width: 65px;
  height:38px;
  text-align: center;
  font-size: 14px;
  font-weight:700;
  border: 1px solid #E4E7EA;
  border-left:0;
  border-right:0;
  box-sizing: border-box;
}

.credit-input span{
  font-size:18px;
  font-weight:700;
  margin-left:9px;
}

.credit-price {
  width:100px;
  font-size: 24px;
  font-weight: 700;
}

.credit-btn {
  background: #1A1A1A;
  color: #fff;
  border: none;
  border-radius: 24px;
  width:182px;
  height:48px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
}

.notice-section{
  background: #F7F8FA;
  border-radius: 10px;
  padding: 28px 34px;
  text-align: left;
  font-size: 18px;
}

.notice-section ol {
  padding-left: 20px;
}

.notice-section li {
  font-size:14px;
  margin-bottom: 24px;
  line-height:1.5;
}
.notice-section li.notTrial{
  display:none;
}

.notice-section li::marker {
  font-weight: bold;
}

.notice-section li:last-of-type{
  margin-bottom: 0;
}

.notice-section li h5{
  font-size:16px;
}


/* 유저 정보 */
.subscription-box{
  margin-bottom:80px;
}
.info-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  vertical-align: text-bottom;
  margin-right:5px;
}
.info-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 2px;
  height: 7px;
  background: #fff;
  border-radius: 1px;
}
.info-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
}
.subscription-top .notice{
  padding:16px 24px;
  margin-bottom:65px;
}
.subscription-top .notice.green{
  background:#DFF7E9;
}
.subscription-top .notice.green .info-icon{
  background:#17A15F;
}
.subscription-top .notice.yellow{
  background:#FFF2D8;
}
.subscription-top .notice.yellow .info-icon{
  background:#FF8126;
}
.subscription-top .notice.red{
  background:#FFEFF0;
}
.subscription-top .notice.red .info-icon{
  background:#FF000C;
}
.subscription-top .notice button{
  background:none;
  border:0;
  color:#1a1a1a;
  font-size:16px;
  text-decoration: underline;
  font-weight:700;
  cursor:pointer;
}
.subscription-top p{
  font-size:26px;
}
.subscription-bottom{
  margin-top:32px;
  display:flex;
  border:1px solid #E4E7EA;
  border-radius:10px;
  overflow: hidden;
}
.subscription-left .info{
  padding:35px 30px;
  background:#F7F8FA;
}
.subscription-left .info .badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:3px;
  font-weight:700;
  font-size:14px;
}
.badge.blue {
  background: #DBE9FF;
  color: #0B29C0;
}
.badge.yellow {
  background: #FFF2D8;
  color: #FF8126;
}
.badge.red {
  background: #FFEAEA;
  color: #FF0000;
}
.plan-title {
  font-size: 30px;
  font-weight: bold;
  margin:25px 0;
}
.plan-desc {
  display:flex;
  justify-content: space-between;
  font-size:14px;
  font-weight:500;
}
.plan-desc b{
  color:#17A15F;
}
.plan-desc a{
  color:#1A1A1A;
  font-weight:700;
}
.plan-tabs{
  display:flex;
  border-top:1px solid #E4E7EA;
}
.plan-tabs button {
  background: #fff;
  border: none;
  width:130px;
  height:50px;
  font-size: 14px;
  border-right:1px solid #E4E7EA;
  cursor: pointer;
}
.plan-tabs button:last-of-type{
  border-right:0;
}
.plan-tabs button:disabled{
  color:#999FA5;
}
.plan-tabs button.one_button{
  width:390px;
}
.subscription-right{
  width:100%;
  border-left:1px solid #E4E7EA;
  padding:40px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}
.credit-summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.credit-summary {
  display: flex;
  justify-content: space-between;
}
.credit-card {
  background: #F7F8FA;
  border-radius: 8px;
  padding: 25px;
  width:355px;
  height:124px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.credit-card-title {
  font-size: 18px;
  display:flex;
  justify-content: space-between;
}
.credit-card-value {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 6px;
}
.credit-card-desc {
  font-size: 14px;
  color: #5E6268;
  display:flex;
  justify-content: space-between;
}

.extra-credit-box {
  margin-bottom: 80px;
}
.extra-credit-box .section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
}
.extra-credit-box table {
  width: 100%;
  border-collapse: collapse;
}
.extra-credit-box th, .extra-credit-box td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #E4E7EA;
  font-size:16px;
}
.extra-credit-box th:last-of-type, .extra-credit-box td:last-of-type {
  text-align: left;
}
.extra-credit-box th {
  background: #F7F8FA;
  font-weight: 700;
  font-size:18px;
}
.extra-credit-box td .expiring-soon{
  display:inline-block;
  padding:5px 8px;
  border:1px solid #FFAB08;
  color:#FFAB08;
  border-radius:3px;
  font-size:12px;
  font-weight:700;
  margin-left:5px;
  vertical-align: 2px;
}
.history-box {

}
.history-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
}
.history-filter {
  margin-bottom: 24px;
}
.history-filter .filter-wrap{
  display:flex;
  align-items: center;
  justify-content: space-between;
}
.history-radio label{
  margin-left:10px;
  font-size:16px;
  cursor: pointer;
}
.history-radio input{
  margin-right:5px;
  accent-color: #1a1a1a;
}
.custom-date-range{
  display:flex;
  align-items: center;
  gap:12px;
  margin-bottom:24px;
}
.custom-date-input {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: #fff;
  width: 235px;
  box-sizing: border-box;
  gap: 12px;
  overflow: hidden;
  position: relative;
}
.custom-date-input img{
  position: absolute;
  top:50%;
  left:16px;
  transform: translateY(-50%);
}
.flatpickr-input {
  position: relative;
  z-index: 10;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  cursor: pointer;
  padding:14px 16px 14px 50px;
  box-sizing: border-box;
}
.history-tabs{
  display:inline-flex;
  border-radius:5px;
  border:1px solid #E4E7EA;
  overflow: hidden;
}
.history-tabs button {
  width:180px;
  height:48px;
  font-size: 16px;
  font-weight:700;
  cursor: pointer;
  background:none;
  border:0;
  border-right:1px solid #E4E7EA;
}
.history-tabs button:last-of-type{
  border-right:0;
}
.history-tabs button.active {
  background: #1A1A1A;
  color: #fff;
}
.history-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin-bottom: 54px;
}
.history-table-wrap th, .history-table-wrap td {
  height:50px;
  padding:0 16px;
  text-align: center;
  border-bottom: 1px solid #E4E7EA;
  font-size:16px;
}
.history-table-wrap th {
  font-size:18px;
  background: #F7F8FA;
  font-weight: 700;
}
.history-table-wrap td{
  font-weight:500;
}
.history-table-wrap td.price{
  text-align: right;
}
.history-table-wrap td.red{
  color:#FF0000;
}
.history-table-wrap td.green{
  color:#17A15F;
}
.receipt-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.pagination {
  display:flex;
  justify-content: center;
  align-items: center;
}
.pagination > div{
  display:flex;
  gap:10px;
  margin:0 30px;
}
.pagination button:not(.arrow) {
  background: #F5F5F7;
  color: #999FA5;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  width:24px;
  height:24px;
}
.pagination button:not(.arrow).active {
  background: #1a1a1a;
  color: #fff;
  cursor: default;
}
/* 화살표 스타일 */
.pagination button.arrow{
  background:none;
  border:none;
  cursor:pointer;
}
.pagination button.arrow:disabled{
  cursor:default
}
.chevron {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  vertical-align: middle;
}

/* 단일 chevron */
.chevron.left{
  margin-left:10px;
}
.chevron.right {
  margin-right:10px;
}
.chevron.left::after, .chevron.right::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid #1a1a1a;
  border-width: 0 0 2px 2px;
  border-radius: 2px;
  top: 7px;
  left: 7px;
}
.chevron.left::after {
  transform: rotate(45deg);
}
.chevron.right::after {
  transform: rotate(-135deg);
}

/* 더블 chevron */
.chevron.double-left, .chevron.double-right {
  width: 24px;
  height: 24px;
}
.chevron.double-left::before, .chevron.double-left::after,
.chevron.double-right::before, .chevron.double-right::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid #1a1a1a;
  border-width: 0 0 2px 2px;
  border-radius: 2px;
  top: 7px;
}
.chevron.double-left::before {
  left: 2px;
  transform: rotate(45deg);
}
.chevron.double-left::after {
  left: 10px;
  transform: rotate(45deg);
}
.chevron.double-right::before {
  right: 2px;
  transform: rotate(-135deg);
}
.chevron.double-right::after {
  right: 10px;
  transform: rotate(-135deg);
}



/* 로그인 페이지 */
.login-body { background: #f7f7f7; }
.login-container {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.login-box {
  background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 48px 32px; text-align: center; max-width: 400px; width: 90%;
  text-align: center;
}
.login-box .logo { width: 120px; margin-bottom: 24px; }
.login-box h2 { margin-bottom: 12px; color: #222; }
.login-box p { color: #666; margin-bottom: 32px; }
.login-box p:last-of-type{margin-top: 20px; font-size: 12px; color: #999;}
.g_id_signin {display:inline-block}
.fail_popup{display:none;position: fixed;top:0;left:0;width:100%;height:100%;}
.fail_popup .dim{
  width:100%;
  height:100%;
  background:#000;
  opacity:0.7;
}
.fail_popup .content{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:360px;
  background:#fff;
  text-align: center;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
  padding-bottom: 40px;
  border-radius:20px;
  }
.fail_popup .icon{
  display:flex;
  justify-content: center;
  align-items: center;
  padding:40px 0 20px;
}
.fail_popup p{
  font-weight:700;
  font-size:18px;
  line-height:1.5;
}
.fail_popup p a{
  color:blue
}
.fail_popup button{
  margin-top:24px;
  width:118px;
  height:40px;
  color:#fff;
  font-size:14px;
  font-weight:500;
  background:#1a1a1a;
  border-radius:20px;
  cursor: pointer;
}

#global-loading-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.global-spinner {
  width: 48px;
  height: 48px;
  border: 7px solid #fff;
  border-top: 7px solid #1a1a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: transparent;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

.popup{
  display:none;
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:390px;
  padding:45px 0 35px;
  border-radius:10px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
  background:#fff;
  text-align: center;
  z-index:10000;
}
.popup h3{
  font-size:24px;
  margin-bottom:25px;
}
.popup p{
  font-size:16px;
  color:#767D84;
  line-height:1.5;
  margin-bottom:30px;
}
.popup a{
  display:inline-block;
  width:120px;
  height:40px;
  background:#1A1A1A;
  border-radius: 20px;
  color:#fff;
  font-size:14px;
  font-weight:500;
  line-height:40px;
  text-align: center;
  text-decoration: none;
}

footer{
  padding:20px 40px;
  background:#1A1A1A;
}

footer > img{
  width:150px;
}

footer .inner > div{
  display:flex;
  gap:10px;
}

footer .inner > div > a{
  color:#fff;
  font-size:14px;
}

.privacy_agree h3{
  color:#1596cf;
  line-height:1.3;
}
.privacy_agree .title{
  font-size:16px;
  color:#000;
  font-weight:bold;
  margin-bottom:0;
}
.privacy_agree .intend{
  padding-left:14px;
}
.privacy_agree .intend2{
  padding-left:28px;
}