.header-top {
  background: #1a1817 !important;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
}
.header-top p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdf8f5 0%, #f5e6dc 100%);
}

.auth-box {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

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

.auth-header h2 {
  font-size: 32px;
  color: #8b4513;
  margin-bottom: 10px;
}

.auth-header p {
  color: #6b4226;
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid #e8d5c4;
}

.auth-tab {
  flex: 1;
  padding: 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #6b4226;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.auth-tab.active {
  color: #8b4513;
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #8b4513;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

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

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8d5c4;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: #8b4513;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b4226;
  cursor: pointer;
}

.password-hint {
  color: #6b4226;
  font-size: 12px;
  display: block;
  margin-top: 5px;
}

.forgot-password {
  text-align: right;
  margin-top: 8px;
}

.forgot-password a {
  color: #8b4513;
  font-size: 14px;
  text-decoration: none;
}

.social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.social-divider::before,
.social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8e4e0;
}
.social-divider span {
  font-size: 12px;
  color: #aaa;
  white-space: nowrap;
}
.social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1.5px solid #e0dbd5;
  background: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-social:hover {
  background: #f7f5f2;
  border-color: #c4a97d;
}
.btn-social img {
  width: 20px;
  height: 20px;
}
.btn-social.facebook {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.btn-social.facebook:hover {
  background: #166fe5;
}
.btn-auth {
  width: 100%;
  padding: 14px;
  background: #8b4513;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-auth:hover {
  background: #5c2e0b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
}

.terms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.terms input {
  width: auto;
}

.terms label {
  font-size: 14px;
  color: #6b4226;
}

.terms a {
  color: #8b4513;
  text-decoration: none;
}

.error-message {
  background: #fee;
  color: #cd5c5c;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.success-message {
  background: #efe;
  color: #2e8b57;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #6b4226;
}

.register-link a {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
