/* ─── Auth Pages CSS (Professional Premium Redesign) ──────────────────────────────── */

.auth-body {
  background: var(--bg-main);
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--s900);
  -webkit-font-smoothing: antialiased;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #e11d48;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.05);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--s700);
  letter-spacing: 0.01em;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 1rem;
  color: var(--s300);
  font-size: 1.125rem;
  pointer-events: none;
  transition: all 0.3s;
}

.field-wrap input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--s200);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--s900);
  background: rgba(255, 255, 255, 0.5);
  outline: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  font-family: var(--font-main);
}

.field-wrap input:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 
    0 0 0 4px rgba(37, 99, 235, 0.12),
    0 15px 30px -10px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.5);
  filter: brightness(1.1);
}

.btn-auth:active {
  transform: translateY(-1px);
}

.field-wrap input:focus + .field-icon {
  color: var(--blue);
}

.field input, .field select, .field textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--s100);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--s900);
  background: var(--s50);
  outline: none;
  transition: all 0.25s;
  font-family: var(--font-main);
  width: 100%;
}

.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-auth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--grad);
  color: var(--white);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.2s;
  margin-top: 0.5rem;
  box-shadow: var(--sh-brand);
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.4);
  opacity: 0.95;
}


