body {
  background-color: #fff;
  color: #0047AB;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

h1 {
  color: white;
  font-size: 16px;
  text-align: center;
}

h2 {
  color: #002b75;
  font-size: 20px;
  margin-top: 14px;
  margin-left: -1060px;
}

#menuToggle {
  background-color: transparent;
  margin-top: 14px;
  border: none;
  color: #0047AB;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 0.5rem;
  line-height: 1;
}

#menuToggle:hover {
  color: #002b75;
  transform: scale(1.1);
}

#menuToggle:focus {
  outline: none;
  box-shadow: none;
}

.menu-icon {
  font-size: 1.8rem;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: rgba(0, 71, 171, 0.8);
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1040;
  padding: 1rem;
}

.sidebar.open {
  right: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1030;
  display: none;
}

.overlay.active {
  display: block;
}

.sidebar a {
  color: white !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  margin-bottom: 0 !important;
}

.sidebar a i {
  color: white !important;
  margin-right: 0 !important;
}

.separator {
  border-bottom: 1px solid #ccc;
  margin: 1rem 0;
}

.security-box {
  background-color: rgba(0, 71, 171, 0.8);
  border-radius: 8px;
  text-align: center;
}

.security-box p {
  margin-top: 0.5rem;
  color: white;
  font-size: 0.85rem;
}

.security-box i {
  font-size: 1.3rem;
  color: white;
}

.cpf-nav {
  background-color: #f9f9f9;
  padding: 1rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.cpf-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
}

.cpf-form input {
  flex: 1 1 auto;
  min-width: 180px;
}

.cpf-form .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .cpf-form {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .cpf-form .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }
}

.form-control,
.btn {
  border-radius: 50px;
}

.btn {
  background-color: #0047AB;
  color: white;
  border: none;
}

footer {
  background: linear-gradient(to right, #0047AB, #001f4d);
  color: white;
  padding: 3rem 1rem;
}

footer h5 {
  font-weight: bold;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a {
  color: white;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}