html, body {
  height: 100%;
  overflow-y: auto; 
  margin: 0;
  background-color: #8F9FB6;
  font-family: Arial, sans-serif;
}

a {
  color: #0d6efd;
  font-size: 14px;
  font-style: italic;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #687586;
}

.logo-topo {
  width: 340px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 30px auto;
}

.btn-primary:hover {
  background-color: #B8CBE8;
  color: #0d6efd;
}

.padrao-container {
  max-width: 350px;
  padding: 30px;
  margin: 10px 40px;
  background-color: #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


@media (max-width: 1200px) {
  .logo-topo {
    width: 240px;
  }
  .padrao-container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .logo-topo {
    width: 180px;
  }
  .padrao-container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .logo-topo {
    width: 140px;
  }
  .padrao-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.sidebar {
  height: 100vh;
  width: 220px;
  background-color: #f1f1f1;
  color: #252525 !important;
  padding-top: 40px;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.sidebar a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  margin: 5px 0;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.sidebar a.active, 
.sidebar a:hover {
  background-color: #0d6efd;
  color: white;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
}

.content {
  margin-left: 220px;
  padding: 40px 30px;
  min-height: 100vh;
  color: #222;
  background: transparent; 
}

.text-success {
  color: green;
  font-weight: 500;
}
.text-danger {
  color: red;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 0;
  }
  .sidebar a {
    margin: 0 5px;
    padding: 10px;
  }
  .content {
    margin-left: 0;
    padding: 20px 15px;
  }
}
