.auth-form-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-form-container h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #e91e63;
  font-weight: 600;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.2);
}

.form-group .flex {
  display: flex;
  align-items: center;
}

.form-group .ml-2 {
  margin-left: 8px;
}

.auth-button {
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-button:hover {
  background-color: #d81b60;
}

.auth-links {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
}

.auth-links a {
  color: #e91e63;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.btn-link {
  display: inline-block;
  color: #e91e63;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
}

.btn-link:hover {
  text-decoration: underline;
}

.flash {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.flash.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

.flash.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #4ade80;
}

.flash.info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #60a5fa;
}

.flash.warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}

/* Social authentication styles */
.social-auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

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

.social-auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: -1;
}

.social-auth {
  margin-bottom: 20px;
}

.google-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  gap: 8px;
}

.google-auth-button:hover {
  border-color: #ccc;
  background: #f8f9fa;
  text-decoration: none;
}

/* Enhanced mobile responsive styles */
@media screen and (max-width: 768px) {
  .auth-form-container {
    margin: 15px;
    padding: 25px 20px;
    max-width: calc(100% - 30px);
  }
  
  .auth-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .form-group input[type="email"],
  .form-group input[type="password"],
  .form-group input[type="text"] {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 12px;
    min-height: 48px;
    box-sizing: border-box;
  }
  
  .auth-button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    min-height: 56px;
    margin: 20px 0;
    box-sizing: border-box;
  }
  
  .google-auth-button {
    padding: 14px 12px;
    font-size: 16px;
    min-height: 52px;
    box-sizing: border-box;
  }
  
  .form-group {
    margin-bottom: 18px;
  }
  
  .auth-links {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .btn-link {
    font-size: 14px;
    padding: 8px 0;
    display: inline-block;
  }
}

@media screen and (max-width: 480px) {
  .auth-form-container {
    margin: 10px;
    padding: 20px 15px;
    max-width: calc(100% - 20px);
  }
  
  .auth-form-container h2 {
    font-size: 1.6rem;
  }
  
  .form-group input[type="email"],
  .form-group input[type="password"],
  .form-group input[type="text"] {
    padding: 16px 12px;
    min-height: 52px;
  }
  
  .auth-button {
    padding: 18px;
    font-size: 16px;
    min-height: 60px;
  }
  
  .google-auth-button {
    padding: 16px 12px;
    min-height: 56px;
  }
  
  .auth-links {
    font-size: 13px;
  }
  
  .auth-links a {
    display: inline-block;
    margin: 4px 0;
  }
}

/* Public page navigation styles */
.public-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
}

.public-nav a {
  color: #666;
  text-decoration: none;
  margin: 0 10px;
  padding: 8px 4px;
  display: inline-block;
}

.public-nav a:hover {
  color: #e91e63;
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .public-nav a {
    display: inline-block;
    margin: 4px 8px;
    font-size: 12px;
  }
}
