/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 /* Global Style */
 @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
    --thp-primary: #cb4da5 ;
    --thp-title-color: #333333;
    --thp-font-color: #4c564c;
    --thp-whiter: #ffffff;
    --thp-border-color: #d5dcf5;
    --thp-danger: #cb2027;
    --thp-transition: all .3s;
}

html {
    font-size: 100%;
    overflow-y: scroll; /* 1 */
    min-height: 100%;
  }

  
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1em;   /* 1 */
    line-height: 1.5; /* 2 */
    color: #444;
  }
  
  /* Page wrapper */
  .wrapper {
    width: 90%;
    max-width: 800px;
    margin: 4em auto;
    text-align: center;
  }
  
  /* Icons */
  .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    fill: currentcolor;
  }
  
  /* Headings */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #222;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.333;
    text-rendering: optimizeLegibility;
  }
  
  /**
   * Modals ($modals)
   */
  
  /* 1. Ensure this sits above everything when visible */
  .thp-generate-content {
      position: absolute;
      z-index: 10000; /* 1 */
      top: 0;
      left: 0;
      visibility: hidden;
      width: 100%;
      height: 100%;
     
    }
  
  .thp-generate-content.is-visible {
      visibility: visible;
  }
  .toplevel_page_text-humanizer-settings > .wp-menu-image img {
        width: 25px;
        height: 25px;
        margin: -5px;
        text-align: center;
    }
  .thp-modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
  }
  
  .thp-generate-content.is-visible .thp-modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  
  .thp-modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 6em;
    width: 105em;

    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 15px;
    max-width: 750px;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
  
  .thp-modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
  }
  
  .thp-generate-content.is-visible .thp-modal-transition {
    transform: translateY(0);
    opacity: 1;
  }
  
  .thp-modal-header,
  .thp-modal-content {
    padding: 1em;
  }
  
  .thp-modal-header {
    position: relative;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    padding: 16px 50px 16px 30px;
    border: none;
    background-color: #F4F7FF;
    border-radius: 15px 15px 0 0;
    margin: 5px 5px 0;
  }

  
  .thp-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1em;
    color: #aaa;
    background: none;
    border: 0;
  }
  
  .thp-modal-close:hover {
    color: #fff;
  }
  
  .thp-modal-heading {
    font-size: 1.125em;
    margin: 15;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .thp-modal-content > *:first-child {
    margin-top: 0;
  }
  
  .thp-modal-content > *:last-child {
    margin-bottom: 0;
  }

  
/*Page Content*/
.thp-main-wrapper {
    width: calc(100% - 20px);
    padding: 30px 0;
    font-size: 16px;
    line-height: 1.5;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}
.thp-page-content {
    /* margin: 0 auto 20px; */
    position: relative;
    width: 100%;
    max-width: 610px;
}
.thp-page-content.thp-api-setting-page {
    margin: 0 auto;
}
.thp-tutorial-video {
    background-color: #fff;
    max-width: 830px;
    width: 100%;
    padding: 40px 30px 40px;
    border-radius: 10px;
    margin-right: auto;
}
.thp-from-wrapper {
    padding: 30px 30px 30px;
}
/* Input Style */
.thp-input-wrapper {
    position: relative;
    margin: 0 0 20px;
    width: 100%;
}
.thp-input-wrapper label {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    text-transform: capitalize;
    color: var(--thp-font-color);
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.thp-input-wrapper textarea,
.thp-input-wrapper input, 
.thp-input-wrapper select {
    width: 100%;
    min-height: 45px;
    border: 1px solid #cb4da533;
    padding: 0 20px;
    font-size: 13px;
    border-radius: 5px;
    max-width: 100%;
    box-shadow: 0 0 40px 0 rgb(0 0 0 / 3%);
    background-color: #F4F7FF;
}
.thp-input-wrapper select, 
.thp-input-wrapper option {
    cursor: pointer;
    text-transform: capitalize;
}
.thp-input-wrapper textarea {
    min-height: 220px;
    padding: 10px 20px;
}
.thp-input-wrapper textarea:focus,
.thp-input-wrapper input:focus,
.thp-input-wrapper select:focus {
    border-color: var(--thp-primary);
    box-shadow: none;
}
.thp-input-wrapper select:hover {
    color: var(--thp-title-color);
}
.thp-input-wrapper>span {
    display: inline-block;
    width: 100%;
    margin: 6px 0 0;
    font-weight: 500;
    color: var(--thp-font-color);
    font-size: 12px;
}
.thp-input-wrapper>span a {
    color: var(--thp-primary);
}
.thp-form-title .thp-link {
    float: right;
    font-size: 12px;
    color: var(--thp-whiter);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.thp-form-wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background: var(--thp-whiter);
    padding: 40px 30px 40px;
    border-radius: 10px;
    margin: 0 0 0;
}
.thp-btn-wrapper {
    width: 100%;
    display: flex;
}
.thp-btn {
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    font-weight: 600;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
    color: var(--thp-whiter);
    background-color: var(--thp-primary);
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    min-width: 100px;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(90deg, #cb4da5 0%, #cb4da5 100%);
}
.thp-btn:hover {
    color: var(--thp-whiter);
}
.thp-btn:before {
    background-color: var(--thp-whiter);
    content: "";
    height: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    top: 0;
    transition: all 1.6s cubic-bezier(.19, 1, .22, 1);
    width: 100px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
}
.thp-btn:hover:before {
    transition: all 1.3s cubic-bezier(.19, 1, .22, 1);
    opacity: .25;
    transform: scale(2);
}
.thp-btn:focus {
    outline: 0 !important;
    box-shadow: none;
    color: var(--thp-whiter);
}
/* Page Title */
.thp-page-title {
    margin: 0 0 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.thp-page-title h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    color: var(--thp-title-color);
    line-height: 1.2;
    text-align: left;
}
.thp-form-field {
    width: 100%;
    background: rgb(128 50 255 / 1%);
    padding: 30px 30px;
    border: 1px solid rgb(203 77 165 / 20%);
    border-radius: 10px;
}
/* alert start */
.thp-form-field .thp-btn {
    width: 100%;
}
.thp-alert-wrap {
    position: fixed;
    right: 50px;
    top: 50px;
    max-width: 450px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
    -moz-transition: all 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
    transition: all 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.thp-alert-wrap.thp-error,
.thp-alert-wrap.thp-success {
    opacity: 1;
    visibility: visible;
}

.thp-alert-wrap>p {
    background-color: var(--thp-whiter);
    box-shadow: 0px 0px 30px 0px rgba(18, 224, 215, 0.1);
    border-radius: 5px;
    padding: 15px 20px;
    margin: 0;
    color: #9ca2ab;
    font-size: 16px;
    position: relative;
    padding-left: 80px;
    -webkit-animation: alertanim 0.3s;
    -moz-animation: alertanim 0.3s;
    animation: alertanim 0.3s;
}

.thp-alert-wrap.thp-error>p {
    box-shadow: 0px 0px 30px 0px rgba(18, 224, 215, 0.1), inset 0px -5px 0px #fe5c31;
}

.thp-alert-wrap>p::before {
    content: "Yeay!";
    font-size: 16px;
    font-weight: bold;
    display: block;
    color: #0e141b;
}

.thp-alert-wrap>p::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.thp-alert-wrap.thp-error>p::before {
    content: "Duhh!";
}

.thp-alert-wrap.thp-error>p::after {
    background-image: url(../images/thp-sad.png);
}

.thp-alert-wrap.thp-success>p::after {
    background-image: url(../images/thp-happy.png);
}

.thp-alert-wrap.thp-success>p {
    box-shadow: 0px 0px 30px 0px rgba(18, 224, 215, 0.1), inset 0px -5px 0px #54cc7c;
}
button.thp-generate-content-copy, button.thp-humanize-copy-icon  {
    border: none;
    background-color: var(--thp-primary);
    box-shadow: -7px 10px 20px 0px rgb(203 77 165 / 30%);
    border-radius: 5px;
    min-width: 90px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    max-width: 100px;
    width: 100%;
    display: flex;
    gap: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 auto 30px;
}

/**/
.thp-link {
    display: inline-block;
    position: relative;
    margin: 10px 0 0;
    font-size: 13px;
    text-decoration: none !important;
    color: var(--thp-title-color);
    font-weight: 500;
}
.thp-link:hover {
    color: var(--thp-primary);
}
.thp-link:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: var(--thp-primary);
    border-radius: 20px;
    width: 100px;
}
.thp-link:hover:before {
    width: 100%;
}
.thp-link:hover:before,
.thp-link:hover,
.thp-link,
.thp-link:before {
    transition: all .3s;
}
.thp-btn img {
	display: none;
	vertical-align: text-bottom;
	margin-left: 5px;
	height: 16px;
}
.others-settings.d-none{
	display: none
}
.azon-powered-by {
    text-align: right;
    font-size: 11px;
    font-weight: 600;
}
div#azon-meta-boxes .inside {
    max-width: 860px;
    width: 100%;
    margin: auto;
}

button#thp-humanize-content-editor {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: 0 0 30px rgb(0 0 0 / 27%);
    padding: 15px 40px;
    font-size: 15px;
}

/**/
/* checkbox  */
.thp-checkbox-wrapper label {
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
    color: #9A9A9A;
}
.thp-checkbox-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    grid-gap: 6px;
    height: fit-content;
    margin: 0 0 15px;
}
.thp-checkbox-wrapper input {
    position: absolute;
    left: 0;
    opacity: 0;
    width: 14px;
    height: 14px;
    margin: 0;
    z-index: 1;
    cursor: pointer;
}
.thp-checkbox-wrapper label {
    padding-top: 3px;
}
 .thp-checkbox-wrapper span::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex: none;
    border: 1px solid #C9C9C9;
    transition: all 0.3s;
    display: inline-block;
    vertical-align: middle;
}
.thp-checkbox-wrapper>span::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 3px;
    width: 8px;
    height: 4px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    -moz-transform: rotate(-45deg) scale(0);
    transform: rotate(-45deg) scale(1);
    opacity: 0;
}
img {
    max-width: 100%;
}
.thp-checkbox-wrapper>input:checked~span::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
}
.thp-checkbox-wrapper>input:checked~span::before {
    background: var(--thp-primary);
    border: 1px solid var(--thp-primary);
}
.thp-checkbox-wrapper input:checked ~ span ~ label {
    color:var(--thp-primary)
}
.thp-checkbox-wrapper input:before {
	display: none;
}
.thp-checkbox-wrapper input[type="checkbox"] {
    margin: 0;
    line-height: 1;
}
.thp-page-title {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.thp-page-title p {
    margin: 0;
    font-size: 15px;
    color: #595166;
}
.thp-page-title img {
    max-height: 60px;
    border-radius: 10px;
    padding: 5px 10px;
    background: #000;
    margin: 0 0 20px;
}
.thp-form-field.thp-content-generate {
    width: 100%;
    background: rgb(128 50 255 / 1%);
    padding: 30px 30px 10px;
    border: 1px solid rgb(128 50 255 / 10%);
    border-radius: 10px;
    margin-top: 20px;
    max-width: 650px;
}
.thp-modal-close {
    display: inline-block;
    font-size: 15px;
    padding: 0;
    background-color: #FF6550;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    color: var(--thp-whiter);
    font-weight: 700;
    line-height: normal;
    text-shadow: none;
    opacity: 1;
    top: 10px;
    right:10px;
    cursor: pointer;
}
.d-none{
    display: none;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #e2e8f8;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--thp-primary);
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
[type="radio"]:checked + label::before {
    border-color: var(--thp-primary);
}
.thp-toltip-main {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.thp-input-wrapper label {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    text-transform: capitalize;
    color: var(--thp-font-color);
    width: 100%;
    display: flex;
    gap: 5px; /* Adjust gap for better alignment */
    align-items: center;
}

.thp-tooltip {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.thp-tooltip img {
    width: 14px;
    height: 14px;
}

/* Tooltip Styling */
.thp-tooltip .thp-tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    width: auto; /* Allows expansion */
    min-width: 100px; /* Ensures small text isn't too narrow */
    max-width: 260px; /* Restricts large text */
    font-size: 12px;
    bottom: 125%; /* Positions tooltip above */
    left: 50%;
    transform: translateX(-50%);
    white-space: normal; /* Allows text wrapping */
    word-wrap: break-word;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Adds a slight shadow */
}

/* Tooltip Arrow */
.thp-tooltip .thp-tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* Places the arrow below the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: black transparent transparent transparent; /* Creates a downward arrow */
}

/* Show tooltip on hover */
.thp-tooltip:hover .thp-tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Custom styling for the TinyMCE Humanize button */
.mce-btn.mce-th_mce_button {
    font-size: 12px;
    display: inline-flex;
    justify-content: center;
    font-weight: 600;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
    color: var(--thp-whiter) !important;
    background-color: var(--thp-primary) !important;
    padding: 6px 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    min-width: 100px;
    text-align: center;
    text-decoration: none;
} 
span#selected-word-count{
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0 !important;
    display: block;
}
.mce-btn.mce-th_mce_button:hover {
    color: var(--thp-whiter);
    box-shadow: none !important;
}
.mce-btn.mce-th_mce_button:before {
    background-color: var(--thp-whiter) !important;
    content: "";
    height: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    top: 0;
    transition: all 1.6s cubic-bezier(.19, 1, .22, 1);
    width: 100px;
    border-radius: 50%;
    opacity: 0;
    /* transform: scale(0); */
}
.mce-btn.mce-th_mce_button:hover:before {
    transition: all 1.3s cubic-bezier(.19, 1, .22, 1);
    opacity: .25;
    transform: scale(2);
}
.mce-btn.mce-th_mce_button:focus {
    /* outline: 0 !important; */
    /* box-shadow: none; */
    color: var(--thp-whiter) !important;
}
.mce-btn.mce-th_mce_button img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    z-index: 999999999;
}
.mce-btn.mce-th_mce_button i.mce-ico.mce-i-none {
    margin-right: 2px;
}
.mce-btn.mce-th_mce_button .mce-txt {
    color: var(--thp-whiter) !important;
}
.mce-btn.mce-th_mce_button img.thp-preloader {
    margin-left: 6px;
    margin-right: 0;
}
.thp-disabled-btn {
    cursor: no-drop;
}
img.thp-preloader {
    width: 25px;
    height: 25px;
}
#thp-word-count{
    font-weight: bold;
    color:  red;
    margin: 10px 0px;
}
.thp-radio-main{
    display: flex;
    gap: 25px;
}                   
.thp-wrapper-full{
    display: flex;
    align-items: center;
}

li#toplevel_page_thp-settings .wp-menu-image img {
    width: 20px;
    height: 20px;
}
.thp-page-content.thp-api-document-page .thp-page-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thp-page-title h5 a{
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    font-weight: 600;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 6px;
    color: var(--thp-whiter);
    background-color: var(--thp-primary);
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    min-width: 100px;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(90deg, #cb4da5 0%, #cb4da5 100%);
}
.texthumanizer_page_thp-documentation .thp-page-title h1{
    margin-bottom: 20px;
}
.texthumanizer_page_thp-documentation .thp-page-title {
    margin: 0;
    margin-top: 20px;
}
.texthumanizer_page_thp-documentation .thp-page-title h5{
    margin: 0;
    margin-top: 20px;
}