/* Premora login page shell — card styles are in login.css */

:root {
  --premora-overlay: rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.auth-login-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif !important;
  color: #111827;
  background: #1a1410 !important;
}

.premora-login {
  position: relative;
  width: 100%;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.premora-login__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.premora-login__bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.premora-login__overlay {
  position: absolute;
  inset: 0;
  background: var(--premora-overlay);
  pointer-events: none;
}

.premora-login__stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px clamp(24px, 4vw, 76px);
}

@media (max-width: 1600px) {
  .premora-login__stage { padding-right: clamp(24px, 3.5vw, 58px); }
}

@media (max-width: 1440px) {
  .premora-login__stage { padding-right: clamp(22px, 3vw, 44px); }
}

@media (max-width: 1366px) {
  .premora-login__stage { padding-right: clamp(20px, 2.5vw, 36px); }
}

@media (max-width: 1024px) {
  .premora-login__stage {
    padding: 22px;
  }
}

@media (max-width: 768px) {
  .premora-login__stage {
    justify-content: center;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .premora-login__stage {
    padding: 1rem;
  }
}

/* Legacy waiter / forgot-password pages */
.auth-split {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-split-left {
  position: relative;
  flex: 1 1 50%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: linear-gradient(145deg, #4f46e5 0%, #6366f1 45%, #818cf8 100%);
  color: #fff;
}

.auth-left-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.auth-split-left-inner {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 18px;
  border-radius: 14px;
}

.auth-company-logo {
  max-height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.auth-split-left h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
}

.auth-split-left .auth-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
}

.auth-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
}

.auth-feature-list li i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.auth-split-right {
  flex: 1 1 50%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: #f8fafc;
}

.auth-login-panel,
.auth-waiter-panel {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.auth-waiter-left {
  background: linear-gradient(145deg, #4f46e5 0%, #6366f1 45%, #818cf8 100%) !important;
  color: #fff;
}

.auth-waiter-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e1f5fe;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.auth-waiter-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.auth-waiter-sub {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 1.25rem;
}

.btn-waiter-signin {
  background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
  border: none !important;
  width: 100%;
}

.btn-waiter-signin:hover {
  filter: brightness(1.05);
}

.auth-waiter-foot {
  margin-top: 1.25rem;
  text-align: center;
}

.badge-purple {
  background: #7c3aed;
  color: #fff;
}

@media (max-width: 991px) {
  .auth-split {
    flex-direction: column;
  }

  .auth-split-left {
    flex: none;
    min-height: 240px;
    padding: 2rem 1.5rem;
  }

  .auth-feature-list {
    display: none;
  }
}
