/* === auth.css (shared styling) === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f2f7f5;
  color: #333;
}

.top-bar {
  background: #ffffff;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 48px;
}

.form-container {
  max-width: 400px;
  margin: 60px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  font-size: 1.6em;
}

form {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

button {
  padding: 12px;
  background-color: #8ecae6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #219ebc;
}

.alt-link {
  margin-top: 20px;
  font-size: 0.95em;
}

/* === Modal Popups === */
.popup-overlay {
  position: fixed;
  display: none;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  max-width: 400px;
  width: 90%;
}

.popup-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.popup-buttons button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.confirm-btn {
  background-color: #0099ff;
  color: white;
}

