@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");

:where([class^="ri-"])::before {
  content: "\f3c2";
}
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
    Roboto, sans-serif;
}
.gradient-bg {
  background: linear-gradient(135deg, #3b28bf 0%, #3b28bf 100%);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 40, 191, 0.15);
}
.stat-card {
  background: linear-gradient(
    135deg,
    rgba(59, 40, 191, 0.1) 0%,
    rgba(59, 40, 191, 0.1) 100%
  );
}
input:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(59, 40, 191, 1);
}
.hero-bg {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}
.dropdown {
  display: none;
}
.dropdown.active {
  display: block;
}
.table-container {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
th {
  background-color: #f9fafb;
  font-weight: 500;
}
tr:hover {
  background-color: #f9fafb;
}
.login-split {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}
.login-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  position: relative;
  min-width: 0;
}
.main-img-large {
  width: 680px;
  max-width: 98vw;
  margin: 48px 0 48px 0;
  border-radius: 18px;
  box-shadow: none;
}
.login-left .hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: -1px;
}
.login-left .hero-desc {
  font-size: 1.15rem;
  color: #c7c7e6;
  margin-bottom: 32px;
  font-weight: 400;
  text-align: center;
  max-width: 340px;
}
.login-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  min-width: 0;
}
/* .login-form-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(59,40,191,0.08);
  padding: 44px 32px 32px 32px;
} */
.login-logo {
  font-family: "Pacifico", cursive;
  font-size: 2.1rem;
  color: #3b28bf;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.login-benefit {
  font-size: 1.08rem;
  color: #666666;
  margin-bottom: 28px;
  text-align: center;
  font-weight: 400;
}
.login-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #666666;
  border-radius: 8px;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #222;
  outline: none;
  transition: border 0.2s;
}

.login-remember {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.98rem;
  color: #666666;
  gap: 7px;
}
.login-btn {
  width: 100%;
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0;
  height: 50px;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover {
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
}
.login-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.98rem;
  margin-top: 2px;
}
.login-links a {
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.login-links a:hover {
  color: #3b28bf;
  text-decoration: underline;
}
.login-links-simple {
  width: 100%;
  text-align: left;
  margin-top: -10px;
  font-size: 1.05rem;
  color: #666;
}
.login-links-simple a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  margin-right: 2px;
  transition: color 0.2s;
}
.login-links-simple a:hover {
  color: #3b28bf;
  text-decoration: underline;
}
.login-links-simple span {
  margin: 0 2px;
  color: #bbb;
}
@media (max-width: 900px) {
  .login-split {
    flex-direction: column;
  }
  .login-left,
  .login-right {
    min-height: 320px;
  }
  .login-left {
    padding: 40px 0 0 0;
  }
  .login-right {
    padding: 0 0 40px 0;
  }
}
@media (max-width: 600px) {
  .login-left .main-img {
    width: 90vw;
  }
  .login-left .hero-title {
    font-size: 1.3rem;
  }
  .login-left .hero-desc {
    font-size: 1rem;
  }
  .login-btn {
    height: 44px;
    font-size: 1rem;
  }
}

.setting-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.32);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.setting-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(67, 56, 202, 0.18);
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 96vw;
  width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.setting-modal-title {
  font-size: 1.35rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 22px;
  text-align: center;
}
.setting-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.setting-modal-close:hover {
  color: #3b28bf;
}
.setting-modal-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.setting-modal-form label {
  font-size: 1.01rem;
  color: #333;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.setting-modal-input {
  padding: 10px 14px;
  border: 1px solid #222222;
  border-radius: 7px;
  font-size: 1.07rem;
  background: #f7f7fa;
  color: #222;
  outline: none;
  transition: border 0.2s;
}
.setting-modal-input:focus {
  border: 1px solid #3b28bf;
}
.setting-modal-checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  font-size: 1.01rem;
  color: #3b28bf;
  margin-top: 2px;
}
.setting-modal-save {
  margin: 18px auto 0 auto;
  display: block;
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 1.13rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}
.setting-modal-save:hover {
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
}
.setting-modal-imgcount-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.setting-modal-imgcount-row input {
  width: 100%;
  flex: 1 1 0;
  text-align: center;
}
@media (max-width: 600px) {
  .setting-modal {
    min-width: 90vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .setting-modal-title {
    font-size: 1.1rem;
  }
  .setting-modal-save {
    font-size: 1rem;
    padding: 11px 0;
  }
}

.footer-logo-white {
  filter: brightness(0) invert(1);
}

/* 소셜 로그인 영역 */
.social-login-divider {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 2rem 0 2rem 0;
}
.social-login-divider::before,
.social-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #bfbfbf;
}
.social-login-divider-text {
  color: #888;
  font-size: 1.01rem;
  margin: 0 16px;
  white-space: nowrap;
}
.social-login-btn {
  width: 100%;
  max-width: 400px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #bfbfbf;
  border-radius: 8px;
  font-size: 1.13rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border 0.18s, box-shadow 0.18s;
}
.social-login-btn:hover {
  border-color: #3b28bf;
  box-shadow: 0 2px 8px rgba(59, 40, 191, 0.08);
}
.social-login-icon {
  height: 1.2rem;
  width: 1.2rem;
  min-width: 1.2rem;
  display: inline-block;
  vertical-align: middle;
}
.social-login-btn span {
  color: rgba(0, 0, 0, 0.54);
  font-weight: 600;
}
.naver-login-btn span,
.google-login-btn span {
  color: rgba(0, 0, 0, 0.54);
}
.social-login-links {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 600px) {
  .social-login-btn {
    height: 44px;
    font-size: 1rem;
    max-width: 98vw;
  }
  .social-login-divider-text {
    font-size: 0.98rem;
    margin: 0 8px;
  }
}

