.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 320px;
  max-width: 90%;
  position: relative;
}
.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}
.close:hover {
  color: #000;
}
.modal-content h2 {
  color: #0288d1;
  margin-bottom: 10px;
  font-size: 1.3em;
}
.modal-content form {
  margin: 15px 0;
}
.modal-content label {
  display: block;
  margin: 8px 0 3px;
  color: #333;
  font-size: 0.9em;
}
.modal-content input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 0.9em;
}
.modal-content button {
  background: #0288d1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  margin: 8px 0;
  font-size: 0.9em;
}
.modal-content button:hover {
  background: #01579b;
}
.auth-section {
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid #eee;
}
.auth-section:first-child {
  border-top: none;
}
.auth-section h3 {
  color: #0277bd;
  margin-bottom: 8px;
  font-size: 1em;
}
.auth-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-btn {
  padding: 8px 15px;
  font-size: 13px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.donor-btn {
  background: #4CAF50;
  color: white;
}
.donor-btn:hover {
  background: #45a049;
}
.ngo-btn {
  background: #FF9800;
  color: white;
}
.ngo-btn:hover {
  background: #f57c00;
}
.signup-donor-btn {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #4CAF50;
}
.signup-donor-btn:hover {
  background: #4CAF50;
  color: white;
}
.signup-ngo-btn {
  background: #fff3e0;
  color: #ef6c00;
  border: 1px solid #FF9800;
}
.signup-ngo-btn:hover {
  background: #FF9800;
  color: white;
}