/* FILE: /assets/css/upgrade-modal.css */

.pw-hidden { display: none !important; }

.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.pw-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.pw-modal__box {
  position: relative;
  width: 460px;
  max-width: 92vw;
  background: #fff;
  border-radius: 14px;
  padding: 26px 26px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.pw-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}
.pw-modal__close:hover { opacity: 1; }

.pw-modal__title {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.pw-modal__sub {
  margin: 0 0 14px 0;
  font-size: 14px;
  color: #333;
}

.pw-modal__list {
  margin: 0 0 16px 0;
  padding: 0 0 0 18px;
  color: #111;
  font-size: 14px;
}
.pw-modal__list li { margin: 7px 0; }

.pw-modal__price {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  background: #fafafa;
}
.pw-modal__price-main {
  font-size: 26px;
  font-weight: 900;
}
.pw-modal__price-main span {
  font-size: 14px;
  font-weight: 700;
  opacity: .7;
}
.pw-modal__price-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: .8;
}

.pw-modal__actions { display: grid; gap: 10px; }

.pw-btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
}

.pw-btn--primary {
  background: #d60000;
  color: #fff;
}
.pw-btn--primary:hover { filter: brightness(.95); }

.pw-btn--ghost {
  background: transparent;
  border-color: #ddd;
  color: #111;
}
.pw-btn--ghost:hover { background: #f4f4f4; }

.pw-modal__fineprint {
  margin-top: 12px;
  font-size: 11px;
  color: #666;
  text-align: center;
}
