.custom-need-form .popup-title.thank-message-text {
    margin-top: 30%;
}
.custom-need-form .thank-message-text {
    text-align: left;
}

.thankyou-btn-close{
float: right;
}

.custom-need-form .close-popup-btn {
    background: var(--global-primary-color) !important;
    color: var(--global-site-text-color)!important;
    transition: all .2s ease-out !important;
    overflow: hidden !important;
    z-index: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--global-primary-color) !important;
    border-radius: 30px;
    padding: 11px 32px;
    font-size: 16px;
    gap: 32px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}
.custom-need-form .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure popups are above other content */
}
.custom-need-form .popup-content {
    background: white;
    padding: 48px;
    width: 500px;         /* Increased width */
    height: 700px;        /* Increased height */
    border-radius: 0px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;     /* Enable vertical scroll */
    max-height: 90vh;     /* Prevent overflow outside viewport */
}
.custom-need-form .popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    cursor: pointer;
}
.custom-need-form .need-buttons {
    text-align: left;
    margin-bottom: 100px;
    padding: 0px;
}
.custom-need-form .button {
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #272936;
    border-radius: 30px;
    padding: 11px 32px;
    font-size: 16px;
    gap: 8px;
    transition: all .2s ease-out;
}
.custom-need-form .button:hover {
    color: #fff;
}

.custom-need-form .button--company {
    color: var( --global-site-text-color) !important;
    background-color: var(--global-primary-color) !important;
    font-weight: 400;
}

.custom-need-form .popup-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-need-form {
    animation: fadeIn 1s ease-in-out;
}

.custom-need-form .popup-overlay {
    animation: fadeIn 0.3s;
}
.custom-need-form .section--feedback .section-inner-feedback h2 {
    margin-bottom: 40px;
    font-size: 48px;
    font-weight: 500;
}
.custom-need-form .section--feedback .section-inner-feedback p {
    font-size: 36px;
    margin-bottom: 56px;
    font-weight: 400;
}
.custom-need-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    display:none;
}
.custom-need-form .popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 920px;
    max-width: 95%;
    max-height: 95%;
    overflow: auto;
    background: #fff;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    top: 232px !important;
}
.custom-need-form .popup-window--start {
    width: 100%;
}
.custom-need-form .popup-close i {
    font-size: 22px;
}
.custom-need-form .wpcf7-form-control wpcf7-submit has-spinner feedback-su {
    background:var(--global-primary-color);;
}
.custom-need-form .need-submit {
    background: var(--global-primary-color) !important;
    color: var(--global-site-text-color) !important;
    transition: all .2s ease-out !important;
    overflow: hidden !important;
    z-index: 1;
    display: inline-flex;
    justify-content: flex-end;
    border: 1px solid var(--global-primary-color) !important;
    border-radius: 30px;
    padding: 11px 32px;
    font-size: 16px;
    gap: 32px;
    position: relative;
 
    margin-top: 16px;

}
.custom-need-form .button.button.need-btn {
    display: flex;
    margin-bottom: 20px;
}
.custom-need-form a.button.popup-open.contact-us-btn {
    font-weight: 400;
}
.custom-need-form .need-form-popup .wpcf7-form label {
    color: #000 !important;
  font-size: 15px;
  font-weight: 400;
  background: #fff;
  transition: all .5s ease;
  padding-top: 10px;
}
.custom-need-form ::placeholder {
    color: #ccc !important;      
    font-size: 13px !important;  
    opacity: 1;                  
}
.custom-need-form .wpcf7 form.invalid .wpcf7-response-output {
    display: none !important;
}
.custom-need-form .feedback-form-main .wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    color: black;
    font-size: 16px;
    font-weight: 400;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
#need-form-loader {
  margin-left: 10px;
}
.custom-need-form #new-idea-popup .wpcf7 form.invalid .wpcf7-response-output,
.custom-need-form #feature-request-popup .wpcf7 form.invalid .wpcf7-response-output,
.custom-need-form #bug-report-popup .wpcf7 form.invalid .wpcf7-response-output,
.custom-need-form #new-idea-popup .wpcf7 form.unaccepted .wpcf7-response-output,
.custom-need-form #feature-request-popup .wpcf7 form.unaccepted .wpcf7-response-output,
.custom-need-form #bug-report-popup .wpcf7 form.unaccepted .wpcf7-response-output,
.custom-need-form #new-idea-popup .wpcf7 form.payment-required .wpcf7-response-output,
.custom-need-form #feature-request-popup .wpcf7 form.payment-required .wpcf7-response-output,
.custom-need-form #bug-report-popup .wpcf7 form.payment-required .wpcf7-response-output {
    display: none;
    border-color: #ffb900;
}


.need-form-main-btn-wrapper{
transition: all .2s ease-out;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: inline-flex
;
    align-items: center;
    justify-content: end;
    color: #272936;
    /* border: 1px solid #272936; */
    border-radius: 30px;
    /* padding: 11px 32px; */
    font-size: 16px;
    gap: 32px;
    width: -webkit-fill-available;
}

.need-form-main-btn-wrapper .wpcf7-spinner{
    display: flex !important;
}

.custom-need-form .need-submit:hover{
    background: #272936 !important;
    color: #fff !important;
    border: #272936 !important;
}

.custom-need-form-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto;
  gap: 24px;
}
.custom-need-form-col-left {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.custom-need-form-col-right {
  direction: ltr;
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  word-break: break-word;
}

.custom-need-form-col-right p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
} 

.custom-need-form .success-popup-overlay .popup-content{
    height: 400px;
}

@media screen and (max-width: 768px){
  .custom-need-form-row{
     display: block;
   
  }
  
  .custom-need-form{
      padding: 24px !important;
  }
  
  .custom-need-form-col-right p {
    padding: 16px 0 !important;
    margin: 0 !important;
  }
  
  .custom-need-form-col-right div {
    margin: 0 !important;
  }

  .custom-need-form .popup-content{
    width: 65%;
    height: auto;
    padding: 48px 24px;
    top: 0;
  }
  
  .custom-need-form .thank-message-text{
    padding: 0 !important;
  }
   
  .custom-need-form-main p {
    padding: 0 !important;
  }
}