/* ==========================================================================
   Assam Crafts Marketplace - Unified Seller & Admin Authentication
   70% / 30% Split Layout:
   - 70% Left: High-Impact Merchant Commerce Photographic Backdrop with
               Lightweight Ambient Gradient (Photo Clearly Visible) & Glass Metrics
   - 30% Right: Dedicated, Fully Spaced, Edge-to-Edge Form Console
   - Design System: Dashboard Aligned (Inter Typography, Deep Forest Green #192b23,
                    Sage Mint #cde4b8, Crisp Inputs)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,500;1,600&display=swap');

:root {
  --ink: #1a2721;
  --ink-secondary: #425248;
  --muted: #6b7a71;
  --muted-light: #8fa095;
  --line: #e3e7e0;
  --line-strong: #d3d8ce;
  --paper: #ffffff;
  --canvas: #f6f7f3;
  --forest: #244536;
  --forest-dark: #192b23;
  --forest-deep: #0f1d17;
  --forest-hover: #263c30;
  --accent: #cde4b8;
  --accent-light: #eff3eb;
  --accent-dark: #263c2e;
}

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

html, body {
  min-height: 100vh;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   Full-Screen 70% / 30% Layout Grid
   ========================================================================== */
.fullscreen-login-page {
  min-height: 100vh;
  width: 100vw;
  display: flex;
}

.fullscreen-main {
  width: 100%;
  min-height: 100vh;
}

.fullscreen-grid {
  display: grid;
  grid-template-columns: 70% 30%;
  min-height: 100vh;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Left Column (70%): Photographic Hero with Clear Image Visibility
   Clean image with lightweight atmospheric tint, zero obscuring grids
   -------------------------------------------------------------------------- */
.editorial-col {
  position: relative;
  background-color: var(--forest-dark);
  background-image: 
    linear-gradient(180deg, rgba(15, 27, 21, 0.42) 0%, rgba(15, 27, 21, 0.30) 45%, rgba(10, 20, 15, 0.88) 100%),
    url('../img/merchant_hero.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.editorial-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Brand Identity with Glassmorphic Badge */
.brand-identity-hero {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  margin-bottom: 32px;
  background: rgba(15, 27, 21, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px 8px 10px;
  border-radius: 100px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.brand-identity-hero:hover {
  transform: translateY(-1px);
  background: rgba(15, 27, 21, 0.8);
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.brand-identity-hero .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 21px;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.brand-name span {
  color: #bdd89f;
  font-weight: 500;
  margin-left: 2px;
}

.brand-tag {
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 1.6px;
  color: #c0d1c5;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Eyebrow Badge */
.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(205, 228, 184, 0.18);
  border: 1px solid rgba(205, 228, 184, 0.35);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.editorial-eyebrow .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.editorial-eyebrow span {
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffffff;
}

/* Editorial Title & Description */
.editorial-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.editorial-title em {
  font-style: normal;
  color: #d6e8c8;
  font-weight: 600;
}

.editorial-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #e5ece6;
  margin-bottom: 32px;
  max-width: 620px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* Glassy Stat Highlights */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  max-width: 820px;
}

.metric-item {
  background: rgba(14, 25, 20, 0.72);
  border: 1px solid rgba(205, 228, 184, 0.28);
  border-radius: 13px;
  padding: 16px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.22s ease;
}

.metric-item:hover {
  background: rgba(19, 34, 27, 0.88);
  border-color: rgba(205, 228, 184, 0.5);
  transform: translateY(-2px);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #a7bcad;
}

.metric-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(205, 228, 184, 0.22);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.metric-value {
  font: 500 28px Georgia, "Times New Roman", serif;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-value span {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}

.metric-foot {
  font-size: 11.5px;
  color: #bdd89f;
  font-weight: 550;
}

/* Trust Pills */
.editorial-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(14, 25, 20, 0.72);
  border: 1px solid rgba(205, 228, 184, 0.28);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 550;
  color: #e5ede3;
  backdrop-filter: blur(8px);
}

.trust-pill i {
  color: var(--accent);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Right Column (30%): Dedicated Form Console
   Seamless, fully-spaced form directly on clean canvas, zero cards
   -------------------------------------------------------------------------- */
.form-col {
  background-color: #ffffff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 36px;
  min-height: 100vh;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.03);
}

.form-content {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Form Header */
.form-header {
  margin-bottom: 26px;
}

.form-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-light);
  border: 1px solid #dce5d7;
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
  color: var(--forest);
  text-transform: uppercase;
}

.form-badge-pill i {
  font-size: 11px;
}

.form-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.form-subheading {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Alerts */
.form-alert {
  border-radius: 9px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-alert.alert-pending {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.form-alert.alert-pending i {
  color: #d97706;
  margin-top: 2px;
}

.form-alert.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-alert.alert-error i {
  color: #dc2626;
  margin-top: 2px;
}

.form-alert.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-alert.alert-success i {
  color: #16a34a;
  margin-top: 2px;
}

/* Fully Spaced Form Controls */
.login-full-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.input-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 11.5px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  text-transform: none;
  letter-spacing: 0;
}

.forgot-link:hover {
  color: var(--forest-dark);
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  border-radius: 9px;
  height: 48px;
  transition: all 0.18s ease;
}

.input-wrapper:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(36, 69, 54, 0.14);
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted-light);
  font-size: 14px;
  pointer-events: none;
}

.custom-input {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 42px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  border: none;
  background: transparent;
  outline: none;
}

.custom-input::placeholder {
  color: #a6b0a8;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.password-toggle:hover {
  color: var(--forest);
}

.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  accent-color: var(--forest);
  width: 15px;
  height: 15px;
  border-radius: 4px;
  cursor: pointer;
}

/* Primary Button */
.btn-submit-login {
  background: var(--forest-dark);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  height: 48px;
  font-size: 13.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(25, 43, 35, 0.18);
  margin-top: 4px;
  width: 100%;
}

.btn-submit-login:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(25, 43, 35, 0.25);
}

.btn-submit-login:active {
  transform: translateY(0);
}

.btn-submit-login i {
  transition: transform 0.2s ease;
  font-size: 12.5px;
}

.btn-submit-login:hover i {
  transform: translateX(3px);
}

/* Footer Links */
.form-actions-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-prompt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.footer-link {
  font-weight: 650;
  color: var(--forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--forest-dark);
  text-decoration: underline;
}

.customer-switch-pill {
  margin-top: 4px;
  background: var(--accent-light);
  border: 1px solid #dce5d7;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.customer-switch-pill span {
  color: var(--ink-secondary);
  font-weight: 500;
}

.customer-switch-pill a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.customer-switch-pill a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .fullscreen-grid {
    grid-template-columns: 60% 40%;
  }
  .editorial-col {
    padding: 40px 32px;
  }
  .editorial-title {
    font-size: 34px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .fullscreen-grid {
    grid-template-columns: 1fr;
  }

  .editorial-col {
    padding: 40px 24px 32px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 480px;
  }

  .editorial-title {
    font-size: 28px;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-col {
    padding: 36px 20px 48px;
    border-left: none;
    min-height: auto;
  }

  .form-content {
    max-width: 440px;
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .footer-prompt-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .customer-switch-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
