/**
 * Admin styles for Classic Editor+ Settings
 */

.classic-editor-plus-settings .postbox {
  margin-bottom: 20px;
}

.classic-editor-plus-settings .inside {
  padding: 0 12px 12px;
}

.classic-editor-plus-settings .form-table th {
  padding: 15px 10px 15px 0;
  width: 200px;
}

.classic-editor-plus-settings .form-table td {
  padding: 15px 10px;
}

.classic-editor-plus-settings .description {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

/* Toggle switch styling */
.classic-editor-plus-settings .toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.classic-editor-plus-settings .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.classic-editor-plus-settings .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.classic-editor-plus-settings .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.classic-editor-plus-settings input:checked + .slider {
  background-color: #0073aa;
}

.classic-editor-plus-settings input:focus + .slider {
  box-shadow: 0 0 1px #0073aa;
}

.classic-editor-plus-settings input:checked + .slider:before {
  transform: translateX(26px);
}
