.toggle-switch {
  position: relative;
  display: inline-block;
  min-width: 40px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 30px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.checkbox_wrapper label {
  cursor: pointer;
}

input:checked + .slider {
  background-color: #AD1CFF;
}

input:checked + .slider::before {
  transform: translateX(20px);
}


.duwf-admin-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url(../img/bg-image.png);
    color: #fff;
    padding: 30px 30px;
    margin: 25px 20px 30px 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
}

.duwf-admin-header-icon {
    display: flex;
    align-items: center;
}

.duwf-admin-header-icon img {
    width: 60px;
    height: 60px;
    margin-right: 30px;
    border: 2px solid #fff;
    border-radius: 12px;

}

.duwf-main-wrapper {
  background: #FFFFFC;
  border-radius: 12px;
  margin: 30px 0px 30px 0px;
  padding: 20px 25px 20px 25px;

}

.duwf-admin-header-wrapper .wp-heading-Title {
    font-size: 40px !important;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.duwf-submit-btn input#submit {
    background: #AD1CFF !important;
    border: 1px solid #AD1CFF !important;
    border-radius: 12px !important;
    padding: 6px 30px;
    font-size: 14px;
    transition: .5s ease-in-out;
    outline: none !important;
    box-shadow: none !important;
    font-weight: bold;
}

.duwf-submit-btn input#submit:hover{
  background: transparent !important;
  color: #AD1CFF !important;
}

.duwf-description {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.duwf-details {
  padding-top: 0 !important;
  padding-left: 0 !important;
}

.duwf-description p {
  margin: 0 !important;
  font-size: 12px !important;
}

.duwf-note {
  color: #dc3545;
  font-weight: bold;
}


@media (max-width:782px){
  .duwf-main-wrapper .form-table th{
    width: 200px;
    display: table-cell;
    padding: 0px 0 0;
  }
  .duwf-details{
    display: table-cell !important;
    padding-bottom: 15px !important;
  }
  .duwf-description code{ 
    word-wrap: normal;
    word-break: normal;
  }
  
  
}

@media (max-width:767px){
    .duwf-description p {
        font-size: 11px !important;
    }
    .duwf-description code p:nth-child(1) {
        display: none;
    }
    div.duwf-description code {
        background-color: transparent !important;
        color: #26211e !important;
        padding: 0 !important;
    }
    .checkbox_wrapper {
        flex-flow: column;
        align-items: flex-start !important;
    }
    .duwf-main-wrapper tbody, .duwf-main-wrapper tr {
        display: block;
        width: 100%;
    }
    .duwf-main-wrapper .form-table th {
        padding-bottom: 10px;
    }
    .duwf-main-wrapper tr {
        padding-bottom: 20px;
    }
  .duwf-admin-header-wrapper .wp-heading-Title{
    font-size: 30px !important;
  }
  .duwf-admin-header-wrapper {
      padding: 20px 10px;
      margin: 25px 10px 30px 0px;
  }
  .duwf-admin-header-icon img{
    width: 40px;
    height: 40px;
  }
  .duwf-main-wrapper {
      padding: 20px 20px;
  }
  .duwf-admin-header-icon img{
    margin-right: 10px;
  }
}

@media (max-width:575px){
  .duwf-admin-header-wrapper .wp-heading-Title{
      font-size: 20px !important;
  }
  .duwf-submit-btn input#submit {
      padding: 3px 15px;
  }
  .duwf-submit-btn p.submit {
      padding-bottom: 0;
      padding-top: 0px !important;
      margin-top: 0px !important;
  }
}

@media (max-width:575px){
  .duwf-admin-header-wrapper .wp-heading-Title{
      font-size: 15px !important;
  }
}

.checkbox_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.checbkox_wrapper code {
    display: flex;
    border-radius: 30px;
    padding: 1px 10px;
    align-items: center;
    gap: 5px;
}

.duwf-description code {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.duwf-description code .duwf-note {
    transition: color 0.5s ease;
}
@media (max-width: 1251px) {
    .duwf-description code {
        align-items: flex-start !important;
    }
}
@media (max-width: 810px) {
    .duwf-description code {
        padding: 5px 15px !important;
    }
    .duwf-main-wrapper .form-table th {
    vertical-align: middle;
    }
}