#iqb-acp-wrapper-settings {
  margin-top: 2em;
  padding: 1.5em;
  border: 1px solid #ccc;
  max-width: 100%;
  font-family: sans-serif;
  background-color: #f9f9f9;
  border-radius: 8px;
}

#iqb-acp-wrapper-train {
  margin-top: 2em;
  border: 1px solid #ccc;
  max-width: 100%;
  font-family: sans-serif;
  background-color: #fff;
  border-radius: 8px;
 }

#iqb-acp-toggle-settings {
  font-size: 30px;
  padding-top: 8px;
}

#iqb-acp-submit-translate, #iqb-acp-toggle-train, #iqb-acp-toggle-settings {
  margin-left: 15px;
}

.iqb-acp-button {
  border-radius: 48px !important;
  padding: 12px 16px !important;
  background-color: black !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  font-family: sans-serif !important;
  flex: 0 0 auto;
  width: 150px;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.form-row label {
  flex: 1;
  margin-right: 1em;
  font-weight: bold;
}

.form-row select {
  flex: 2;
  padding: 0.3em;
}

.form-row.checkbox-row {
  display: flex;
  align-items: center;
  margin-top: 1em;
}

.form-row.checkbox-row label {
  font-weight: normal;
  flex: none;
}

.iqb-acp-button-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}

#iqb-acp-progress-wrapper {
  margin-top: 1.5em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.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: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .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);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

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

.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin-bottom: 10px;
}

.splide__slide img {
  width: 100%;
  height: auto;
}

#iqb-acp-reading-time {
  flex: 2;
}
