.nl-popup {
    display: none;
}

.nl-popup.show {
    display: flex;
}
.h-relative{
  position: relative;
}
.h-countdown{
    position: absolute;
    right: 10px;
    top: 14px;
    font-size: 14px;
    color: #E94848;
}
.switch {
  position: relative;
  display: inline-block;
  width: 39px;
  height: 21px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch input:checked + .slider {
  background-color: #0064ff;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #0064ff;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.switch .slider.round {
  border-radius: 21px;
}

.switch .slider.round:before {
  border-radius: 50%;
}
.cursor-not-allowed {
    cursor: not-allowed;
}
.payment-card .text-toss-blue {
  display: none;
}
input:checked ~ .payment-card {
  background-color:
 color-mix(in oklab, var(--toss-blue) 5%, transparent);
 border-color: var(--toss-blue);
}
input:checked ~ .payment-card .text-toss-blue {
  display: block;
}

@media only screen and (max-width: 360px) {
  :root {
    --font-size: 13px;
  }
}
.nl-tab {
      color: var(--color-gray-600);
}
.nl-tab.active {
      color: var(--color-white);
          background-color: var(--toss-blue);
}
.page-layout {
  height: 100%;
}
button {
  cursor: pointer;
}
.nl-popup .modal-content {
  max-height: calc(100vh - 150px);
}

.payment-button {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    background-color: #107BE6;
    border: none;
    border-radius: 10px;
    height: 50px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px calc(30px + 78px) 20px;
    min-height: 100%;
    width: 100%;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
}


.success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 400;
}

.success-icon-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon {
    width: 120px;
    height: 120px;
}

.success-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.success-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

.success-button {
    width: 100%;
    height: 50px;
    background-color: #107BE6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
}
.nl-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 14px 20px;
    display: flex;
    background-color: #FFFFFF;
    gap: 10px;
    max-width: var(--limit-width);
    margin: auto;
    align-items: center;
    justify-content: center;
}
.nl-fixed-bottom .nl-container {
  width: 100%;
  max-width: var(--auth-page-max-width);
  display: flex;
}
.terms-item .nl-content {
  max-height: 150px;
  min-height: 50px;
  overflow-y: auto;
  background-color: var(--color-gray-50);
  white-space: pre-wrap;
  word-wrap: break-word;
  padding-left: 30px;
}
.nl-tabs {
  overflow: auto;
}
.nl-tabs .nl-tab {
  min-width: fit-content;
  white-space: nowrap;
}
.bg-\[\#3182F6\] {
    background-color: #3182f6;
}
.bg-orange-50 {
    background-color: var(--color-orange-50);
}
.text-\[\#3182F6\] {
    color: #3182f6;
}
.nl-contact-tabs {
  top: var(--header-height);
  z-index: 100;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #fff;
}
.nl-contact-tabs .nl-tab {
      color: var(--color-gray-600);
      border-color: var(--color-gray-200);
    border-style: var(--tw-border-style);
    border-width: 1px;
}
.nl-contact-tabs .nl-tab.active {
  background-color: #3182f6;
  color: #fff;
  border: 0;
}
.h-empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 180px);
}
.h-empty img{
    margin-bottom: 20px;
}
.h-empty p{
    color: #7F8994;
    font-size: 14px;
}
.h-new-message{
    position: relative;
}
.h-new-message img{
  position: absolute;
  top: -6px;
  right: -6px;
}
.overlay-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.6);
    display: none;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: #3182f6;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
  }
/* Notice Popup Modal - Shopee Style */
.notice-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notice-popup-modal.show {
  opacity: 1;
  visibility: visible;
}

.notice-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.notice-popup-container {
  position: relative;
  background: white;
  border-radius: 12px;
  width: calc(100% - 40px);
  max-width: 400px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.notice-popup-modal.show .notice-popup-container {
  transform: scale(1) translateY(0);
}

.notice-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #F0F0F0;
}

.notice-popup-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.notice-popup-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.notice-popup-header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.notice-popup-close {

  width: 36px;
  height: 36px;
  background: #F5F5F5;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  padding: 0;
}

.notice-popup-close:hover {
  background: #E5E5E5;
  color: #333;
}

.notice-popup-close:active {
  background: #D5D5D5;
  transform: scale(0.95);
}


.notice-popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #191F28;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
  flex: 1;
  min-width: 0;
}

.notice-popup-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 500px;
  max-height: calc(80vh - 100px);
}

.notice-popup-content {
  font-size: 14px;
  line-height: 1.7;
  color: #4E5968;
  /* white-space: pre-wrap; */
  word-wrap: break-word;
  text-align: left;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .notice-popup-container {
      width: calc(100% - 40px);
      border-radius: 12px;
      border-width: 2px;
      max-height: 85vh;
  }
  
  .notice-popup-header {
      padding: 14px 16px;
  }
  
  .notice-popup-icon {
      font-size: 20px;
  }
  
  .notice-popup-title {
      font-size: 1.25rem;
  }
  
  .notice-popup-body {
      padding: 16px;
      min-height: 500px;
      max-height: calc(85vh - 80px);
  }
  
  .notice-popup-content {
      font-size: 14px;
      line-height: 1.6;
  }
  
  .notice-popup-close {
      width: 28px;
      height: 28px;
  }
}

/* Tablet and larger screens */
@media (min-width: 769px) {
  .notice-popup-container {
      max-width: 450px;
  }
}