/* 회원가입 폼 스타일 */
.signup-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.signup-label {
  width: 100%;
  font-size: 1.07rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 7px;
  margin-top: 18px;
  text-align: left;
}
.signup-row {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.signup-input {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}
.signup-btn {
  background: #fff;
  color: #3b28bf;
  border: 1.5px solid #3b28bf;
  border-radius: 8px;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  white-space: nowrap;
}
.signup-btn:hover {
  background: #3b28bf;
  color: #fff;
}
.signup-btn.main {
  width: 100%;
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
  color: #fff;
  border: none;
  font-size: 1.13rem;
  font-weight: 700;
  height: 50px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.signup-checkbox-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.signup-checkbox-label {
  font-size: 1.01rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0px;
  font-weight: 500;
}
.signup-checkbox-label input[type="checkbox"] {
  accent-color: #3b28bf;
  width: 18px;
  height: 18px;
  margin-right: 7px;
}
.signup-login-link {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}
.signup-login-link a {
  color: #767676;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.signup-login-link a:hover {
  color: #3b28bf;
  text-decoration: underline;
}
.signup-link {
  text-decoration: underline;
  font-size: 1em;
  font-weight: 500;
  margin-right: 0;
  transition: color 0.18s;
}
.signup-link:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .signup-form {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .signup-btn.main {
    height: 44px;
    font-size: 1rem;
  }
}

.summary-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: #f7f8fa;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(59, 40, 191, 0.06);
}
.summary-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(59, 40, 191, 0.04);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.summary-info-label {
  font-size: 1.01rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 8px;
}
.summary-info-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #222;
  letter-spacing: -1px;
}
@media (max-width: 900px) {
  .summary-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px 8px;
  }
}
@media (max-width: 600px) {
  .summary-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 2vw;
  }
  .summary-info-card {
    padding: 14px 10px;
  }
}

