* {
  margin: 0;
  padding: 0;

  font-size: 14px;
}

body {
  height: calc(100vh - 20px);
  padding: 10px 20px;

  background-color: rgb(240, 236, 233);
}

a {
  text-decoration: none;
  color: red;
}
a:hover {
  color: gray;
}

.button {
  display: inline-block;

  width: 90px;
  height: 40px;

  text-align: center;
  line-height: 40px;

  border: 2px solid black;
}
.green-bg-btn {
  color: white;

  background-color: rgb(92, 184, 92);
}
.red-bg-btn {
  color: white;

  background-color: rgb(217, 83, 79);
}

#header {
  display: flex;
  align-items: center;

  height: 25px;
  margin-bottom: 10px;
}
.header-line {
  height: 3px;
  width: calc(45% - 150px);
  margin: auto 0;

  background-color: rgb(192, 156, 122);
}
#header-title {
  height: 25px;
  margin: 0 auto;

  line-height: 25px;
  color: rgb(145, 145, 145);
  font-size: 25px;
  font-weight: normal;
}

#edit-bar {
  height: 40px;
  margin-bottom: 15px;
}
#edit-bar #add-btn {
  margin-right: 5px;
}

#container {
  height: calc(100% - 140px);
  margin-bottom: 10px;

  overflow-y: auto;
}

#table {
  width: 100%;
  margin-bottom: auto;

  border-spacing: 0;
}

#table tr#table-header {
  background-color: rgb(218, 222, 225);
}

#table tr.info:nth-child(even) {
  background-color: white;
}
#table tr.info:nth-child(odd) {
  background-color: rgb(238, 241, 248);
}
#table tr.info:has(:hover) {
  background-color: mistyrose;
}

#table th {
  height: 60px;

  line-height: 60px;
}

#table td {
  height: 45px;

  line-height: 45px;
  text-align: center;
}
#table td #browse {
  margin-right: 10px;
}

#overview-bar {
  display: inline-block;

  height: 40px;

  line-height: 40px;
}
#overview-bar #last-page-btn {
  margin-right: 5px;
}

#browse-bar {
  float: right;
}

#dialog-container {
  position: fixed;
  top: 0;
  left: 0;

  display: none;
  align-items: center;
  justify-content: center;

  height: 100%;
  width: 100%;

  background-color: rgb(0, 0, 0, 0.3);
}

#dialog {
  height: 510px;
  width: 600px;

  background-color: white;
}

#dialog-header {
  padding: 0 20px;

  background-color: rgb(85, 85, 85);
}
#dialog-header-title {
  height: 40px;

  line-height: 40px;
  font-size: 20px;
  color: white;
}

#dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: calc(100% - 140px);
  padding: 20px;
}

#dialog-content div {
  margin: auto;

  font-weight: bold;
}
#dialog-content div label {
  margin-right: 20px;
}
#dialog-content div input {
  width: 200px;
}

#dialog-control-bar {
  float: right;

  height: 60px;
  padding: 10px 30px;
}
#dialog-control-bar #confirm-btn {
  margin-right: 5px;
}
