.popup-trigger {
  color: #0057b8;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 16, 28, 0.6);
  backdrop-filter: blur(3px);
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 20px;
}

.popup-overlay.is-open {
  display: block;
  overflow-y: auto;
  height: 100%;
}

.popup-box {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  margin: 0 auto;
  padding: 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.popup-body blockquote {
  border-left: none;
  margin: 0;
  padding: 0;
}
.popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 48px 56px 24px 56px;
  border-bottom: 1px solid #eaeef4;
  flex-shrink: 0;
}

.popup-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d1b2e;
}

.popup-close {
  background: #f1f4f9;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3a4a60;
  cursor: pointer;
}

.popup-close:hover {
  background: #e2e8f2;
}

.popup-header .popup-close {
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 50%;
  line-height: 1;
}

.popup-body {
  padding: 32px 56px;
  color: #3a4a60;
  font-size: 1rem;
  line-height: 1.7;
  overflow-y: auto;
  flex: 1;
}

.popup-body p { margin: 0 0 1em; }
.popup-body p:last-child { margin-bottom: 0; }

.popup-footer {
  padding: 16px 56px 32px 56px;
  display: block;
  text-align: right;
  border-top: 1px solid #eaeef4;
  flex-shrink: 0;
}

.popup-footer .popup-close {
  padding: 10px 24px;
  background: #f1f4f9;
  color: #3a4a60;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px !important;
  display: inline-block;
}
.popup-close-btn {
  padding: 10px 24px;
  background: #f1f4f9;
  color: #3a4a60;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.popup-overlay.is-open {
  display: block;
  overflow-y: auto;
  height: 100%;
}
.popup-close-btn:hover {
  background: #e2e8f2;
}
.popup-close-footer {
  padding: 10px 24px;
  background: #f1f4f9;
  color: #3a4a60;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.popup-close-footer:hover {
  background: #e2e8f2;
}

@media (max-width: 600px) {
  .popup-overlay {
    padding: 20px 12px;
  }

  .popup-box {
    border-radius: 16px;
    width: 100%;
  }

  .popup-header {
    padding: 24px 20px 16px 20px;
  }

  .popup-body {
    padding: 20px;
  }

  .popup-footer {
    padding: 12px 20px 24px 20px;
  }
}
}