body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #e8f0ff, #cfe2ff);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main App Card */
.app-container {
  width: 95%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 25px 20px;
  text-align: center;
  max-height: 95vh;
  overflow: hidden;
}

h1 {
  margin-bottom: 15px;
  color: #0056b3;
}

/* Form Wrapper */
.form-wrapper {
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 5px;
}

/* Scrollbar */
.form-wrapper::-webkit-scrollbar {
  width: 6px;
}

.form-wrapper::-webkit-scrollbar-thumb {
  background: #b0c4ff;
  border-radius: 6px;
}

/* Form Design */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7ff;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f8faff;
}

.form-group input:focus {
  border-color: #007bff;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 6px rgba(0,123,255,0.3);
}

/* Button */
.signup-btn {
  margin-top: 10px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,123,255,0.3);
}

/* Links */
.links {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}

.links a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

/* Loading Overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.overlay-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
#signup-name {
  text-transform: uppercase;
}
#signup-state {
  text-transform: uppercase;
}
#signup-district {
  text-transform: uppercase;
}
#signup-city {
  text-transform: uppercase;
}