:root {
  --agro-verde: #2e7d32;
  --agro-verde-oscuro: #1b5e20;
  --agro-tierra: #6d4c41;
  --agro-crema: #f4f7f0;
}

body {
  background-color: var(--agro-crema);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.app-navbar {
  background: linear-gradient(90deg, var(--agro-verde-oscuro), var(--agro-verde));
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--agro-verde-oscuro), var(--agro-verde));
}

.landing-login {
  align-items: stretch;
}

.landing-panel {
  background: linear-gradient(160deg, rgba(27, 94, 32, 0.94), rgba(46, 125, 50, 0.88));
  color: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.landing-brand-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  font-size: 2rem;
}

.landing-brand-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.landing-brand-subtitle {
  color: rgba(255, 255, 255, .85);
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  padding: .45rem .9rem;
  font-size: .9rem;
  font-weight: 600;
}

.landing-title {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.landing-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .88);
  max-width: 60ch;
}

.landing-feature {
  display: flex;
  gap: 1rem;
  height: 100%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 1rem;
}

.landing-feature i {
  font-size: 1.5rem;
  color: #dcedc8;
}

.landing-feature p {
  margin: .35rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
}

.landing-inline-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-checklist {
  display: grid;
  gap: .75rem;
}

.landing-checklist div {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, .9);
}

.landing-checklist i {
  color: #c5e1a5;
  margin-top: .15rem;
}

.login-card {
  width: 100%;
  max-width: 460px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  margin-inline: auto;
}

.login-card .card-header {
  background-color: var(--agro-verde-oscuro);
  color: #fff;
  border-radius: 24px 24px 0 0 !important;
  text-align: center;
  padding: 1.75rem;
}

.card-dashboard {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .15s ease;
}

.card-dashboard:hover {
  transform: translateY(-3px);
}

.card-dashboard .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.bg-verde { background-color: var(--agro-verde); }
.bg-tierra { background-color: var(--agro-tierra); }
.bg-azul { background-color: #1565c0; }
.bg-morado { background-color: #6a1b9a; }
.bg-naranja { background-color: #ef6c00; }

.table-responsive-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  padding: 1.25rem;
}

.section-title {
  font-weight: 600;
  color: var(--agro-verde-oscuro);
  margin-bottom: 1rem;
}

#tablaCarrito input.cant-input {
  width: 90px;
}

.badge-activo { background-color: var(--agro-verde); }
.badge-inactivo { background-color: #9e9e9e; }

@media (max-width: 991.98px) {
  .landing-panel,
  .login-card {
    border-radius: 20px;
  }

  .landing-title {
    font-size: 1.85rem;
  }
}
