/**
 * Book a Free Consultation Theme
 * Version: 2.0
 * File: teraforms/assets/css/theme-consultation.css
 * Visual styling only - no layout overrides (display, width, flex controlled by admin)
 */

/* Container Styling - Visual only */
.teraforms-form-wrapper.theme-consultation {
    max-width: 100%;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.teraforms-form-container{
    border-radius: 23px 23px 23px 23px !important;
}

.teraforms-field.half-width{
	flex:1 1 calc(49% - 0.75rem) !important;
}

/* Form Title Styling */
.teraforms-form-wrapper.theme-consultation .form-title {
    text-align: center;
    margin-bottom: 60px;
    gap: 12px;
	display:flex;
	justify-content: center; /* centers horizontally */
   align-items: center;     /* centers vertically */
}

.phone-flag{display:none !important}

.teraforms-form-wrapper.theme-consultation .form-title-icon {
    border-radius: 4px;
    color: white;
    font-size: 26px;
	border:solid 2px #333;
}

.teraforms-form-wrapper.theme-consultation .form-title-text {
    font-size: 2.3rem;
    font-weight: 700;
	width:auto;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: inline;
    font-weight: 900;
}

/* Form Fields Container - Visual spacing only */
.teraforms-form-wrapper.theme-consultation .teraforms-form-fields {
    gap: 24px;
}

/* Field Styling - Visual only, no display override */
.teraforms-form-wrapper.theme-consultation .teraforms-field {
    gap: 8px;
}

/* Labels Styling */
.teraforms-form-wrapper.theme-consultation label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.teraforms-form-wrapper.theme-consultation label input,
.teraforms-form-wrapper.theme-consultation label span{
	display:inline-block
}

.teraforms-form-wrapper.theme-consultation label span{
	margin:0 10px;
	font-weight: 400;
	line-height: 20px;
}

.teraforms-form-wrapper.theme-consultation textarea{
	margin-bottom:0
}

.teraforms-form-wrapper.theme-consultation label .required {
    color: #ff0000;
    margin-left: 4px;
}

/* Input Fields Visual Styling */
.teraforms-form-wrapper.theme-consultation input[type="text"],
.teraforms-form-wrapper.theme-consultation input[type="email"],
.teraforms-form-wrapper.theme-consultation input[type="tel"],
.teraforms-form-wrapper.theme-consultation input[type="number"],
.teraforms-form-wrapper.theme-consultation select,
.teraforms-form-wrapper.theme-consultation textarea {
    padding: 14px 16px;
    font-size: 16px;
    color: #1a1a1a;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
/*     transition: all 0.2s ease; */
    font-family: inherit;
    box-sizing: border-box;
	height: 55px !important;
}

/* In theme-consultation.css - update select styles */
.teraforms-form-wrapper.theme-consultation select {
    
    /* iOS Fix - keep native appearance */
    -webkit-appearance: menulist;
    appearance: menulist;
    
    /* Ensure it's clickable */
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.teraforms-form-wrapper.theme-consultation input::placeholder,
.teraforms-form-wrapper.theme-consultation textarea::placeholder {
    color: #999999;
    opacity: 1;
}
.teraforms-form-wrapper.theme-consultation textarea::placeholder {
    color: #b8b8b8;
}

/* Focus States */
.teraforms-form-wrapper.theme-consultation input[type="text"]:focus,
.teraforms-form-wrapper.theme-consultation input[type="email"]:focus,
.teraforms-form-wrapper.theme-consultation input[type="tel"]:focus,
.teraforms-form-wrapper.theme-consultation input[type="number"]:focus,
.teraforms-form-wrapper.theme-consultation select:focus,
.teraforms-form-wrapper.theme-consultation textarea:focus {
    outline: none;
    border-color: #cfcfce;
    background: #ffffff;
/*     box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1); */
}

/* Phone Number Field - Visual padding only */
.teraforms-form-wrapper.theme-consultation .teraforms-phone-input {
    padding-left: 50px;
}

/* Select Dropdown Styling */

/* .teraforms-form-wrapper.theme-consultation select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23444' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 0.75rem) center;
  background-size: 10px 6px;
  padding-right: 2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: none !important; 
}

.teraforms-form-wrapper.theme-consultation select:focus {
  outline: none;
  box-shadow: none;
  border-color: #888; 
} */

/* Textarea Styling */
.teraforms-form-wrapper.theme-consultation textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}


/* Error Messages Styling */
.teraforms-form-wrapper.theme-consultation .teraforms-error,
.teraforms-form-wrapper.theme-consultation .error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 4px;
}

.teraforms-form-wrapper.theme-consultation input.error,
.teraforms-form-wrapper.theme-consultation select.error,
.teraforms-form-wrapper.theme-consultation textarea.error {
/*     border-color: #d32f2f;
    background: #fff5f5; */
}