.summary-recommend-wrap {
  display: flex;
  gap: 32px;
  width: 100%;
  margin-bottom: 32px;
}
.summary-info-section {
  flex: 2 1 0;
  min-width: 0;
  background: none;
  display: flex;
  flex-direction: column;
}
.summary-info-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}
.summary-edit-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.01rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.18s;
}
.summary-edit-btn:hover {
  color: #3b28bf;
  text-decoration: underline;
}
.recommend-blogger-section {
  flex: 1 1 0;
  min-width: 0;
  background: #f7f8fa;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(59, 40, 191, 0.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.recommend-title {
  font-size: 1.13rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  text-align: left;
  width: 100%;
}
.recommend-list {
  width: 100%;
  margin-bottom: 18px;
}
.recommend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.recommend-profile {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
}
.recommend-nickname {
  font-size: 1.07rem;
  font-weight: 600;
  color: #222;
  min-width: 70px;
}
.recommend-visit {
  font-size: 0.98rem;
  color: #888;
  margin-left: auto;
  font-weight: 500;
}
.recommend-btn {
  width: 100%;
  background: #3b28bf;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.13rem;
  font-weight: 700;
  height: 44px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.recommend-btn:hover {
  background: #2a1e8a;
}
@media (max-width: 900px) {
  .summary-recommend-wrap {
    flex-direction: column;
    gap: 18px;
  }
  .summary-info-section,
  .recommend-blogger-section {
    width: 100%;
    max-width: 100%;
  }
}

/* 개발중 알림 레이어 팝업 */
.dev-alert-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.32);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.dev-alert-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(67, 56, 202, 0.18);
  padding: 38px 32px 28px 32px;
  min-width: 380px;
  max-width: 98vw;
  width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dev-alert-modal-title {
  font-size: 1.25rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.dev-alert-modal-btn {
  margin-top: 18px;
  background: #3b28bf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.13rem;
  font-weight: 400;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}
.dev-alert-modal-btn:hover {
  background: #2a1e8a;
}
@media (max-width: 600px) {
  .dev-alert-modal-content {
    min-width: 90vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .dev-alert-modal-title {
    font-size: 1.05rem;
  }
  .dev-alert-modal-btn {
    font-size: 1rem;
    padding: 13px 0;
  }
}

.single-ui {
  display: block;
}
.multi-ui {
  display: none;
}

/* 설문 3겹 팝업 */
.survey-step-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.32);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.survey-step-modal {
  position: absolute;
  width: 100%;
  max-width: 28rem;
  min-width: 280px;
  min-height: 340px;
  background: #fff;
  left: 0;
  right: 0;
  margin: auto;
}
.survey-step-modal-back2 {
  transform: rotate(6deg);
  z-index: 1;
  background: #fff;
  width: 100%;
  max-width: 28rem;
  min-width: 280px;
  min-height: 340px;
  border-radius: 16px;
}
.survey-step-modal-back1 {
  transform: rotate(3deg);
  z-index: 2;
  background: #fff;
  width: 100%;
  max-width: 28rem;
  min-width: 280px;
  min-height: 340px;
  border-radius: 16px;
}
.survey-step-modal-front {
  border-radius: 16px;
  padding: 38px 32px 28px 32px;
  z-index: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  min-height: 340px;
}
.survey-step-modal-close {
  position: absolute;
  top: 8px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #bbb;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.survey-step-modal-close:hover {
  color: #3b28bf;
}
.survey-step-modal-title {
  font-size: 1.25rem;
  color: #222;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 32px;
  text-align: center;
}
.survey-step-modal-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.survey-radio {
  font-size: 1.07rem;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.survey-step-modal-next {
  width: 100%;
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.survey-step-modal-next:hover {
  background: linear-gradient(90deg, #2a1e8a 60%, #2a1e8a 100%);
  box-shadow: 0 2px 8px rgba(59, 40, 191, 0.08);
}
@media (max-width: 600px) {
  .survey-step-modal {
    min-width: 90vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .survey-step-modal-title {
    font-size: 1.05rem;
  }
  .survey-step-modal-next {
    font-size: 1rem;
    padding: 13px 0;
  }
}

/* 쿠폰 팝업 카드 넓이 조정 */
.coupon-card {
  min-width: 320px;
  max-width: 420px;
  padding: 2rem 2.2rem;
}

/* 쿠폰 팝업은 min-height 적용 안함 */
#couponModalOverlay .survey-step-modal-front {
  min-height: unset;
}

/* 마이페이지 쿠폰 카드 */
.mypage-coupon-card {
  min-width: 260px;
  max-width: 100%;
  padding: 1.5rem 2rem;
  background: #fafbff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}
.mypage-coupon-empty {
  color: #767676;
  font-size: 1.08rem;
  text-align: center;
  padding: 2.5rem 0 2.5rem 0;
}
.mypage-cancel-btn {
  color: #767676;
  font-size: 0.98rem;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: underline;
}
.mypage-cancel-btn:hover {
  color: #3b28bf;
}
@media (max-width: 600px) {
  .mypage-coupon-card {
    min-width: 98vw;
    max-width: 98vw;
    padding: 1.1rem 2vw;
    flex-direction: column;
    gap: 10px;
  }
  .mypage-coupon-empty {
    font-size: 0.98rem;
    padding: 1.5rem 0 1.5rem 0;
  }
}

.mypage-upgrade-btn,
.mypage-coupon-btn {
  background: linear-gradient(90deg, #3b28bf 60%, #7b8fff 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 40, 191, 0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.mypage-upgrade-btn:hover,
.mypage-coupon-btn:hover {
  background: linear-gradient(90deg, #2a1e8a 60%, #2a1e8a 100%);
  color: #fff;
}
@media (max-width: 600px) {
  .mypage-upgrade-btn,
  .mypage-coupon-btn {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
/* 모자이크 효과를 위한 스타일 */
.mosaic-target {
  position: relative;
  color: transparent !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  background: repeating-linear-gradient(
    45deg,
    #e5e7eb,
    #e5e7eb 2px,
    #d1d5db 2px,
    #d1d5db 4px
  );
  user-select: none;
  pointer-events: none;
}

.mosaic-target .unlock-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #3b28bf;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
}

.mosaic-target .unlock-btn:hover {
  background: #2a1e8a;
}

.notice-list-btn {
  display: inline-block;
  background: #fff;
  color: #3b28bf;
  border: 1.5px solid #3b28bf;
  border-radius: 7px;
  padding: 8px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border 0.18s;
  text-decoration: none;
  margin-bottom: 8px;
}

.premium-discount-banner {
  background: #3b28bf;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59, 40, 191, 0.1);
  z-index: 2;
  letter-spacing: 0.2px;
  white-space: nowrap;
  position: relative;
}
.premium-discount-banner::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 10px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #3b28bf;
  width: 0;
  height: 0;
}
.premium-origin-price {
  color: #dedede;
  text-align: center;
  font-size: 1.01rem;
  text-decoration: line-through;
  margin-bottom: 2px;
  margin-top: -8px;
  padding-top: 4px;
  border-radius: 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.8;
}

div {
  word-break: keep-all;
}

.payment-modal {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(67, 56, 202, 0.13);
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 96vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.payment-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 0 2px 0;
}
.payment-modal-label {
  font-size: 1.05rem;
  color: #767676;
  font-weight: 500;
  flex: 1 1 0;
  text-align: left;
}
.payment-modal-value {
  font-size: 1.09rem;
  color: #222;
  font-weight: 600;
  flex: 1 1 0;
  text-align: right;
}
.payment-modal-btn {
  margin-top: 18px;
  background: linear-gradient(90deg, #3b28bf 60%, #3b28bf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 1.13rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}
.payment-modal-btn:hover {
  background: linear-gradient(90deg, #2a1e8a 60%, #2a1e8a 100%);
}
#paymentCouponSelect {
  min-width: 160px;
}

button:disabled,
.signup-btn:disabled,
.main:disabled {
  background: #e5e7eb !important;
  color: #b0b0b0 !important;
  border: none !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  box-shadow: none !important;
}

.loading-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.22);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-spinner {
  width: 54px;
  height: 54px;
  border: 6px solid #e5e7eb;
  border-top: 6px solid #3b28bf;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-overlay > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading-text {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0;
  text-shadow: 0 1px 6px rgba(34, 34, 34, 0.18), 0 0 2px #3b28bf;
}
.login-error {
  color: #e53935;
  background: #fff0f0;
  border: 1px solid #e53935;
  border-radius: 12px;
  padding: 7px 12px 7px 12px;
  margin-bottom: 14px;
  font-size: 0.97rem;
  text-align: center;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.06);
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
#single-remaining-count {
  font-size: 100%;
  color: #3b28bf;
  font-weight: 600;
  margin-left: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  #single-remaining-count {
    font-size: 0.98rem;
    margin-left: 0;
    margin-top: 8px;
  }
}
.mail-send-result-banner {
  background: #f3f4f6;
  color: #3b28bf;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(59, 40, 191, 0.06);
  border: 1px solid #e5e7eb;
}
.mail-send-result-banner.fail {
  color: #e53935;
  background: #fff0f0;
  border: 1px solid #e53935;
}

/* 스케줄링 팝업의 메일 내용 영역 스크롤 처리 */
#p_mail_content {
  max-height: 14rem;
  overflow-y: auto;
  word-wrap: break-word;
}

#sch_txt {
  max-height: 8rem;
  overflow-y: auto;
  word-wrap: break-word;
}

/* 스크롤바 스타일링 */
#sch_txt::-webkit-scrollbar {
  width: 6px;
}

#sch_txt::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#sch_txt::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

#sch_txt::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Login Page Rolling Banner */
.login-rolling-banner {
  position: relative;
  width: 80%;
  max-width: 500px;
  margin: 40px auto 0;
  color: #fff;
  text-align: center;
  height: 150px; /* Adjusted height */
}

.login-rolling-item {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  will-change: opacity;
}

.login-rolling-item.active {
  opacity: 1;
}

.login-rolling-title {
  font-size: 1.6rem; /* Slightly larger */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.login-rolling-subtitle {
  font-size: 1.15rem;
  color: #d1d5db; /* A tailwind color */
  line-height: 1.5;
}

.login-rolling-desc {
  font-size: 0.95rem;
  color: #9ca3af; /* A tailwind color */
  margin-top: 0.5rem;
}

/* mypage.html - withdrawReason select arrow spacing */
.custom_select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

/* 카드 등록 모달 스타일 */
#cardRegisterModalOverlay .card-input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  color: #374151;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#cardRegisterModalOverlay .card-input:focus {
  border-color: #3b28bf;
  box-shadow: 0 0 0 3px rgba(59, 40, 191, 0.1);
}

#cardRegisterModalOverlay .card-input::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

.mail-complete-icon {
  font-size: 2.5rem;
  color: #3b28bf;
  margin-bottom: 0.5rem;
}
.mail-complete-title {
  font-size: 2rem;
  font-weight: 800;
  color: #3b28bf;
  margin-bottom: 0.7rem;
}
.mail-complete-subtext {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}
.mail-complete-highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3b28bf;
  margin-bottom: 1.2rem;
}

.blog-link-btn {
  border: 1.5px solid #3b28bf;
  background: #fff;
  color: #3b28bf;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 6px 16px;
  transition: background 0.18s, color 0.18s, border 0.18s;
  text-decoration: none;
  display: inline-block;
}
.blog-link-btn:hover {
  background: #f3f4fd;
  color: #2a1e8a;
  border-color: #2a1e8a;
}

.bloglib-table th,
.bloglib-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 1rem;
}
.bloglib-table th {
  background: #f9fafb;
  font-weight: 600;
}
.bloglib-table tr:hover {
  background: #f3f4fd;
}
.bloglib-btn {
  border: 1.5px solid #3b28bf;
  background: #fff;
  color: #3b28bf;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 6px 16px;
  transition: background 0.18s, color 0.18s, border 0.18s;
  text-decoration: none;
  display: inline-block;
}
.bloglib-btn:hover {
  background: #f3f4fd;
  color: #2a1e8a;
  border-color: #2a1e8a;
}
.bloglib-badge-black {
  background: #e53935;
  color: #fff;
  font-size: 0.92rem;
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 700;
  margin-left: 6px;
}

.content-banner-primary {
  border: 1px solid rgba(59, 40, 191, 0.6);
  background: #fff;
  color: rgba(59, 40, 191, 0.85);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
  margin: 0;
  letter-spacing: 0.02em;
  display: inline-block;
}

.mail-alert-banner {
  background: #fffbe6;
  border: 1.5px solid #ffc1c1;
  color: #e53935;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mail-alert-banner i {
  color: #e53935;
  font-size: 1.2em;
  margin-right: 4px;
}

/* 카카오페이 버튼 이미지 스타일 */
#payKakaoBtn img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* 서비스 소개서 버튼 스타일 */
.service-guide-btn {
  background: #fff;
  color: #3b28bf;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, border 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
}
.service-guide-btn:hover {
  background: #f3f4fd;
  color: #2a1e8a;
  border-color: #2a1e8a;
  text-decoration: none;
}
.service-guide-btn i {
  font-size: 1.1em;
  margin-left: 2px;
}

/* 소개서 신청 레이어 팝업 스타일 */
#guideRequestModalOverlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.32);
  z-index: 99999;
}
#guideRequestModalOverlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
#guideRequestModal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(67, 56, 202, 0.18);
  padding: 38px 32px 28px 32px;
  min-width: 320px;
  max-width: 96vw;
  width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
}
@media (max-width: 600px) {
  #guideRequestModal {
    min-width: 90vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
}
#guideRequestModal input[type="text"],
#guideRequestModal input[type="email"] {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  color: #374151;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
  margin-top: 2px;
}
#guideRequestModal input[type="text"]:focus,
#guideRequestModal input[type="email"]:focus {
  border-color: #3b28bf;
  box-shadow: 0 0 0 2px rgba(59, 40, 191, 0.08);
}
#guideRequestModal label {
  font-size: 1rem;
  color: #222;
}
#guideRequestModal .accent-primary {
  accent-color: #3b28bf;
}
#guideRequestModal .flex.gap-2.mt-4 button {
  min-width: 0;
}
#guideRequestModal .flex.gap-2.mt-4 button:last-child {
  font-weight: 700;
}
#guideRequestModal .flex.gap-2.mt-4 button:first-child {
  background: #f7f7fa;
}
#guideRequestModal .flex.gap-2.mt-4 button:first-child:hover {
  background: #ececec;
}
#guideRequestModal .flex.gap-2.mt-4 button {
  transition: background 0.18s, color 0.18s, border 0.18s;
}

