/* ============================================================
   Authentication Pages – Login / Register
   Exact match to design screenshot
   ============================================================ */

/* ---- Reset page chrome ---- */
.user-auth-page-wrapper {
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center; /* keep it vertically centered */
  justify-content: center;
  background: #fdfdfd; 
  padding: 40px 20px;
}

/* ---- Two-column container (New Grid Layout) ---- */
.user-auth-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Left column: image / placeholder ---- */
.auth-left-image {
  width: 100%;
  height: 100%;
  display: flex;
}

.auth-image-bg {
  width: 100%;
  min-height: 560px;
  background-color: #1c2232;
  background-image: url("../images/login-side.png");
  background-size: cover;
  background-position: center;
  display: block;
}

/* ---- Right column ---- */
.auth-right-content {
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* ---- Tabs ---- */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 4px solid #000; /* As requested in reference image this was probably styled differently earlier, but I'll make sure it looks distinct */
}

.auth-tab-link {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: #fff;
  transition: background 0.15s ease;
  border: none;
}

.auth-tab-link + .auth-tab-link {
  border-left: 1px solid #000;
}

.auth-tab-link.active {
  background: #dde0e5;
}

.auth-tab-link:not(.active):hover {
  background: #f4f5f6;
}

/* ---- Form box ---- */
.auth-form-inner {
  border: 1px solid #d1d5db;
  padding: 32px 32px 24px;
  background: #fff;
  flex: 1;
}

/* ---- Welcome header ---- */
.auth-welcome-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-welcome-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  color: #2e3a59;
  margin: 0;
}

/* ---- Labels ---- */
.spawaj-auth-form label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  color: #2e3a59;
  margin-bottom: 6px;
}

/* ---- Inputs ---- */
.spawaj-auth-form .form-item {
  margin-bottom: 18px;
}

.spawaj-auth-form input.form-text,
.spawaj-auth-form input.form-email,
.spawaj-auth-form input.form-password {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #c9cdd4;
  border-radius: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #2e3a59;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.spawaj-auth-form input.form-text:focus,
.spawaj-auth-form input.form-email:focus,
.spawaj-auth-form input.form-password:focus {
  border-color: #2e3a59;
}

.spawaj-auth-form input::placeholder {
  font-family: 'Outfit', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #8591a5;
  font-size: 14px;
}

/* ---- Submit button ---- */
.auth-actions {
  margin-top: 4px;
}

.btn-submit-auth,
.spawaj-auth-form .form-actions input[type="submit"],
.spawaj-auth-form input[type="submit"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  background: #fff;
  color: #2e3a59;
  border: 2.5px solid #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0;
}

.btn-submit-auth:hover,
.spawaj-auth-form .form-actions input[type="submit"]:hover,
.spawaj-auth-form input[type="submit"]:hover {
  background: #000;
  color: #fff;
}

/* ---- GDPR checkbox area ---- */
.auth-gdpr-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
  margin-top: 20px;
  margin-bottom: 22px;
}

.auth-gdpr-wrapper .form-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.auth-gdpr-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid #2e3a59;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background: transparent;
  margin-top: 1px;
}

.auth-gdpr-wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #2e3a59;
  border-radius: 50%;
}

.auth-gdpr-wrapper label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  color: #2e3a59;
  margin: 0;
  cursor: pointer;
  flex: 1;
}

.auth-gdpr-wrapper .description {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: #6b7280;
  font-style: italic;
  line-height: 1.55;
  margin-top: 6px;
  padding-left: 30px;
  width: 100%;
}

/* ---- Social login buttons ---- */
.social-login-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.btn-social-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #000;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2e3a59;
  background: #fff;
  transition: background 0.15s;
}

.btn-social-auth img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-social-auth:hover {
  background: #f4f5f7;
}

/* ---- Footer links ---- */
.auth-footer-links {
  text-align: center;
  margin-top: 20px;
}

.auth-footer-links ul {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
}

.auth-footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-style: italic;
}

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

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .user-auth-container-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .auth-image-bg {
    min-height: 250px;
  }
  .auth-form-inner {
    padding: 24px 20px;
  }
}
