/* WebPush Modal */
.webpush-modal,
.webpush-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.webpush-modal .wp-modal-card,
.webpush-alert-modal .wp-modal-card {
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.webpush-modal .wp-modal-body,
.webpush-alert-modal .wp-modal-body {
  padding: 28px 26px 18px;
  text-align: center;
}

.webpush-modal .wp-modal-title,
.webpush-alert-modal .wp-modal-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
  color: #111;
}

.webpush-modal .wp-modal-desc,
.webpush-alert-modal .wp-modal-desc {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.2px;
  color: #111;
  text-align: left;
}

.webpush-modal .wp-modal-desc .muted,
.webpush-alert-modal .wp-modal-desc .muted {
  color: #444;
}

.webpush-modal .wp-modal-footer,
.webpush-alert-modal .wp-modal-footer {
  padding: 0 26px 24px;
  display: flex;
  justify-content: center;
}

.webpush-modal .wp-modal-btn,
.webpush-alert-modal .wp-modal-btn {
  width: 100%;
  max-width: 220px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #0b0b0b;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.webpush-alert-modal.is-text-only .wp-modal-desc {
  text-align: center;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#livePushModal,
#marketingSettingModal {
  display: none;
}

#livePushModal.active,
#marketingSettingModal.active {
  display: flex;
}

#livePushModal .wp-text-left {
  text-align: left;
  color: #444;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.2px;
  margin-top: 19px;
}

#livePushModal .wp-modal-section legend {
  visibility: unset !important;
  position: unset !important;
  width: unset !important;
  height: unset !important;
  line-height: unset !important;
  font-weight: bold;
}

#livePushModal .wp-modal-section legend .muted {
  font-weight: normal !important;
}

.mb-19 {
  margin-bottom: 19px;
}

.wp-radio-row {
  cursor: pointer;
}

#webPushMyPopup #openWebPushSettingBtn,
#webPushMyPopup #openMarketingSettingBtn button span {
  font-size: 16px;
}

#webPushMyPopup #openMarketingSettingBtn button span {
  font-weight: bold;
}

.web-push-wrapper.web-push-wrapper,
.wpn-subscribed #landingWebPushStickyContent,
.web-push-off-btn,
.webpush-logged-active {
  display: none;
}

.web-push-wrapper.active,
.wpn-wpn-unsubscribed #landingWebPushStickyContent {
  display: block;
}

.webpush-modal .wp-modal-desc.scroll-desc {
  min-height: 200px;
  overflow-y: auto;
}

.wpn-subscribed .web-push-off-btn.active {
  display: none;
}

.wpn-subscribed .popup-container-live.active {
  display: none;
}

body.wpn-subscribed.popup-open {
  overflow: unset !important;
}

.wp-modal-body {
  position: relative;
}

.wp-modal-body .close-popup-btn {
  position: absolute;
  top: 17px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕',
    sans-serif !important;
}

#pre-permission-dim,
#alert-dim {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(20, 20, 20, 0.75);
  display: flex;
  justify-content: center;
  padding-top: 12px;
}
/* WebPush Modal END*/

/* 싱크형 주석 처리 */
/*[module="member_login"] {*/
/*    display: none !important;*/
/*}*/

.footer_left .info_row {
    margin-bottom: 0;
}

.footer_left .info_row .label {
    margin-right: 0;
}

.info_row.api-footer {
    white-space: pre-line;
}

#installBtn {
    margin-top: 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff4d4f, #ff6a00);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all .25s ease;
}

/* 싱크형, 플친형 관련 버튼 숨김 처리*/
/* TOP*/
.is-app .favorite-top-sync.active,
.is-app .favorite-top-plus.active,
/* MID */
.is-app  #kakao-sync-login.active,
.is-app #kakao-plus-login.active,
/* ?*/
.is-app #syncSubscript.active,
.is-app #plusSubscript.active,
/* 2형 LIST BLOCK*/
.is-app .live-group-blocker,
/* 2형 LIST LOGIN BTN*/
.is-app .card-profile-box .btn-profile-favorite,
/* FOOTER FIXED BTN */
.is-app #landingSyncStickyContent.active,
.is-app #landingPlusStickyContent.active {
    display: none;
}

.mr-15 {
    margin-right: 15px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    z-index: 1100;
}

.modal .modal-content {
    background: #fff;
}

.modal .push-settings {
    width: 100%;
    max-width: 700px;
    background: #fff;
    height: 100%;
}

.modal .popup-header {
    align-items: center;
    justify-content: flex-start;
}

.modal .back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    z-index: 1;
}

.modal .popup-titles{
   line-height: unset;
}

.modal .settings-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.modal .settings-text {
    max-width: 80%;
}

.modal .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal .desc {
    font-size: 14px;
    line-height: 1.3;
    color: #777;
}

.modal .desc .marketing-notice {
    font-size: 11px;
    color: #a1a0a0;
    margin-top: 7px;
}

/* toggle */

.modal .switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.modal .switch input {
    display: none;
}

.modal .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .3s;
}

.modal .slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.modal .switch input:checked + .slider {
    background: #ff2d78;
}

.modal .switch input:checked + .slider:before {
    transform: translateX(20px);
}

/* 세부 셋팅*/
.confirm-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.confirm-popup.active {
    display: flex;
}

.confirm-popup-content {
    width: 100%;
    max-width: 332px;
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px 20px;
    box-sizing: border-box;
}

.confirm-popup-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    word-break: keep-all;
}

.confirm-popup-desc {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    word-break: keep-all;
}

.confirm-popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.confirm-popup-btn {
    flex: 1;
    height: 48px;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.confirm-popup-btn.is-cancel {
    color: #111;
}

.confirm-popup-btn.is-confirm {
    color: #ff2f7d;
}

/* 앱, 웹 상태 Style*/
body.is-app #installBtn {
    display: none;
}

.is-web .logged-in-container {
    display: none;
}