/* 제휴 문의 폼 스타일 */
.partner-request-form {
  max-width: 600px;
  margin: 0 auto;
}

.partner-request-form input[type="text"],
.partner-request-form input[type="email"],
.partner-request-form textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  color: #374151;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.partner-request-form input[type="text"]:focus,
.partner-request-form input[type="email"]:focus,
.partner-request-form textarea:focus {
  border-color: #3b28bf;
  box-shadow: 0 0 0 2px rgba(59, 40, 191, 0.08);
}

.partner-request-form label {
  font-size: 1rem;
  color: #222;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.partner-request-form .required {
  color: #e53935;
  font-weight: 600;
}

.partner-request-form .privacy-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.partner-request-form .privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.partner-request-form .privacy-checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #3b28bf;
  flex-shrink: 0;
}

.partner-request-form .privacy-label {
  flex: 1;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.partner-request-form .privacy-view-btn {
  font-size: 14px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-left: 8px;
  padding: 0;
  flex-shrink: 0;
}

.partner-request-form .privacy-view-btn:hover {
  color: #3b28bf;
}

.partner-request-form .submit-btn {
  width: 100%;
  background: #3b28bf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 12px;
}

.partner-request-form .submit-btn:hover {
  background: #2a1e8a;
}

/* 개인정보 모달 스타일 */
#privacyModalOverlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.32);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#privacyModal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(67, 56, 202, 0.18);
  padding: 32px;
  min-width: 320px;
  max-width: 96vw;
  width: 600px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  margin: auto;
}

