/** @format */

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: '宋体';
  background-color: #eee;
}

#print-area {
  width: 1000px;
  margin: 0 auto;
  padding: 40px 10px;
  box-sizing: border-box;
  background-color: #fff;
  min-height: 100vh;
}

.title {
  text-align: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.math-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  gap: 10px;
}

.math-item {
  text-align: center;
  height: 34px;
  line-height: 34px;
  color: black;
  /* border: 1px solid red; */
  width: calc(25% - 10px);
}

.dialog-wrap {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.dialog-container {
  width: 600px;
  height: 600px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.dialog-header {
  text-align: center;
  height: 30px;
  line-height: 30px;
  margin-bottom: 10px;
}

.dialog-content {
  flex: 1;
}

.dialog-footer {
  text-align: center;
  height: 80px;
}

.show {
  display: flex;
}

.form-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.form-item label {
  width: 100px;
  text-align: left;
}

.form-control {
  flex: 1;
  height: 30px;
  line-height: 30px;
  margin-left: 10px;
  padding: 4px;
  box-sizing: border-box;
}

.btn-primary {
  background-color: darkcyan;
  color: #fff;
  padding: 6px 10px;
  border: none;
  cursor: pointer;
}

.btn-default {
  background-color: #ccc;
  color: #fff;
  padding: 6px 10px;
  border: none;
  cursor: pointer;
}