.auth-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.auth-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-family: "Coolvetica", sans-serif;
  font-size: 2.2rem;
  color: #121212;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.auth-header p {
  color: #666666;
  font-size: 0.95rem;
  margin: 0;
}

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

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-group input {
  width: 100%;
  padding: 14px 45px 14px 16px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  color: #121212;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

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

.input-group input::placeholder {
  color: #a1a1a6;
}

.input-group i.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #86868b;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.input-group i.toggle-password:hover {
  color: #121212;
}

.auth-btn {
  background: #121212;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  margin-top: 5px;
}

.auth-btn:hover {
  background: #2c2c2e;
  transform: translateY(-1px);
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #666666;
}

.auth-switch span {
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  margin-left: 3px;
}

.auth-switch span:hover {
  text-decoration: underline;
}

.hidden-auth {
  display: none !important;
}