.acb_security {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 20px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  gap: 24px;
  transition: all 0.3s ease;

  .acb_left h3 {
    display: flex;
    gap: 7px;
    align-items: center;
  }

  .acb_left {
    box-shadow: 7px 0px 12px 0px rgba(201, 201, 201, 0.47);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 1px 1px 1px 1px #008080;

    label {
      cursor: pointer;
    }

    .wpnts_isfree {
      display: flex;
      align-items: center;
    }

    .wpnts-switch-sitessecurityissues.settings-blocked-parents {
      display: flex;
      flex-direction: column;
      align-items: baseline;

      .settings-blocked {
        display: flex;
        text-align: center;
        margin-top: 35px;
        justify-content: left;
      }
    }

  }

  button.refresh-emer-ip {
    width: 160px;
    padding: 10px;
    border: none;
    background-color: teal;
    color: white;
    font-weight: bold;
    cursor: pointer;
    float: left;
    margin-top: 10px;
  }


  .acb_left,
  .acb_right,
  .acb_video {
    flex: 1;
    padding: 15px;
  }

  @media only screen and (max-width: 768px) {
    flex-direction: column;

    .acb_left,
    .acb_right,
    .acb_video {
      flex: 1;
      margin: 10px;
    }
  }

  .acb_left {
    h3 {
      margin-bottom: 10px;
    }

    .wpnts-switch-sitescriptmodification,
    .wpnts-switch-sitessecurityissues {
      margin-bottom: 35px;
      display: flex;
      align-items: center;
      position: relative;
      width: 95%;

      background: #FFFFFF;
      height: auto !important;
      padding: 14px;
      border-radius: 5px;

      &:hover {
        background: #f1f3f5;
      }

      label {
        margin-right: 10px;
        margin-left: 10px;
      }

      // PRO tag lock
      .wpnts_ispro.inactive {
        opacity: 0.5;
      }

      // PRO tag 
      p.PRO_TAG {
        left: 340px;
        color: white;
        background: #008080;
        position: absolute;
        padding: 4px 8px;
        color: white;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 500;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      p.NEW_TAGs {
        left: 360px;
        color: white;
        background: #147ed3;
        position: absolute;
        padding: 4px 8px;
        color: white;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 500;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .sitessecurity-supportSwitch-2,
      .sitessecurity-supportSwitch-3 {
        // position: absolute !important;
        right: 5px !important;
      }
    }

    svg.wcs_tooltip_icon {
      width: 15px;
      height: 15px;
    }
  }


  .wpnts-switch-sitessecurityissues.scan_uploaded_files_section {
    display: flex;
    flex-direction: column;
    align-items: baseline !important;

    .file-type {
      left: 365px !important;
      top: 13px;
    }

    .file-type-select {
      margin-top: 18px;
      margin-bottom: 10px;
    }

    button.add-file-type-btn {
      width: 126px;
      padding: 10px;
      border: none;
      background-color: teal;
      color: white;
      font-weight: 400;
      cursor: pointer;
      float: left;
      margin-top: 10px;
      font-size: 11px;
      border-radius: 7px;
    }
  }

  input#authorPaneltoMail {
    width: auto;
  }

  .formInput.global-apis {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .acb_right {
    .formInput {
      width: 60%;

      textarea {
        height: 150px;
      }

      input {
        width: 100%;
        padding: 5px;
        border: none;
        border-bottom: 1px solid gray;
        // background-color: #F0F0F1;

        &:focus {
          outline: none;
          box-shadow: none;
        }

      }

      .wpnts-setting {
        position: relative;

        .passimg {
          position: absolute;
          left: 90px;
          font-size: 18px;
          top: -19px;
        }
      }
    }

    .save-webhook {
      width: 160px;
      padding: 10px;
      border: none;
      background-color: teal;
      color: white;
      font-weight: bold;
      cursor: pointer;
      float: left;
      margin-top: 10px;
    }

    .formInput .wpnts-setting select {
      border: none;
      border-bottom: 1px solid;
      background-color: #f1f1f1;
      padding: 10px;
      font-size: 16px;
      color: #333;
      border-radius: 4px;
      appearance: none;
    }

    .formInput .wpnts-setting select:hover,
    .formInput .wpnts-setting select:focus {
      border-bottom: 2px solid;
      outline: none;
    }

    .formInput .wpnts-setting select::after {
      content: '\25BC';
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      pointer-events: none;
    }
  }

  .wpnts_ispro {
    align-items: center;
    display: flex;
  }

  .acb_video {
    .wcs-player-wrapper {
      position: relative;
      padding-top: 30%;
      border: 6px solid white;
      /* 16:9 aspect ratio */

      .wcs-react-player {
        position: absolute;
        top: 0;
        left: 0;
      }
    }
  }
}

// New Style add .wpnts-switch-download height auto
.parent-section {
  display: flex;
  flex-direction: column;

  .section-child {
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .formInput {
      display: flex;
      flex-direction: column;
      gap: 8px;

      label {
        font-size: 14px;
        font-weight: 500;
        color: #374151;
      }

      .wpnts-setting {
        .woo-select-fields {
          width: 100%;
          max-width: 200px;
          padding: 8px 12px;
          border: 1px solid #d1d5db;
          border-radius: 6px;
          background-color: #fff;
          color: #1f2937;
          font-size: 14px;
          transition: all 0.2s;

          &:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
            outline: none;
          }

          option {
            padding: 8px;
          }
        }

        .listofIP,
        .cidrrangeIP {
          width: 100%;
          min-height: 100px;
          padding: 12px;
          border: 1px solid #d1d5db;
          border-radius: 6px;
          font-family: monospace;
          font-size: 14px;
          line-height: 1.5;
          resize: vertical;
          background-color: #f9fafb;
          transition: all 0.2s;

          &:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
            outline: none;
          }
        }
      }
    }


  }
}



// Responsive Styles
@media screen and (max-width: 1024px) {
  .acb_security {
    flex-direction: column;
    padding: 16px;
    gap: 16px;

    .acb_left,
    .acb_right,
    .acb_video {
      width: 100%;
      padding: 16px;
    }

    .acb_right .formInput {
      width: 100%;
      max-width: none;
    }
  }
}

@media screen and (max-width: 768px) {
  .acb_security {

    .wpnts-switch-sitescriptmodification,
    .wpnts-switch-sitessecurityissues {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;

      p.PRO_TAG,
      p.NEW_TAG {
        position: static;
        display: inline-block;
        margin-top: 8px;
      }
    }

    .parent-section .section-child {
      margin-left: 20px;
    }
  }
}

@media screen and (max-width: 480px) {
  .acb_security {
    padding: 12px;

    .acb_left,
    .acb_right,
    .acb_video {
      padding: 12px;
    }

    .save-webhook {
      width: 100%;
    }

    .parent-section .section-child {
      margin-left: 0;

      select {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
      }
    }
  }
}