.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.exit-popup__inner {
  background: rgba(255,255,255,0.95);
  padding: 30px 28px 24px;
  border-radius: 24px;
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1d1d1f;
}

.exit-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #86868b;
  padding: 4px;
  line-height: 1;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.exit-popup__close:hover { background: rgba(0,0,0,0.1); }

h2 { color: #1d1d1f; font-size: 22px; font-weight: 600; margin: 0 0 6px; line-height: 1.2; letter-spacing: -0.01em; }
p { font-size: 15px; color: #86868b; margin: 0 0 22px; font-weight: 400; line-height: 1.4; }

.popup-input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: #1d1d1f;
  background: #f5f5f7;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.popup-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%2386868b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.popup-btn {
  background: #ffffff;
  color: #2B6CB0;
  border: 2px solid #2B6CB0;
  padding: 13px 28px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.popup-btn:hover {
  background: #EFF6FF;
  color: #1e5a8e;
  border-color: #1e5a8e;
}

.popup-btn:active { transform: scale(0.98); }

.privacy-notice {
  font-size: 11px;
  color: #86868b;
  margin-top: 16px;
  line-height: 1.3;
  font-weight: 400;
}

/* Notification */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000;
  pointer-events: none;
}

.notification {
  background: #ffffff;
  border: 2px solid var(--border-color, #ef4444);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  pointer-events: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  animation: slideIn 0.3s ease-out;
  margin-bottom: 12px;
}

.notification.success { --border-color: #2B6CB0; }
.notification.error   { --border-color: #ef4444; }

.notification__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.notification.success .notification__icon { background: #EFF6FF; color: #2B6CB0; }
.notification.error   .notification__icon { background: #fef2f2; color: #ef4444; }

.notification__text {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

@keyframes slideIn  { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; } }