/* =============================================================
   Signal Admin — Modern Auth (Login) Redesign
   Loaded after auth.css. Overrides visual styling only.
   No markup changes to auth/login.blade.php.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Base ───────────────────────────────────────────────────── */
html,
body.bg-account-pages {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* ── Outer centering wrapper ─────────────────────────────────── */
.limiter {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 100vh;
  padding: 0;
}

.container-login100 {
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ── Card ────────────────────────────────────────────────────── */
.wrap-login100 {
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  width: 100vw;
}

/* ── Form side ───────────────────────────────────────────────── */
.login100-form {
  flex: 0 0 clamp(420px, 30vw, 560px);
  width: clamp(420px, 30vw, 560px);
  padding: 64px clamp(40px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: #ffffff;
}

/* ── Image / brand side ──────────────────────────────────────── */
.login100-more {
  flex: 1 1 auto;
  width: auto;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh;
  min-width: 0;
}
.login100-more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(59, 108, 180, .60) 0%,
    rgba(136, 176, 212, .50) 100%
  );
}

/* ── Logo in form ────────────────────────────────────────────── */
.text-center.m-5 {
  margin-bottom: 28px !important;
  margin-top: 0 !important;
}

/* ── Form title ──────────────────────────────────────────────── */
.login100-form-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
  line-height: 1.4;
  padding: 0;
}

/* ── Input container ─────────────────────────────────────────── */
.wrap-input100 {
  position: relative;
  border-bottom: 2px solid #e8ecf2;
  margin-bottom: 28px;
  transition: border-color .18s ease;
}
.wrap-input100:focus-within {
  border-bottom-color: #3b6cb4;
}

/* Actual input */
.input100 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1f2937;
  background: transparent;
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 24px;
  outline: none;
  border: none;
  box-sizing: border-box;
  caret-color: #3b6cb4;
}

/* Animated underline */
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background: #3b6cb4;
  transition: left .28s ease, width .28s ease;
  width: 0;
  left: 50%;
}
.input100:focus ~ .focus-input100 {
  width: 100%;
  left: 0;
}

/* Floating label */
.label-input100 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: .04em;
  padding-left: 24px;
  transition: all .18s ease;
}

/* ── Submit button ───────────────────────────────────────────── */
.container-login100-form-btn {
  margin-top: 36px;
}

.login100-form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  background: #3b6cb4;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, transform .1s ease;
}
.login100-form-btn:hover {
  background: #2d539a;
  box-shadow: 0 4px 14px rgba(59, 108, 180, .30);
}
.login100-form-btn:active {
  background: #26468a;
  transform: translateY(1px);
}

/* ── Validation errors ───────────────────────────────────────── */
.invalid-feedback {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #b91c1c;
  margin-top: -18px;
  margin-bottom: 12px;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet: slightly smaller padding */
@media (max-width: 900px) {
  .login100-form {
    flex-basis: 420px;
    width: 420px;
    padding: 48px 36px;
  }
}

/* Mobile: stack form above image */
@media (max-width: 767px) {
  .limiter {
    padding: 0;
    align-items: stretch;
  }
  .wrap-login100 {
    flex-direction: column-reverse;
    min-height: auto;
  }
  .login100-form {
    padding: 36px 24px 32px;
    flex: none;
    width: 100%;
    min-height: 70vh;
  }
  .login100-more {
    width: 100%;
    min-height: 30vh;
    flex: none;
  }
  .login100-form-title {
    font-size: 17px;
    margin-bottom: 24px;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .limiter {
    padding: 0;
  }
  .wrap-login100 {
    min-height: 100vh;
    flex-direction: column;
  }
  .login100-more {
    min-height: 28vh;
  }
  .login100-form {
    padding: 28px 20px 24px;
    min-height: 72vh;
  }
}