#privacyModal .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 24px;
}

#privacyModal .modal-content {
  color: #374151;
  line-height: 1.6;
  font-size: 14px;
}

#privacyModal .modal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 16px 0 8px 0;
}

#privacyModal .modal-content p {
  margin-bottom: 12px;
  padding-left: 16px;
}

#privacyModal .modal-content .pl-4 {
  padding-left: 16px;
}

#privacyModal .modal-close-btn {
  background: #3b28bf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 24px;
}

#privacyModal .modal-close-btn:hover {
  background: #2a1e8a;
}

@media (max-width: 600px) {
  .partner-request-form {
    padding: 0 16px;
  }

  #privacyModal {
    margin: 16px;
    padding: 24px 20px;
    max-height: 90vh;
  }

  .partner-request-form .submit-btn {
    font-size: 16px;
    padding: 14px 20px;
  }
}

/* 블로그 라이브러리 추가정보 토글 스타일 */
.bloglib-toggle-btn {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.bloglib-toggle-btn.expanded {
  border-radius: 8px 8px 0 0;
}

.bloglib-toggle-btn:hover {
  background: #f3f4fd;
  border-color: #3b28bf;
}

.bloglib-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 40, 191, 0.1);
}

.additional-info-section {
  border: 1px solid #e5e7eb;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: #fafbfc;
  margin-top: 0;
  border-top: none;
}

