#logAndSettings {
  display: flex; /* 使用Flex布局 */
  flex-wrap: nowrap; /* 确保子元素不会换行 */
  justify-content: space-between; /* 子元素间距平均分配 */
  width: 90%; /* 外层元素占满可用宽度 */
  background-color: transparent; /* 使外层元素盒子不可见 */
  padding: 0; /* 无内边距 */
  margin: 30px 5%; /* 按需求设置外边距 */
  height: 250px; /* 设置高度为200px */
}

#logAndSettings > #logContainer {
  width: 30%; /* 设置宽度为30% */
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px 8px rgba(183, 206, 237, 0.8);
}

#logAndSettings > #logContainer > #logArea {
  width: auto; /* 设置宽度为自适应 */
  height: 75%;
  background-color: #828489;
  border-radius: 10px;
  padding: 10px;
  overflow-y: auto; /* 设置垂直滚动条 */
  overflow-x: auto; /* 隐藏水平滚动条 */
  margin-top: 15px;
}

#logAndSettings > #logContainer .title {
  font-size: 25px;
  font-weight: bold;
  padding-right: 30px;
}

#logAndSettings > #logContainer > #titleAndSwitches {
  font-size: 25px;
  /* font-weight: bold; */
}

#logAndSettings > #settingsContainer {
  width: 65%; /* 设置宽度为65% */
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px 8px rgba(183, 206, 237, 0.8);
}

#loglevelSwitch{
  width: 50%;
}

#switchContainer{
  padding-right: 60px;
}

/* 开关的整体样式 */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* 隐藏默认的checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* 自定义的滑块 */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* 圆角滑块 */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-field input {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  background-color: #f5f0f0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 8px 16px;
  margin-right: -10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease-in-out;
  width: 100%;
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #a5dc86;
  box-shadow: none;
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

/* settingsContainer */
#settingsContainer > #fileActions{
  display: flex;
  justify-content: space-between;
  text-align: center;
}

#settingsContainer > #fileActions > #filename{
  font-size: 25px;
}

#promptContainer{
  padding: 0 1%;
}

#promptTitle{
  margin-bottom: 10px;
}

#translatePrompt{
  resize: none;
  height: 70px;
  width: 98%;

  font-size: 20px;
  padding: 10px;
  border: 2px solid #3e99fc;
  border-radius: 15px;
}

#tpmAndSoon{
  display: flex;
  justify-content: space-between;
}

#tpmAndSoon > div{
  width: 20%;
}

#tpmAndSoon > button{
  width: 20%;
  height: 40px;
  margin-top: 30px;
}