.popup-overlay {
  display: none;
  position: fixed;
  z-index: 1010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,32,96,0.50);
}
.popup-modal {
  display: none;
  position: fixed;
  z-index: 1020;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}
.popup-modal.active,
.popup-overlay.active {
  display: flex;
}
.popup-content {
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 6px 32px rgba(0,32,96,0.15);
  width: 340px;
  max-width: 92vw;
  border-top: 8px solid #1565c0;
  position: relative;
  animation: popupShow 0.24s cubic-bezier(.4,0,.2,1);
}
@keyframes popupShow {
  from { transform: translateY(-24px) scale(0.96); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.popup-content h2 {
  color: #1565c0;
  font-family: Poppins, Arial, sans-serif;
  margin-bottom: 24px;
  text-align: center;
}
.popup-content label {
  display: block;
  color: #1565c0;
  margin-bottom: 6px;
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
}
.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid #1565c0;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color .2s;
}
.popup-content input:focus {
  border-color: #1e88e5;
  outline: none;
}
.popup-btn {
  width: 100%;
  background: linear-gradient(90deg,#1976d2,#42a5f5);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  padding: 12px 0;
  margin-top: 10px;
  cursor: pointer;
  transition: background .2s;
  font-family: Poppins, Arial, sans-serif;
}
.popup-btn:hover {
  background: linear-gradient(90deg,#1565c0,#1976d2);
}
.close-btn {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 28px;
  color: #1976d2;
  cursor: pointer;
  font-weight: bold;
  transition: color .2s;
}
.close-btn:hover {
  color: #0d47a1;
}
.popup-content p {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}
.popup-content a {
  color: #1565c0;
  text-decoration: underline;
  cursor: pointer;
}