#settings {
  height: 100%;
}
#dialog-setting {
  position: absolute;
  background-color: #3a393a;
  overflow: auto;
  z-index: 99;
  right: 0;
  top: 0;
  color: white;
  border-radius: 2px;
  width: 50%;
  height: 100%;
  animation: slide-in 0.5s ease-in;
}

.settings-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background-color: #1f1f1f; /* First column background color */
  height: 100vh;
}
.settings-links {
  padding: 0;
  margin-top: 6rem;
}
.settings-links li {
  list-style-type: none;
  padding: 0.5rem 0;
}
.settings-links li:hover {
  background-color: #3a393a;
  cursor: pointer;
}
.settings-links a {
  padding: 0 0.5rem;
  text-decoration: none;
  color: white;
}

.column {
  padding: 1.5rem 0;
  box-sizing: border-box;
  overflow: auto;
}

.settings-links-column {
  background-color: #1f1f1f; /* First column background color */
}

.settings-components {
  position: relative;
  background-color: #3a393a; /* Second column background color */
}

.component-links {
  list-style: none;
  padding: 0;
  margin-top: 6rem;
}


.component-links a {
  text-decoration: none;
  color: white;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  transition: background-color 0.3s;
}

.component-links a:hover {
  background-color: #3a393a;
}
.component-links i {
  margin-right: 0.25rem;
}

.component-code {
  display: none;
  margin-top: 6rem;
  padding: 0 1rem;
}
.call-component-code {
  display: none;
  padding: 0 1rem;
}

/* Show the active component code */
.location-highlight .component-code {
  display: block;
}
.settings-title {
  display: flex;
  align-items: center;
  font-size: large;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
  padding: 0 0.5rem;
}
.settings-title img {
  display: none;
}
.settings-cancel {
  display: flex;
  justify-content: end;
  align-items: center;
  font-size: large;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
  padding-left: 0.5rem;
}
.active-link {
  background-color: #3a393a;
}
.setting-error {
  position: absolute;
  top: 3rem;
}
.login-settings-video {
  height: 12rem;
}
#Permission {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.Permission {
  display: flex;
  flex-direction: column;
  height: 65%;
  width: 50%;
  border-radius: 1rem;
  background-image: linear-gradient(to bottom, #515051 30%, #464446 80%);
  padding: 3rem 2rem;
}
.Permission-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: x-large;
}
.Permission-title,
.Permission-description {
  color: white;
}
.Permission-btn {
  color: white;
  background-color: transparent;
  border: none;
}
.highlight-word {
  color: #fbb03a;
}
@media screen and (max-width: 77em) {
  .Permission-title {
    font-size: large;
  }
}
@media screen and (max-width: 60.5em) {
  .Permission-title {
    font-size: medium;
  }
  .Permission {
    width: 60%;
  }
}
@media screen and (max-width: 47em) {
  #dialog-setting {
    width: 70vw;
  }
  .Permission {
    width: 70%;
  }
}
@media screen and (max-width: 32em) {
  .Permission {
    width: 90%;
  }
}
@media screen and (max-width: 37.5em) {
  .settings-container {
    grid-template-columns: 1fr 4fr;
  }
  #dialog-setting {
    width: 100vw;
  }
  .component-link span {
    font-size: 0.8rem;
    display: none;
  }
  .component-conference-link span {
    font-size: 0.8rem;
  }
  .changeRole-container {
    display: flex;
  }
  #changeRole label {
    font-size: 0.9rem;
    margin: 0 0.5rem;
  }
  .participant-table label {
    font-size: 0.7rem;
  }
  .disconnect-message {
    font-size: 0.8rem;
  }
  #presentation label {
    font-size: 0.8rem;
  }
  .settings-title span {
    display: none;
  }
  .settings-title img {
    display: block;
  }
  .component-links a {
    justify-content: center;
  }
  .login-settings-video {
    height: 12rem;
  }
  .Permission-title {
    font-size: small;
  }
}
@media screen and (max-width: 26.5em) {
  .Permission-title {
    font-size: 0.7rem;
  }
}
