
body.settings_page_cc-smart-toc #wpbody-content{
  margin-left: -20px;
    width: calc(100% + 20px);
  }
.cc-smart-toc{
  padding:0;
  margin:0;
}
.cc-smart-toc h1{
  padding:24px 40px;
}
.cc-smart-toc h2{
 font-weight:700;
 font-size:1.2rem;
}

.cc-smart-toc .table-wrap{
   background:#fff;padding:2rem;border-radius:10px;
}
.cc-smart-toc-title{
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
    background: #3f9cff;
    box-shadow: 0 1px 1px rgba(49, 85, 156, 0.5);
  }

.cc-smart-toc .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.cc-smart-toc .switch input {
  opacity: 0 !important;
  width: 0;
  height: 0;
}

.cc-smart-toc .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cc-smart-toc .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.cc-smart-toc input:checked + .slider {
  background-color: #007cba;
}

.cc-smart-toc input:checked + .slider:before {
  transform: translateX(24px);
}


.cc-theme-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cc-theme-group {
  margin-bottom: 16px;
}

.cc-theme-group:not(:first-of-type){
  margin-top:2rem;
}
.cc-theme-group-title {
  font-weight: 600;
  margin: 6px 0 10px;
  font-size: 13px;
}

.cc-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px;
}

.cc-theme-swatch {
  box-sizing: border-box;
  width: 60px;
  padding: 2px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-swatch-colors {
  display: flex;
  width: 100%;
  height: 22px;
  overflow: hidden;
  border-radius: 4px;
}

.cc-swatch-colors span {
  flex: 1;
}

.cc-swatch-label {
  display: none;
}

.cc-theme-radio:checked + .cc-theme-swatch {
  border-color: #2271b1;
  box-shadow: 0 0 0 5px rgba(34, 113, 177, 0.25);
  border-color:transparent;
}

.cc-theme-swatch:hover {
  border-color: #2271b1;
}

.cc-theme-radio:focus + .cc-theme-swatch {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 113, 177, 0.35);
}

.cc-toc-theme-picker {
  max-width: 100%;
}

.cc-preview-num{
  font-family:serif;
}


.cc-preview-toc-title{
  font-size:20px;
  font-weight:500;
  margin-bottom:2rem;

}

.cc-settings-two-col{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cc-settings-main{
  flex: 1 1 0;
  min-width: 0;
}

.cc-settings-preview{
  margin-top:100px;
  width:460px;
  position: sticky;
  top: 50px;
  background:#fff;
}

.cc-preview-toc-title{
display:flex;
  justify-content:space-between;
}
.cc-preview-text:hover{
  text-decoration-line:underline;
}

@media (max-width: 1200px){
  
.cc-settings-main{
  flex:1 0 100%;
} 
  .cc-settings-preview{
    position: static;
    margin-top: 24px;
  }
}

.cc-theme-preview-wrap{
  padding:2rem;
  background:#fff;
}

.cc-theme-preview{
  padding:30px 30px;
  height:480px;
  border-radius:8px;
}
.cc-preview-head{
  margin-bottom:1rem;
}

.cc-preview-h2{
  margin-bottom:10px;
  font-size:16px;
}

.cc-preview-h3{
 margin-left:2ch;
 margin-bottom:10px;
 font-size:14px;
}

.cc-preview-h4{
  font-size:12px;
 margin-left:4ch;
 margin-bottom:10px;
}
.cc-preview-h5{
  font-size:12px;
  margin-left:6ch;
  margin-bottom:10px;
}