/*ESTILO 1 - SIDEBAR*/
.rm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rm-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f5f5f5;
  cursor: pointer;
  transition: .2s;
}

.rm-sidebar-item:hover {
  background: #eaeaea;
}

/*ESTILO 2 - MOBILE SIDEBAR*/
@media (max-width: 768px) {
  .rm-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .rm-sidebar-item {
    min-width: 150px;
  }
}

/*ESTILO 3 - CARDS*/
.rm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.rm-card {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eee;
  transition: .2s;
}

.rm-card:hover {
  transform: translateY(-3px);
}

.rm-titulo{
  margin: 0;
}

/*ESTILO 4 - RESPONSIVO*/
@media (max-width: 1024px) {
  .rm-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rm-cards {
    grid-template-columns: 1fr;
  }
}

/*ESTILO 5 - BOTÃO*/
.rm-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #7b2cbf;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

/*ESTILO 6 - BUSCA*/
.rm-busca input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

/*ESTILO 7 - MODAL*/
#rm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.rm-modal-content {
  position: relative;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Botão fechar */
.rm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: .2s;
}

.rm-close:hover {
  background: #ddd;
}