/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

div.ui-datepicker {
 font-size: 13px;
}

.quote-form {
    width: 100% !important;
	display: grid !important;
    gap: 16px;align-content !important;
}

/* Form Group Styling */
.quote-form .form-group {
    position: relative !important;
    margin-bottom: 0px !important;
	width: 100% !important;
	margin-top: 0px !important;
}

/* Remove padding and margin of <p> tag generated by Contact Form 7 */
.quote-form p, .contact-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Floating Label Styling */
.quote-form .form-group .floating-label
{
    position: absolute !important;
    top: 1.2rem !important; /* Adjust to cut through top border */
    left: 16px !important;
    background: #FFFFFF !important;
    padding: 0 6px !important;
    color: #EF4D4D !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    z-index: 1 !important;
    line-height: 1 !important; /* Keeps label compact */
}

.contact-form .form-group .floating-label
{
    position: absolute !important;
    top: 1.2rem !important; /* Adjust to cut through top border */
    left: 16px !important;
    background: #FFFFFF !important;
    padding: 0 6px !important;
    color: #EF4D4D !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    z-index: 1 !important;
    line-height: 1 !important; /* Keeps label compact */
}

/* Target the input field inside the wpcf7-form-control-wrap */
.quote-form .form-group .wpcf7-form-control-wrap input,
.contact-form .form-group .wpcf7-form-control-wrap input,
.contact-form .form-group .wpcf7-form-control-wrap textarea,
.quote-form .form-group .wpcf7-form-control-wrap select
{
    width: 100% !important;
    padding: 16px 14px !important;
    border: 2px solid #EF4D4D !important; /* Thicker border */
    border-radius: 25px !important; /* Rounded corners */
    outline: none !important;
    font-size: 16px !important;
    color: #333 !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 0 !important; /* Ensure input field stays under the label */
}

/* Submit Button Styling */
.quote-form input[type="submit"], .contact-form input[type="submit"] {
    width: 15rem !important;
    padding: 10px !important;
    border: none !important;
    border-radius: 25px !important;
    background: #EF4D4D !important;
    color: #fff !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
}

.quote-form input[type="submit"]:hover,
.contact-form input[type="submit"]:hover{
    background: #d44141 !important;
}

/* Contact Form */

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-form .form-group {
    width: 100%;
}

.contact-form .colmn-1 {
    flex: 1 1 30%; /* 1 column width for small fields on desktop */
}

.contact-form .colmn-2 {
    flex: 1 1 65%; /* 2 column width for larger fields on desktop */
}

.contact-form .hide-desktop {
        display: none;
    }

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .contact-form .colmn-1, .custom-form .colmn-2 {
        flex: 1 1 100%; /* Full width for all fields on mobile */
    }

    .contact-form .hide-mobile {
        display: none; /* Hide textarea on mobile */
    }
}

.contact-form .verification-group {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #FF6666;
    border-radius: 10px;
}

.contact-form .verification-group p {
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .quote-form, .contact-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .quote-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .quote-form {
        grid-template-columns: 1fr;
    }
}

.quote-form .elementor-3534 .elementor-element.elementor-element-b9f9c73 .ekit-form form .ekit-form-input, .elementor-3534 .elementor-element.elementor-element-b9f9c73 .ekit-form form select, .elementor-3534 .elementor-element.elementor-element-b9f9c73 .ekit-form form input{
	margin-bottom: 0px !important;
}

.quote-text p{
	margin-top: 1.5rem !important;
    color: #EF4D4D !important;
    font-family: "Roboto", Sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.quote-form-radio .form-group {
  display: flex;
  gap: 1rem;
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
	align-items: center !important;
}

.quote-form-radio  .form-group-radio {
  display: flex;
  gap: 1rem;
	align-items: center !important;
	
}

.quote-form-radio .form-group label {
  display: flex;
  gap: 0.5rem;
	align-items: center !important;
}

.quote-form-radio .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-form-radio input[type="radio"],
.contact-form-radio input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid ;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
  }

  /* Pink color when checked */
 .quote-form-radio input[type="radio"]:checked::before,
.contact-form-radio input[type="radio"]:checked::before{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	 border: 2px solid #EF4D4D;
    background-color: #EF4D4D;
    border-radius: 50%;
  }

 .quote-form-check input[type="checkbox"],
 .contact-form-check input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #EF4D4D;
    border-radius: 3px;
    cursor: pointer;
	margin-bottom: 0px !important;
  }

  /* Add a red background when checked */
  .quote-form-check input[type="checkbox"]:checked::before,
.contact-form-check input[type="checkbox"]:checked::before{
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #EF4D4D;
  }


/* .quote-form .wpcf7-file {
    
}

.quote-form .wpcf7-file:before {
    content: "⬇️ Choose File"  !important;
    font-size: 14px !important;
    color: #666 !important;
} */
