/*=========================================================
            AUTH PAGES (LOGIN / REGISTER)
=========================================================*/

.auth-wrapper {
  display: flex;
  align-items: stretch;
}

.auth-image-panel {
  width: 45%;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.auth-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.2) 60%);
  display: flex;
  align-items: flex-end;
  padding: 50px;
}

.auth-image-text h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 10px;
}

.auth-image-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  max-width: 380px;
}

.auth-form-panel {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 40px;
}

.auth-form-box {
  width: 100%;
  max-width: 420px;
}

.auth-form-box .auth-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.auth-form-box h1 {
  color: var(--heading-color);
  font-size: 26px;
  margin-bottom: 6px;
}

.auth-form-box > p {
  color: var(--text-color);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.auth-error {
  background: #fde8e8;
  color: #e53935;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.auth-success {
  background: #e8f8ee;
  color: #2ecc71;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.auth-form-group {
  margin-bottom: 14px;
}

.auth-form-row {
  display: flex;
  gap: 16px;
}

.auth-form-row .auth-form-group {
  flex: 1;
}

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 7px;
}

.auth-form-group input {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.auth-form-group input:focus {
  border-color: var(--primary-color);
}

.auth-form-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
}

.auth-form-extra label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-color);
  cursor: pointer;
}

.auth-form-extra a {
  color: var(--primary-color);
  text-decoration: none;
}

.auth-submit-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.3s;
}

.auth-submit-btn:hover {
  background: var(--primary-hover);
}

.auth-switch-text {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-color);
}

.auth-switch-text a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .auth-image-panel {
    display: none;
  }

  .auth-form-panel {
    width: 100%;
  }
}