/* Main contact form container */
form#form_contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
form#form_contact-form div.ff-verification-wrapper-div {
	clear: both;
	margin: 0px 0 0 0;
}
form#form_contact-form div.ff-verification-wrapper-div .ff-verify-button{
	display:none;
}

.with_frm_style .frm_submit.ff-verification-wrapper {
	text-align: left !important;
}

#mainContent .frm_forms.with_frm_style .frm_submit.ff-verification-wrapper button.ff-verification-button {
	padding: 6px 20px !important
}

.frm_forms .frm_submit input#ff_verification_code_input {
	color: #000 !important;
}

/* Wrapper for verification field and button */
form#form_contact-form div.ff-verification-wrapper,
form#form_contact-form div.ff-verification-message {
    display: block;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 15px;
}

/* Ensure proper alignment and prevent layout breaks */
form#form_contact-form div.ff-verification-wrapper::after,
form#form_contact-form div.ff-verification-message::after {
    content: "";
    display: block;
    clear: both;
}

/* Input field for verification */
form#form_contact-form .ff-verification-input {
   width:250px !important;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #000 !important;
}

/* Send Verification Code button */
form#form_contact-form .ff-verification-button {
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    white-space: nowrap;
}

form#form_contact-form .ff-verification-button:hover {
    background-color: #005f8d;
}

/* Ensure the verification message does not break layout */
form#form_contact-form div.ff-verification-message {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    clear: both;
}

/* Success message */
form#form_contact-form div.ff-verification-message p {
    margin: 0;
}

form#form_contact-form div.ff-verification-message p.success {
    color: green;
}
form#form_contact-form div.ff-verification-message p.info {
    color: #F90;
}

form#form_contact-form div.ff-verification-message p.error {
    color: red;
}

form#form_contact-form div.ff-verification-message p.sending {
    color: blue;
}

.ff-timer {
	font-size: 12px;
	font-weight: bold;
	color: #ff3b30;
	background: rgba(255, 59, 48, 0.1);
	padding: 6px 12px;
	border-radius: 8px;
	display: none;
	letter-spacing: 1px;
	font-family: "Arial", sans-serif;
	position: relative;
	top: -30px;
}
.ff-send-new-code {
	color: blue;
	text-decoration: underline;
	font-weight: normal;
	cursor:pointer;
}
div.frm_error {
	color: red !important;
}



/* Mobile Styles */

/* =phone devices - portrait mode
----------------------------------------------- */

@media (min-width: 320px) and (max-width: 568px) and (orientation:portrait) {
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}

@media (min-width: 568px) and (max-width: 750px) and (orientation:portrait) {
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}

@media screen and (max-width: 640px) and (orientation: landscape){
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}

@media (max-width: 1200px) and (orientation:landscape) {
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}

@media only screen and (min-width : 768px) and (orientation : portrait) {
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}

@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}
}


/* =iPad device - landscape and portrait mode
----------------------------------------------- */

@media only screen and (min-width : 600px) and (max-width : 1024px) {
	@import url("main.css");

	form#form_contact-form .ff-verification-input {
		width: 100% !important;
	}

}