/* Sign-in page (lock/index.php) — standalone bundle, no Metronic required */

.mws-lock-page {
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.25rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 42%, #0284c7 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.mws-lock-page *,
.mws-lock-page *::before,
.mws-lock-page *::after {
  box-sizing: border-box;
}

.mws-lock-page__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
}

.mws-lock-page__orb--1 {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: -8%;
  right: -6%;
  background: rgba(56, 189, 248, 0.35);
}

.mws-lock-page__orb--2 {
  width: min(44vw, 360px);
  height: min(44vw, 360px);
  bottom: -10%;
  left: -8%;
  background: rgba(99, 102, 241, 0.32);
}

.mws-lock-page__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  width: min(100%, 980px);
  max-width: 100%;
  align-items: stretch;
  margin: auto;
}

.mws-lock-page__hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f8fafc;
  padding: clamp(1rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1.5rem);
}

.mws-lock-page__hero-logo {
  max-height: 52px;
  max-width: min(100%, 260px);
  object-fit: contain;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.25));
}

.mws-lock-page__hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
  margin-bottom: 0.65rem;
}

.mws-lock-page__hero-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.mws-lock-page__hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}

.mws-lock-page__hero-time {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}

.mws-lock-page__hero-date {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.72);
}

.mws-lock-page__card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1.25rem;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.28);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mws-lock-page__card-head {
  margin-bottom: 1.5rem;
}

.mws-lock-page__card-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.mws-lock-page__card-sub {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.mws-lock-page__alert {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.mws-lock-page__alert[hidden] {
  display: none !important;
}

.mws-lock-page__field {
  margin-bottom: 1rem;
}

.mws-lock-page__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.mws-lock-page__input-wrap {
  position: relative;
}

.mws-lock-page__input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.mws-lock-page__input-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mws-lock-page__input {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.82rem 1rem 0.82rem 2.75rem;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mws-lock-page__input:focus {
  outline: none;
  border-color: #38bdf8;
  background: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.15);
}

.mws-lock-page__submit {
  width: 100%;
  margin-top: 0.35rem;
  border: none;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.mws-lock-page__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.4);
}

.mws-lock-page__submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.mws-lock-page__footer {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.45;
}

.indicator-progress {
  display: none;
}

[data-kt-indicator="on"] > .indicator-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

[data-kt-indicator="on"] > .indicator-label {
  display: none;
}

.mws-lock-page__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mws-lock-spin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes mws-lock-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .mws-lock-page__shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(100%, 440px);
    width: 100%;
  }

  .mws-lock-page__hero {
    display: none;
  }

  .mws-lock-page__card {
    padding: clamp(1.5rem, 6vw, 2rem);
  }

  .mws-lock-page__card-head .mws-lock-page__mobile-logo {
    display: block;
    max-height: 40px;
    max-width: min(100%, 200px);
    object-fit: contain;
    margin-bottom: 1rem;
  }
}

@media (min-width: 992px) {
  .mws-lock-page__card-head .mws-lock-page__mobile-logo {
    display: none;
  }
}
