/* Floating label container */
.gf-floating-label {
  position: relative !important;
}

/* Style for inputs and select dropdowns */
.gf-floating-label input,
.gf-floating-label select {
  width: 100%;
  padding: 16px 10px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
}

/* Label styling */
.gf-floating-label.removing-label label {
  top: 25px;
  left: 15px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  opacity: 0;
}

/* Update the existing label transition */
.gf-floating-label label {
  position: absolute;
  left: 15px !important;
  top: 25px;
  color: rgb(0, 0, 0, 0.5) !important;
  background: white;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 0 5px;
  transform-origin: left top;
}

/* When input has value or is focused */
.gf-floating-label input:focus + label,
.gf-floating-label input:not(:placeholder-shown) + label,
.gf-floating-label select:focus + label,
.gf-floating-label select.filled + label {
  top: -6px;
  left: 6px;
  font-size: 12px;
  color: #333 !important;
}


/** Country selector in Phone fields*/
button.iti__selected-country {
    background: none !important;
    padding: 0px !important;
}
button.iti__selected-country:hover {
    background: none !important;
    padding: 0px !important;
}


/*this is css for save and exit popup box*/

.gravity-popup-buttons button  {
	padding: 17px 40px !important;
	font-size: 14px !important;
	font-weight: 600;
	height: 54px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.gravity-popup-buttons {
	margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.gravity-popup-save-exit-content {
    padding: 15px !important;
    text-align: center !important;
    width: 400px !important;
    max-height: 400px;
    overflow-y: auto;
}

.gravity-popup-save-exit-content h3 {
	font-size: 20px !important;
	color: #0C1431 !important;
	font-weight: 600;
}

.gravity-popup-save-exit-content p {
	color: #0312188A !important;
}

.gravity-popup-ok {
	background-color: unset !important;
    color: black !important;
    border: 1px solid black !important;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
	width: 100%;
}



.gravity-popup-cancel-save-exit {
	color: white;
    background-color: rgb(28, 55, 100) !important;
    border: none;
}

.gravity-popup-cancel-save-exit:hover {
	background-color: #0b7ae0 !important;
}


@media only screen and (max-width: 460px) {
	.gravity-popup-buttons {
	flex-direction: column
	}
	
	.gravity-popup-ok {
		width: auto;
	} 
}


/* this is css for not display error */
body .gform_wrapper .gform_validation_errors{ display: none !important; }


/* this is scss for question popup box in esta */
.gravity-popup-box {
	    padding: 30px !important;
}

.gravity-popup-content,
.gravity-popup-content h3 {
	font-size: 15px !important;
	color: #000000;
	font-weight: bold;
} 

.gravity-popup-actions .gravity-popup-confirm,
.gravity-popup-actions .gravity-popup-cancel {
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: 2px;
    width: 46%;
    letter-spacing: 2px;
    font-weight: 600;
	padding: 15px 40px !important;
}

.e-font-icon-svg.e-fas-chevron-left {
	cursor: pointer;
}

@media only screen and (max-width: 576px) {
	.gravity-popup-actions {
		display: flex;
		flex-direction: column;
	}
	
	.gravity-popup-actions .gravity-popup-confirm,
	.gravity-popup-actions .gravity-popup-cancel {
		width: 100%;
	}
	
	.gravity-popup-box {
		overflow-y: scroll;
		height: 55vh;
	}
}

@media only screen and (max-width:460px) {
	.gravity-popup-box {
		max-width: 360px !important;
	} 
}

.gravity-popup-confirm {
background-color: #1C3764 !important;
}

.gravity-popup-cancel {
background-color: white !important;
border: 1px solid #1C3764 !important;
color: #1C3764 !important;
}