/* ====== Auth Shared (scoped so it won't affect the rest of the app) ====== */
:root {
  --auth-deep: #0f2f1e;
  --auth-green: #1f4e3d;
  --auth-cta: #2e6a4e;
  --auth-cta-hover: #1f5d41;
  --auth-right: #f1f2f1;
  --auth-input: #f7f7f7;
  --auth-border: #e5e7eb;
  --auth-text: #0b1720;
  --auth-muted: #6b7280;
  --auth-accent: #f4a31e; /* orange underline */
}

.auth-bg {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(1200px 600px at 10% 10%, #173e30 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 90%, #103526 0%, transparent 60%),
    var(--auth-deep);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--auth-text);
}

/* Main card (left+right as one rounded surface) */
.auth-card {
  width: min(1100px, 96vw);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--auth-right);
}

/* Left panel (green, textured) */
.auth-left {
  background:
    linear-gradient(135deg, #245343, #123c2e),
    radial-gradient(800px 500px at 70% 20%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(700px 400px at 20% 80%, rgba(255,255,255,0.04), transparent 60%);
  color: #fff;
  padding: 36px 32px;
}

.auth-left-inner {
  max-width: 460px;
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-left: 70px;
}

.brand-logo {
  width: 190px;
  height: 170px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .2px;
  color: #eb9f20;
  padding-left: 135px;
}

.brand-tag {
  font-size: .9rem;
  opacity: .9;
  margin-bottom: 18px;
  padding-left: 65px;
}

.welcome-title {
  font-weight: 800;
  font-size: 1.35rem;
  margin: 18px 0 10px;
}

.welcome-desc {
  font-size: .95rem;
  line-height: 1.55;
  opacity: .95;
}

.feature-grid {
  margin-top: 22px;
  display: flex;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  
}


.feature-tile {
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(2px);
  font-size: .9rem;
  color: #fff;
}

.bi-airplane-fill {
  color: #f4a31e;
}

.bi-building-fill {
  color: #f4a31e;
}

.bi-truck {
  color: #f4a31e;
}


/* Right panel (light form surface) */
.auth-right {
  background: var(--auth-right);
  padding: 28px 32px 32px;
}

.auth-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

.auth-tabs a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  padding-bottom: 6px;
}

.auth-tabs a.active {
  color: #111827;
  border-bottom: 3px solid var(--auth-accent);
}

.auth-title {
  font-weight: 800;
  margin: 6px 0 6px;
  font-size: 1.15rem;
}

.auth-subtitle {
  color: var(--auth-muted);
  font-size: .92rem;
  margin-bottom: 18px;
}

/* Form */
.auth-form .form-label {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-grid .full {
  grid-column: 1 / -1;
}

.auth-form .form-control {
  background: var(--auth-input);
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  height: 44px;
  box-shadow: none !important;
}

.auth-form .form-control::placeholder {
  color: #9ca3af;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  font-size: .9rem;
  color: #374151;
}

.btn-auth {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: var(--auth-cta);
  border: none;
  color: #fff;
  font-weight: 700;
}

.btn-auth:hover {
  background: var(--auth-cta-hover);
}

.auth-foot {
  text-align: center;
  font-size: .92rem;
  margin-top: 12px;
}

.auth-foot a {
  text-decoration: none;
  color: #1f4e3d;
  font-weight: 600;
}

/* Alerts inside the card */
.auth-right .alert {
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-left { padding: 28px 22px; }
  .auth-right { padding: 24px; }
  .auth-grid { grid-template-columns: 1fr; }
}