.additional-info-section .space-y-3 > * + * {
  margin-top: 12px;
}

#toggleIcon.rotated {
  transform: rotate(180deg);
}

/* 폼 내부 요소들의 간격 조정 */
#addEditForm > *:not(.additional-info-section) {
  margin-bottom: 16px;
}

#addEditForm > .bloglib-toggle-btn {
  margin-bottom: 0;
}

#addEditForm > .additional-info-section {
  margin-top: 0;
  margin-bottom: 16px;
}

/* CKEditor mailBody 스크롤 처리 */
#mailBody,
.ck-editor__editable {
  max-height: 16rem;
  overflow-y: auto;
}

/* CKEditor 컨테이너 전체 높이 제한 */
.ck.ck-editor {
  max-height: 18rem;
}

.ck.ck-editor .ck-editor__editable {
  max-height: 15rem;
  overflow-y: auto;
  min-height: 8rem;
}

/* 메일 설정 모달 전체 높이 제한 */
#mailSettingOverlay .bg-white,
#schOverlay .bg-white {
  max-height: 85vh;
  overflow-y: auto;
}

/* 스크롤바 스타일링 */
.ck.ck-editor .ck-editor__editable::-webkit-scrollbar {
  width: 6px;
}

.ck.ck-editor .ck-editor__editable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.ck.ck-editor .ck-editor__editable::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.ck.ck-editor .ck-editor__editable::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
