/* Popup wrapper */
.get-in-touch-popup {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  display: none;
  opacity: 0;
  inset: 0;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  -webkit-overflow-scrolling: touch;
}
.get-in-touch-popup.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.get-in-touch-popup .popup-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.get-in-touch-popup .popup-box {
  position: relative;
  background: #fff;
  max-width: 840px;
  width: 84%;
  display: flex;
  border-radius: 0px;
  overflow: hidden;
  z-index: 10000;
  transform: translateY(-30px);
  transition: transform 0.4s ease;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.get-in-touch-popup.show .popup-box {
    transform: translateY(0);
}
#get-in-touch-popup .popup-box > * {
  -webkit-overflow-scrolling: touch;
}
/* Acceptance checkbox styling */
.wpcf7-acceptance .wpcf7-list-item{
  margin-left: 0px;
}
.wpcf7-acceptance .wpcf7-list-item label{
    display: flex !important;
    align-items: flex-start;
}

/* Checkbox */
.wpcf7-acceptance input[type="checkbox"] {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Label text */
.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.4;
    color: #000; /* match your form text color */
}
.get-in-touch-popup .popup-close {
  position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    font-size: 44px;
    cursor: pointer;
    z-index: 1;
    padding: 12px;
    line-height: 20px;
    width: 44px;
    height: 44px;
}
.get-in-touch-popup .popup-close:hover {
    background-color: #000000;
    color: #ffffff;
}
.wpcf7-form-control-wrap{
  display: block;
}
.get-in-touch-popup .wpcf7 form .wpcf7-response-output{
	margin: 0px;
	margin-bottom: 10px;
}
.get-in-touch-popup .wpcf7-spinner{
	position: absolute;
    right: -10px;
    top: 13px;
}
.get-in-touch-popup .form-group input, .get-in-touch-popup .form-group textarea{
	padding: 10px;
}
@media screen and (max-width: 768px){
  .get-in-touch-popup .popup-close{
    top: 0px;
    right: 0px;
    color: #ffffff;
  }
  .form-group input, .form-group textarea{
    padding: 11px;
  }
  .form-row.two-col .form-group {
    flex: 1 1 100%;
    padding-right: 0px;
  }
  .form-row.two-col .form-group:not(:last-child){
    margin-bottom: 15px;
  }
}