.acb_author {
  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;

  .wpnts_ispro {
    justify-content: left;
    align-items: center;
    display: flex;
  }

  // Global settings
  .formInput.global-apis {
    margin-bottom: 24px;
    margin-top: 8px;
    transition: all 0.3s ease;
  }

  .wpnts-setting.global-settings-checkbox {
    margin-top: 12px;
  }

  .formInput.global-settings-mode {
    display: none;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  input#useGlobalSettings,
  input#authorPaneltoMail {
    width: auto;
    margin-right: 12px;
    cursor: pointer;
  }

  // Left Section
  .acb_left {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    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;
    transition: all 0.3s ease;
    width: 50%;

    label {
      cursor: pointer;
    }

    &:hover {
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    h3 {
      display: flex;
      gap: 10px;
      align-items: center;
      font-size: 1.25rem;
      color: #1a1a1a;
      margin-bottom: 24px;
      position: relative;

      .wcs_title {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        cursor: pointer;
        transition: transform 0.2s ease;

        &:hover {
          transform: translateY(-50%) scale(1.1);
        }
      }
    }

    .wpnts-switch-review,
    .wpnts-switch-support,
    .wpnts-switch-download {
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      position: relative;
      width: 95%;
      // background: #f8f9fa;
      padding: 16px;
      border-radius: 8px;
      transition: all 0.2s ease;

      &:hover {
        background: #f1f3f5;
      }

      label {
        margin: 0 12px;
        color: #4a5568;
      }

      .wpnts_ispro.inactive {
        opacity: 0.6;
        filter: grayscale(1);
      }

      p.PRO_TAG {
        position: absolute;
        right: 16px;
        color: white;
        background: #008080;
        border-radius: 6px;
        font-size: 11px;
        padding: 4px 8px;
        box-shadow: 0 2px 4px rgba(0, 128, 128, 0.2);
      }

      p.NEW_TAG {
        position: absolute;
        right: 50px;
        top: 8px;
        color: white;
        background: #3182ce;
        border-radius: 6px;
        font-size: 11px;
        padding: 4px 8px;
        box-shadow: 0 2px 4px rgba(49, 130, 206, 0.2);
      }
    }

    .wpnts-switch-review.instant-review {
      margin-left: 24px;
      border-left: 2px solid #e2e8f0;
      padding-left: 24px;
    }

    svg.wcs_tooltip_icon {
      width: 16px;
      height: 16px;
      color: #718096;
      transition: color 0.2s ease;

      &:hover {
        color: #4a5568;
      }
    }
  }

  // Right Section
  .acb_right {
    flex: 1;
    padding: 20px;

    .formInput {
      width: 100%;
      max-width: 500px;

      textarea {
        height: 160px;
        width: 100%;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background-color: #f8f9fa;
        resize: vertical;
        transition: all 0.2s ease;

        &:focus {
          outline: none;
          border-color: #008080;
          box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
        }
      }

      input {
        width: 100%;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background-color: #f8f9fa;
        transition: all 0.2s ease;

        &:focus {
          outline: none;
          border-color: #008080;
          box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
        }
      }

      .wpnts-setting {
        position: relative;

        select {
          width: 100%;
          padding: 12px;
          border: 1px solid #e2e8f0;
          border-radius: 8px;
          background-color: #f8f9fa;
          appearance: none;
          cursor: pointer;
          transition: all 0.2s ease;
          padding-right: 32px !important;

          &:focus {
            outline: none;
            border-color: #008080;
            box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
          }

          &:hover {
            border-color: #008080;
          }
        }

        .passimg {
          position: absolute;
          right: 12px;
          top: 50%;
          transform: translateY(-50%);
          font-size: 18px;
          color: #4a5568;
          cursor: pointer;
        }
      }
    }

    .save-webhook {
      padding: 12px 24px;
      border: none;
      background-color: #008080;
      color: white;
      font-weight: 600;
      cursor: pointer;
      border-radius: 8px;
      margin-top: 16px;
      transition: all 0.2s ease;

      &:hover {
        background-color: #006666;
        transform: translateY(-1px);
      }
    }
  }

  // Video Section
  .acb_video {
    flex: 1;
    padding: 20px;

    .wcs-player-wrapper {
      position: relative;
      padding-top: 30%;
      border: 6px solid white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

      .wcs-react-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
    }
  }
}

// Parent Section Styles
.parent-section {
  display: flex;
  flex-direction: column;
  gap: 12px;

  .toogle-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .section-child {
    margin-left: 40px;
    padding: 12px;
    // background: #f8f9fa;
    border-radius: 6px;

    select {
      width: 100%;
      margin-left: 12px;
      padding: 8px;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      background-color: white;
      transition: all 0.2s ease;

      &:focus {
        outline: none;
        border-color: #008080;
      }
    }
  }
}

// Responsive Styles
@media screen and (max-width: 1024px) {
  .acb_author {
    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_author {

    .wpnts-switch-review,
    .wpnts-switch-support,
    .wpnts-switch-download {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;

      p.PRO_TAG,
      p.NEW_TAG {
        position: static;
        display: inline-block;
        margin-top: 8px;
      }
    }

    .wpnts-switch-review.instant-review {
      margin-left: 0;
      border-left: none;
      padding-left: 16px;
    }

    .parent-section .section-child {
      margin-left: 20px;
    }
  }
}

@media screen and (max-width: 480px) {
  .acb_author {
    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%;
      }
    }
  }
}