.teraforms-form-wrapper.theme-consultation input.error:focus,
.teraforms-form-wrapper.theme-consultation select.error:focus,
.teraforms-form-wrapper.theme-consultation textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Submit Button Styling */
.teraforms-form-wrapper.theme-consultation button[type="submit"],
.teraforms-form-wrapper.theme-consultation input[type="submit"],
.teraforms-form-wrapper.theme-consultation .teraforms-submit {
    background: #ff9800;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.teraforms-form-wrapper.theme-consultation button[type="submit"]:hover,
.teraforms-form-wrapper.theme-consultation input[type="submit"]:hover,
.teraforms-form-wrapper.theme-consultation .teraforms-submit:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.teraforms-form-wrapper.theme-consultation button[type="submit"]:active,
.teraforms-form-wrapper.theme-consultation input[type="submit"]:active {
    transform: translateY(0);
}

.teraforms-form-wrapper.theme-consultation button[type="submit"]:disabled,
.teraforms-form-wrapper.theme-consultation input[type="submit"]:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.teraforms-error-message{
	margin-top: 0 !important;
	font-weight:400 !important
}

.teraforms-field label
.teraforms-field input, 
.teraforms-field textarea{
	
}

.teraforms-form-wrapper.theme-consultation .teraforms-field.error .teraforms-input, 
.teraforms-form-wrapper.theme-consultation .teraforms-field.error .teraforms-textarea, 
.teraforms-form-wrapper.theme-consultation .teraforms-field.error .teraforms-select{
	margin-bottom:0 !important;
	border:1px solid #ccc;
	font-weight: 400;
}

/* Success/Error Messages Styling */
.teraforms-form-wrapper.theme-consultation .teraforms-message,
.teraforms-form-wrapper.theme-consultation .teraforms-success,
.teraforms-form-wrapper.theme-consultation .teraforms-error-message {
    font-size: 14px;
}

.teraforms-form-wrapper.theme-consultation .teraforms-success {
/*     background: #e8f5e9; */
    color: #2e7d32;
/*     border: 1px solid #a5d6a7; */
}

.teraforms-form-wrapper.theme-consultation .teraforms-error-message {
/*     background: #ffebee; */
    color: #c62828;
/*     border: 1px solid #ef9a9a; */
}

/* Loading State */
.teraforms-form-wrapper.theme-consultation.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Checkbox and Radio Styling */
.teraforms-form-wrapper.theme-consultation input[type="checkbox"],
.teraforms-form-wrapper.theme-consultation input[type="radio"] {
    cursor: pointer;
/*     accent-color: #ff9800; */
}

/* Responsive Design - Visual adjustments only */
@media (max-width: 768px) {
    .teraforms-form-wrapper.theme-consultation {
        padding: 40px 24px;
        margin: 20px 16px;
    }
	
	.teraforms-form-wrapper.theme-consultation .form-title{
		display:block
	}
	
	.teraforms-form-wrapper.theme-consultation .form-title-icon{
		border:none;
		font-size: 20px;
	}
	
    .teraforms-form-wrapper.theme-consultation .form-title-text {
    }
	
	.teraforms-field.error .teraforms-error-message,
	.teraforms-form-wrapper.theme-consultation label span{
		line-height: 1.2;
	}

    .teraforms-form-wrapper.theme-consultation button[type="submit"],
    .teraforms-form-wrapper.theme-consultation input[type="submit"],
    .teraforms-form-wrapper.theme-consultation .teraforms-submit {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .teraforms-form-wrapper.theme-consultation {
        padding: 0;
        margin: 25px 0;
    }

    .teraforms-form-wrapper.theme-consultation .form-title-text {
		font-size: 26px;
        line-height: 28px;
        text-align: left;
    }
	
	.teraforms-form-actions{
		text-align:center
	}
	
    .teraforms-form-wrapper.theme-consultation input[type="text"],
    .teraforms-form-wrapper.theme-consultation input[type="email"],
    .teraforms-form-wrapper.theme-consultation input[type="tel"],
    .teraforms-form-wrapper.theme-consultation input[type="number"],
    .teraforms-form-wrapper.theme-consultation select,
    .teraforms-form-wrapper.theme-consultation textarea {
        padding: 12px 14px;
        font-size: 16px; /* Must be 16px+ to prevent iOS Safari auto-zoom on focus */
    }
}
.teraforms-form-actions .teraforms-submit-btn
{
	border-radius: 12px !important;
    background: linear-gradient(135deg, #f08f00 0%, #ffae37 100%);
    border: #ffa726 !important;
    color: #fff !important;
    font-size: 18px !important;
    min-height: 54px !important;
    padding: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    transform: translateY(0) !important;
}
@media (max-width: 599px) {
    .teraforms-form-actions .teraforms-submit-btn {
        width: 100% !important;
    }
}

.teraforms-form-actions .teraforms-submit-btn:hover {
    background: linear-gradient(135deg, #d97e00 0%, #f0a020 100%);
    transform: translateY(-2px) !important;
}

.teraforms-financing-note {
    margin: 8px 0 16px;
    padding: 10px 14px;
    background: #f0faf4;
    border-left: 3px solid #28a745;
    border-radius: 6px;
    color: #1a5c30;
    font-size: 14px;
    line-height: 1.5;
}
.teraforms-financing-note p {
    margin: 0;
}

.teraforms-form-actions .teraforms-submit-btn:active {
    background: linear-gradient(135deg, #d97e00 0%, #f0a020 100%);
    transform: translateY(1px) !important;
}

.teraforms-form-wrapper.theme-consultation input[type=radio]{
	    width: 26px;
}

.teraforms-form-wrapper.theme-consultation input[type=checkbox]{

    width: 25px;
	margin:-3px 0 0;
}

/* Print Styles */

@media print {
    .teraforms-form-wrapper.theme-consultation {
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }
}

::placeholder {
  font-weight: normal;
  opacity: 0.7; /* optional, makes it look lighter */
}

::-webkit-input-placeholder {
  font-weight: normal;
}

:-ms-input-placeholder {
  font-weight: normal;
}

::-ms-input-placeholder {
  font-weight: normal;
}
