/* ============================================================
   auth.css — Public Menu Theme-Matched Split Layout
   ============================================================ */

:root {
  --primary: #ff6b00;         /* Orange accent */
  --secondary: #1e6878;       /* Deep teal-blue brand tone */
  --bg: #f8fafc;              /* Soft slate background color */
  --white: #ffffff;
  --text-main: #0f172a;       /* Dark slate main body text */
  --text-muted: #64748b;      /* Muted slate caption color */
  --radius: 18px;             /* Rounded container radius tokens */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;

  background: radial-gradient(circle at top left, #1e6878, #0f2f36);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

/* ── Split Layout Card Container ── */
.split-container {
  display: flex;
  width: 100%;
  max-width: 1050px;
  min-height: 600px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* ── Left Image Banner Column ── */
.branding-side {
  flex: 1.1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 50px;
  overflow: hidden; 
}

/* Isolated background pseudo-element with an ultra-subtle blur filter */
.branding-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
  filter: blur(1.5px); /* Reduced down significantly for just a touch of softness */
  transform: scale(1.02); /* Adjusted to match the smaller blur radius */
  z-index: 0;
}

/* Rich brand gradient overlay tweaked to let the crisp pizza shine through */
.branding-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 104, 120, 0.55) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.branding-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 400px;
}

.brand-logo {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ── Right Content Form Input Column ── */
.form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  position: relative;
  background: var(--white);
}

.form-wrapper {
  width: 100%;
  max-width: 350px;
  z-index: 3;
}

.form-side h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
  text-align: center;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 35px;
  text-align: center;
  font-weight: 600;
}

/* ── Interactive Input Form Settings ── */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input {
  width: 100%;
  padding: 13px 16px 13px 44px; 
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text-main);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30, 104, 120, 0.12);
}

.input-icon {
  position: absolute;
  left: 15px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2.5;
  pointer-events: none;
  transition: stroke 0.2s var(--ease);
}

.form-group input:focus + .input-icon {
  stroke: var(--secondary);
}

/* ── Primary Submission Button ── */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 10px;
  font-family: inherit;
  transition: background 0.2s var(--ease), transform 0.1s var(--ease);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.btn-submit:hover {
  background: #e66000;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.btn-submit:active {
  transform: scale(0.98);
}

/* ── Error Output Modules ── */
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.alert-error {
  color: #991B1B;
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

/* ── Footer Redirection Element Links ── */
.auth-footer {
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.15s var(--ease);
}

.auth-footer a:hover {
  color: #e66000;
  text-decoration: underline;
}

/* ── Vector Graphic Accent Layouts ── */
.skyline-decor {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 100%;
  max-width: 380px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* ── Responsive Viewport Formats ── */
@media (max-width: 840px) {
  .split-container {
    flex-direction: column;
    max-width: 440px;
  }
  .branding-side {
    padding: 40px 30px;
    min-height: 160px;
  }
  .form-side {
    padding: 40px 30px 50px 30px;
  }
  .skyline-decor {
    max-width: 220px;
  }
}