.round-name-div,
.details-title-div {
  margin: auto;
  /* margin-top: 15px; */
  margin-bottom: 5px;
  /* border: 2px solid var(--dark); */
  border-radius: 5px;
  padding: 10px 5% 10px 5%;
  width: 80%;
}
.round-name-div:target,
.details-title-div:target {
  border: 3px solid #ffd700;
}

.round-name-div:target:before,
.details-title-div:target:before {
  position: absolute;
  margin-top: -10px;
  margin-left: -50px;
  width: 50px;
  content: "->";
  font-size: var(--h2);
}

.round-name-div a,
.round-name-div a:link,
.round-name-div a:visited,
.round-name-div a:active,
.round-name-div a:hover {
  color: var(--text);
  text-decoration: none;
}
/* .round:not(.round:first-child) .round-name-div { */

.round-name-div > h2,
.details-title-div > h2 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.forbidden_problems,
.allowed_problems,
.rejections {
  flex-grow: 1;
  width: fit-content;
  max-width: 45%;
}
.more-details {
  opacity: 0.5;
}
.more-details,
.less-details {
  cursor: pointer;
}
.details-with-title > .more-details {
  display: block;
}
.details-with-title > .details,
.details-with-title > .less-details {
  display: none;
}
.details-with-title.more > .more-details {
  display: none;
}
.details-with-title.more > .details,
.details-with-title.more > .less-details {
  display: block;
}

.editable {
  caret-color: transparent;
}

.edited {
  background-color: #ebbc9078;
}

.dropdown-menu {
  position: absolute;
  border: 1px solid #ccc;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-item {
  padding: 8px 10px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.forbidden_problems .btn {
  visibility: hidden;
}

.forbidden_problems .problem-line[data-type="p"] .problem-eternal-rejected {
  visibility: visible;
}
.forbidden_problems .problem-line[data-type="t"] .problem-rejected {
  visibility: visible;
}
