[v-cloak] {
  display: none;
}

body {
  background-color: #d0f0c0;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#app {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

h1 {
  margin: 0px;
  font-size: 40px;
}

ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

.title {
  padding: 10px;
  width: auto;
  display: flex;
  flex-direction: horizontal;
  justify-content: space-between;
  align-items: center;
}

.table-container {
  margin-top: 10px;
  width: 100vw;
  flex: 1;
  background-color: #d0f0c0;
}

.custom-column {
  background-color: #d0f0c0;
}

.custom-column .cell {
  width: 100%;
  height: 100%;
  color: black;
  font-size: 20px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 0 5px;
}

.custom-column:first-child .cell {
  text-align: center;
}

.custom-input .el-textarea__inner::placeholder {
  color: orange;
  opacity: 1;
}

.custom-input .el-textarea__inner {
  background: #d0f0c0;
}

.custom-input .el-input__count {
  background: #d0f0c0 !important;
}

.el-textarea__inner {
  font-size: 20px;
  line-height: 1.5;
}

.el-table {
  border: 1px solid black !important;
  height: 100%;
  overflow: hidden;
}

.el-table th {
  vertical-align: middle !important;
}

.el-table__cell {
  vertical-align: top !important;
}

/* 第一列姓名列内容垂直居中 */
.custom-column-first {
  vertical-align: middle !important;
}

.el-table__header th {
  border-right: 1px solid black !important;
  border-bottom: 1px solid black !important;
}

.el-table__body td {
  border-right: 1px solid black !important;
  border-bottom: 1px solid black !important;
}

.el-table__body tr {
  border-bottom: 1px solid black !important;
}

.el-table__body-wrapper {
  border: none;
}

/* 保持鼠标悬停时整行背景色不变 */
.el-table__body tr:hover {
  background-color: #d0f0c0 !important;
}

/* 确保每个单元格的背景色也保持一致 */
.el-table__body td {
  background-color: #d0f0c0 !important;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.photo-item {
  position: relative;
  padding-top: 100%;
}

.photo-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.dialog-image {
  width: 100%;
  height: auto;
}

.el-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.el-list-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.el-list-item:last-child {
  border-bottom: none;
}

.custom-link {
  position: relative;
  padding-left: 20px;
  font-size: 20px;
  line-height: 1.2;
  word-break: break-all;
}

.custom-link::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: black;
}
