* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e8f0ff, #f8fbff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #2b4d70;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #2b6cb0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-container button:hover {
  background-color: #225c94;
}

.erro {
  color: red;
  margin-bottom: 10px;
}

body {
  display: flex;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1f5f9;
}

.sidebar {
  width: 220px;
  background-color: #2b6cb0;
  color: white;
  min-height: 100vh;
  padding: 20px;
  position: fixed;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #e2e8f0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #e2e8f0;
  display: block;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.sidebar ul li a:hover {
  background-color: #2c5282;
}

.sidebar .sair {
  color: #ffdddd;
}

.main {
  margin-left: 220px;
  padding: 20px;
  width: calc(100% - 220px);
}

.header {
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.content h1 {
  margin-bottom: 20px;
  color: #2b4d70;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 10px;
  color: #2b6cb0;
}


.form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-width: 500px;
}

.form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #2b6cb0;
}

.form input,
.form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  margin-top: 5px;
}

.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2b6cb0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  line-height: 70px;
}

.btn:hover {
  background-color: #2c5282;
}

.alert {
  background-color: #d1fae5;
  color: #065f46;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.formulario {
  max-width: 500px;
  margin-top: 20px;
}

.formulario label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.formulario input,
.formulario select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn, .btn-voltar {
  padding: 10px 20px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  text-decoration: none;
}

.btn-voltar {
  background: #999;
  margin-left: 10px;
}

.btn-danger {
  background-color: #e74c3c;
  color: #fff;
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.tabela th,
.tabela td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.tabela th {
  background-color: #edf2f7;
  color: #2b6cb0;
  font-weight: bold;
}

.btn-edit {
  background: #3498db;
  color: #fff;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 5px;
}

.btn-delete {
  background: #e74c3c;
  color: #fff;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
}


textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  margin-bottom: 15px;
}




.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.card-dash {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  text-align: center;
}

.card-dash:hover {
  transform: translateY(-4px);
}

.card-dash h3 {
  color: #2b6cb0;
  font-size: 16px;
  margin-bottom: 10px;
}

.card-dash p {
  font-size: 28px;
  color: #333;
}


.anotacoes {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.anotacoes li {
  background: #f8f9fa;
  border-left: 4px solid #2b6cb0;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
}


.btn-ver {
  background-color: #6c63ff;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 5px;
}
