/* Minimal auth pages — no full Vuexy/Bootstrap bundle */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2f2b3d;
  background: #f2f0f8;
}

body.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #f5f3ff 100%);
}

.auth-split-layout {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090b12;
}

.auth-showcase picture,
.auth-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-form-side {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, #f8f7fb 0%, #f2f0f8 100%);
}

.auth-form-inner {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.auth-panel-card {
  width: 100%;
  max-width: var(--auth-card-width, 560px);
  margin: 0 auto;
  padding: clamp(1.5rem, 2.8vw, 2.5rem);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(115, 103, 240, 0.1);
  box-shadow: 0 30px 80px rgba(27, 33, 45, 0.14);
}

.auth-eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7367f0;
}

.auth-heading {
  margin: 0;
  color: #2f2b3d;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
}

.auth-subheading {
  margin: 0.7rem 0 0;
  color: #7a7891;
  font-size: 0.98rem;
  line-height: 1.7;
}

.auth-link-inline {
  color: #7367f0;
  text-decoration: none;
  font-weight: 600;
}

.auth-link-inline:hover { color: #5f56d8; }

.auth-bottom-link {
  margin-top: 1.2rem;
  color: #7a7891;
  text-align: center;
}

.auth-bottom-link a {
  color: #7367f0;
  text-decoration: none;
  font-weight: 600;
}

.form-label {
  display: block;
  margin-bottom: 0.55rem;
  color: #4b465c;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: #2f2b3d;
  background: #fff;
  border: 1px solid #d8d6de;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control::placeholder { color: #a5a1aa; }

.form-control:focus {
  border-color: rgba(115, 103, 240, 0.4);
  box-shadow: 0 0 0 0.22rem rgba(115, 103, 240, 0.12);
}

.form-control.is-invalid { border-color: #ea5455; }

.invalid-feedback {
  display: block;
  margin-top: 0.35rem;
  color: #ea5455;
  font-size: 0.875rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #7367f0;
}

.form-check-label {
  color: #6d6875;
  font-size: 0.95rem;
}

.btn-auth-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 108px;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: 8px;
  background: #7367f0;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-auth-primary:hover { background: #5f56d8; }

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-success {
  color: #1f7a4d;
  background: #dff7ea;
  border: 1px solid #b8ebd0;
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.auth-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
}

.login-form-simple .auth-heading {
  color: #7367f0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.login-form-simple .auth-subheading {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.5;
}

.login-form-simple .auth-bottom-link {
  margin-top: 1rem;
  text-align: left;
  font-size: 0.98rem;
}

@media (max-width: 1199.98px) {
  .auth-form-side { padding: 1rem; }
  .auth-form-inner { gap: 0.85rem; max-width: 520px; }
  .auth-panel-card { padding: 1.5rem; border-radius: 24px; }
}

@media (max-width: 991.98px) {
  .auth-split-layout {
    min-height: 100vh;
    height: auto;
    grid-template-columns: 1fr;
  }

  .auth-showcase { display: none; }
  .auth-form-side { padding: 1.25rem; }
  .auth-panel-card { max-width: 100%; border-radius: 24px; }
}

@media (max-width: 575.98px) {
  .auth-panel-card { padding: 1.25rem; }
  .auth-form-inner { align-items: stretch; }
  .auth-inline-row,
  .login-form-simple .auth-inline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
