body {
    background-color: #f5f6f8;
  }
  
  .navbar-brand {
    letter-spacing: 0.5px;
  }
  
  .card {
    border: none;
    border-radius: 14px;
  }
  
  .btn {
    border-radius: 10px;
  }
  
  @media (max-width: 768px) {
    main.container-fluid {
      padding-left: 12px;
      padding-right: 12px;
    }
  
    .navbar-brand {
      font-size: 1rem;
    }
  }

  .parametro-card {
    transition: all 0.15s ease-in-out;
    color: #212529;
  }
  
  .parametro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.12) !important;
  }

  body {
    min-height: 100vh;
    background: #f4f6f9;
    color: #17202a;
  }
  
  .navbar {
    background: linear-gradient(90deg, #111820, #1f2933) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
  }
  
  .navbar-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
  }
  
  .app-footer {
    padding: 10px 18px;
    text-align: center;
    color: #6c757d;
    font-size: .82rem;
    background: transparent;
  }
  
  .app-footer img {
    height: 26px;
    margin-right: 8px;
    opacity: .75;
  }
  
  .consulta-bg {
    position: relative;
    min-height: calc(100vh - 150px);
    padding-bottom: 24px;
    overflow: hidden;
  }
  
  .consulta-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/img/procarne.png');
    background-repeat: no-repeat;
    background-position: center 120px;
    background-size: min(900px, 85vw) auto;
    opacity: .055;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
  }
  
  .consulta-bg > * {
    position: relative;
    z-index: 1;
  }
  
  .categoria-card {
    border: 0;
    border-radius: 18px;
    padding: 18px 20px;
    min-height: 86px;
    max-width: 320px;
    margin: 0 auto;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    transition: all .18s ease-in-out;
  }
  
  .categoria-icon {
    font-size: 2rem;
    line-height: 1;
    opacity: .95;
  }
  
  .categoria-card:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 18px 36px rgba(0,0,0,.22);
  }
  
  .categoria-primary { background: linear-gradient(135deg, #0d6efd, #084298); }
  .categoria-success { background: linear-gradient(135deg, #198754, #0f5132); }
  .categoria-danger { background: linear-gradient(135deg, #dc3545, #842029); }
  .categoria-warning { background: linear-gradient(135deg, #ffc107, #b58100); color: #1b1b1b; }
  .categoria-info { background: linear-gradient(135deg, #0dcaf0, #087990); }
  .categoria-secondary { background: linear-gradient(135deg, #6c757d, #343a40); }
  .categoria-dark { background: linear-gradient(135deg, #212529, #000); }
  
  @media (max-width: 768px) {
    .navbar-logo {
      height: 26px;
    }
  
    .navbar-brand span {
      font-size: .9rem;
    }
  
    .categoria-card {
      min-height: 74px;
      font-size: 1.15rem;
      max-width: 100%;
    }
  
    .consulta-bg::before {
      background-size: 320px auto;
    }
  }

  .app-main {
    min-height: calc(100vh - 112px);
  }

  .login-page {
    min-height: 100vh;
    background:
      radial-gradient(circle at top left, rgba(13, 110, 253, .12), transparent 35%),
      linear-gradient(135deg, #eef3f8, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-wrapper {
    width: 100%;
    padding: 24px;
  }
  
  .login-card {
    width: 100%;
    max-width: 980px;
    min-height: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 70px rgba(16, 24, 40, .18);
  }
  
  .login-left {
    background:
      linear-gradient(rgba(11, 42, 82, .90), rgba(11, 42, 82, .94)),
      url('/img/procarne.png') center/75% no-repeat;
    color: white;
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .login-ti-logo {
    width: 112px;
    background: rgba(255,255,255,.95);
    border-radius: 18px;
    padding: 8px;
  }
  
  .login-left h1 {
    font-size: 2.35rem;
    font-weight: 800;
    margin-bottom: 12px;
  }
  
  .login-left p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 330px;
    opacity: .95;
  }
  
  .login-left small {
    opacity: .85;
  }
  
  .login-right {
    padding: 54px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .login-brand-logo {
    max-width: 210px;
    background: #050505;
    border-radius: 16px;
    padding: 10px 18px;
  }
  
  .login-input {
    height: 54px;
    border-radius: 14px;
    border: 1px solid #cfd8e3;
    padding-left: 18px;
  }
  
  .login-input:focus {
    border-color: #1f4e85;
    box-shadow: 0 0 0 .2rem rgba(31, 78, 133, .15);
  }
  
  .login-btn {
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f4e85, #14345d);
    color: #fff;
    font-weight: 800;
    letter-spacing: .4px;
    box-shadow: 0 12px 24px rgba(31, 78, 133, .28);
  }
  
  .login-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(31, 78, 133, .34);
  }
  
  .login-footer-logos {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6c757d;
    font-size: .85rem;
  }
  
  .login-footer-logos img {
    height: 34px;
  }
  
  @media (max-width: 768px) {
    .login-card {
      grid-template-columns: 1fr;
      border-radius: 24px;
    }
  
    .login-left {
      min-height: 260px;
      padding: 30px;
    }
  
    .login-left h1 {
      font-size: 1.8rem;
    }
  
    .login-right {
      padding: 34px 26px;
    }
  
    .login-brand-logo {
      max-width: 170px;
    }
  }