body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #81936a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-sizing: border-box;
}

.logo {
  width: 120px; /* Adjust as needed */
  margin-bottom: 30px;
}

.logo-small {
  width: 80px;
  margin-bottom: 20px;
}

.spinner {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

.loading-text {
  font-size: 1.5em;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 2px;
}

.coming-soon-text {
  font-size: 1.5em;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.dots::after {
  content: "";
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Signup/Login Container Styles */
.signup-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.signup-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signup-card h1 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 600;
}

.subtitle {
  color: #666;
  margin: 0 0 30px 0;
  font-size: 16px;
}

/* Form Styles */
.signup-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #81936a;
}

.signup-btn {
  width: 100%;
  padding: 15px;
  background: #81936a;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.signup-btn:hover {
  background: #6b7d5a;
}

.signup-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
}

.divider span {
  background: white;
  padding: 0 15px;
  color: #666;
  font-size: 14px;
}

/* Google Button */
.google-btn {
  width: 100%;
  padding: 15px;
  background: white;
  color: #333;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn:hover {
  border-color: #81936a;
  background: #f8f9fa;
}

/* Login Link */
.login-link {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.login-link a {
  color: #81936a;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Signup Link (smaller and more subtle) */
.signup-link {
  margin-top: 20px;
  color: #666;
  font-size: 13px;
  text-align: center;
}

.signup-link a {
  color: #81936a;
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Success Screen */
.success-icon {
  width: 80px;
  height: 80px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  font-size: 40px;
  color: white;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-message {
  color: #666;
  font-size: 16px;
  margin-top: 20px;
}

/* Error Messages */
.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 14px;
  border: 1px solid #ffcdd2;
}

/* Loading State */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 480px) {
  .signup-container {
    padding: 10px;
  }
  
  .signup-card {
    padding: 30px 20px;
  }
  
  .signup-card h1 {
    font-size: 24px;
  }
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 10px;
}

.strength-bar {
  width: 100%;
  height: 6px;
  background: #e1e5e9;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.strength-fill.weak {
  background: #ff6b6b;
  width: 25%;
}

.strength-fill.fair {
  background: #ffa726;
  width: 50%;
}

.strength-fill.good {
  background: #66bb6a;
  width: 75%;
}

.strength-fill.strong {
  background: #81936a;
  width: 100%;
}

.strength-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  font-weight: 500;
}

/* Password Requirements */
.password-requirements {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e1e5e9;
}

.requirement {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
}

.requirement:last-child {
  margin-bottom: 0;
}

.requirement-icon {
  margin-right: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.requirement.met .requirement-icon {
  color: #81936a;
  content: "✓";
}

.requirement.met .requirement-icon::before {
  content: "✓";
}

.requirement:not(.met) .requirement-icon::before {
  content: "○";
}

.requirement.met .requirement-text {
  color: #81936a;
  font-weight: 500;
}

.requirement-text {
  flex: 1;
}

/* Login Page Styles */
.login-title {
  font-size: 2em;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 20px 0 10px 0;
  text-transform: lowercase;
}

.login-subtitle {
  font-size: 1.2em;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 30px 0;
  text-transform: lowercase;
}

.login-form {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
}

.login-form .form-group {
  margin-bottom: 15px;
}

.login-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: 'Courier New', monospace;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Courier New', monospace;
}

.login-form input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: #ffffff;
  color: #81936a;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Divider for login page */
.login-form + .divider {
  margin: 20px 0;
  position: relative;
  text-align: center;
}

.login-form + .divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.login-form + .divider span {
  background: #81936a;
  padding: 0 15px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

/* Google button for login page */
#googleLogin {
  width: 100%;
  max-width: 300px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: lowercase;
  letter-spacing: 1px;
}

#googleLogin:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

/* Signup Link (smaller and more subtle) */
.signup-link {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.signup-link a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Responsive Design for Login Page */
@media (max-width: 768px) {
  .center {
    padding: 10px;
    max-width: 100%;
  }
  
  .logo-small {
    width: 80px;
    margin-bottom: 20px;
  }
  
  .login-title {
    font-size: 2.2em;
    margin: 15px 0 8px 0;
  }
  
  .login-subtitle {
    font-size: 1.3em;
    margin: 0 0 25px 0;
  }
  
  .login-form {
    max-width: 320px;
    width: 100%;
  }
  
  .login-form input {
    padding: 18px 15px;
    font-size: 18px;
    border-radius: 12px;
  }
  
  .login-btn {
    padding: 18px 15px;
    font-size: 18px;
    border-radius: 12px;
  }
  
  #googleLogin {
    max-width: 320px;
    padding: 18px 15px;
    font-size: 18px;
    border-radius: 12px;
  }
  
  .signup-link {
    font-size: 16px;
    margin-top: 25px;
  }
  
  .divider span {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .center {
    padding: 15px;
  }
  
  .logo-small {
    width: 70px;
    margin-bottom: 18px;
  }
  
  .login-title {
    font-size: 2em;
    margin: 12px 0 6px 0;
  }
  
  .login-subtitle {
    font-size: 1.2em;
    margin: 0 0 22px 0;
  }
  
  .login-form {
    max-width: 300px;
  }
  
  .login-form input {
    padding: 16px 15px;
    font-size: 17px;
  }
  
  .login-btn {
    padding: 16px 15px;
    font-size: 17px;
  }
  
  #googleLogin {
    max-width: 300px;
    padding: 16px 15px;
    font-size: 17px;
  }
  
  .signup-link {
    font-size: 15px;
    margin-top: 22px;
  }
}

@media (min-width: 769px) {
  .center {
    padding: 20px;
    max-width: 400px;
  }
  
  .logo-small {
    width: 80px;
    margin-bottom: 20px;
  }
  
  .login-title {
    font-size: 2em;
    margin: 20px 0 10px 0;
  }
  
  .login-subtitle {
    font-size: 1.2em;
    margin: 0 0 30px 0;
  }
  
  .login-form {
    max-width: 300px;
  }
  
  .login-form input {
    padding: 15px;
    font-size: 16px;
  }
  
  .login-btn {
    padding: 15px;
    font-size: 16px;
  }
  
  #googleLogin {
    max-width: 300px;
    padding: 15px;
    font-size: 16px;
  }
  
  .signup-link {
    font-size: 14px;
    margin-top: 30px;
  }
}
