/* Auth — Work Force Premium Theme */

.workforce-auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background-color: var(--color-bg-primary);
  font-family: var(--font-body);
}

.workforce-auth-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(29, 77, 79, 0.05);
  position: relative;
  overflow: hidden;
}

.workforce-auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.workforce-auth-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.workforce-auth-brand-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(29, 77, 79, 0.2);
}

.workforce-auth-title {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.workforce-auth-brand__subtitle {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 2.5rem;
  text-align: center;
}

.workforce-auth-tabs {
  display: flex;
  background: #f0f7f6;
  padding: 6px;
  border-radius: 22px;
  margin-bottom: 2.5rem;
}

.workforce-auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px;
  border-radius: 18px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.workforce-auth-tab.is-active {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 77, 79, 0.1);
  color: var(--secondary);
}

.workforce-auth-page label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 15px;
}

.workforce-auth-page .input-text,
.workforce-auth-page input[type="text"],
.workforce-auth-page input[type="email"],
.workforce-auth-page input[type="password"],
.workforce-auth-page input[type="tel"] {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 2px solid #eef2f2;
  background: #ffffff;
  color: var(--primary);
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.workforce-auth-page .input-text:focus {
  border-color: var(--primary);
  background: #f0f7f6;
}

.workforce-auth-submit {
  width: 100% !important;
  background: var(--secondary) !important;
  color: #fff !important;
  padding: 16px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  margin-top: 1rem !important;
  box-shadow: 0 8px 20px rgba(255, 149, 73, 0.25) !important;
}

.workforce-auth-submit:hover {
  background: #ff8a30 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 149, 73, 0.35) !important;
}

.workforce-auth-footer-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #eef2f2;
  text-align: center;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.workforce-auth-footer-links a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  margin-inline-start: 5px;
}

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

/* Stepper (New for Forgot Password) */
.workforce-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.workforce-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.workforce-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #eef2f2;
  z-index: -1;
}

.workforce-step.is-completed:not(:last-child)::after {
  background: var(--primary);
}

.workforce-step-circle {
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 800;
  color: #94a3b8;
  border: 1px solid #eef2f2;
  transition: all 0.3s ease;
}

.workforce-step.is-active .workforce-step-circle {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 8px 16px rgba(255, 149, 73, 0.3);
}

.workforce-step.is-completed .workforce-step-circle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.workforce-step-label {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
}

.workforce-step.is-active .workforce-step-label {
  color: var(--secondary);
}

.workforce-step.is-completed .workforce-step-label {
  color: var(--primary);
}

/* OTP Screen */
.workforce-otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  direction: ltr;
  margin: 2rem 0;
}

.workforce-otp-digit {
  width: 50px;
  height: 55px;
  border-radius: 12px;
  border: 2px solid #eef2f2;
  background: #f8fcfb;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  transition: all 0.3s ease;
}

.workforce-otp-digit:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 12px rgba(29, 77, 79, 0.08);
}

.workforce-otp-timer {
  text-align: center;
  color: var(--color-text-secondary);
  font-weight: 700;
  margin: 1rem 0;
}

.workforce-otp-timer span {
  color: var(--secondary);
}

.workforce-auth-back {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 1rem;
  width: 100%;
}

/* WooCommerce Notices */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  list-style: none;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fee2e2;
}

.woocommerce-message {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #dcfce7;
}

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