/* Minimal styling for the quote form */
.amerisentrade-quote-form .field{margin-bottom:12px}
.amerisentrade-quote-form label{display:block;margin-bottom:6px;font-weight:600}
.amerisentrade-quote-form input[type="text"],.amerisentrade-quote-form input[type="email"],.amerisentrade-quote-form textarea,.amerisentrade-quote-form select{width:100%;padding:8px;border:1px solid #ddd}
.amerisentrade-quote-form .note{font-size:12px;color:#666}
.amerisentrade-quote-form .result .success{color:green}
.amerisentrade-quote-form .result .error{color:red}

/* If intl-tel-input CSS fails to load, hide its country dropdown list so
	the raw list of countries doesn't show as plain text beside the form. */
.amerisentrade-quote-form .iti__country-list{display:none !important;}

/* Make sure intl-tel-input's separate dial-code doesn't block typing
   and that the real input receives pointer events. This fixes cases where
   the dial-code overlay can intercept clicks and prevent typing. */
.amerisentrade-quote-form .iti{position:relative}
.amerisentrade-quote-form .iti__flag{position:absolute;left:12px;top:50%;transform:translateY(-50%);} 

.nice-select ul.list {
    max-height: 400px;
    overflow-y: scroll !important;
    overflow: initial;
}

.page-content #amerisentrade-quote-form {
    margin: 60px 0;
}

.removemarz {
    margin:0 !important;
}

/* Style the message textarea to match the other input placeholders */
.amerisentrade-quote-form textarea{
    min-height: 120px;
    padding: 12px; /* match input padding visually */
    font-size: 16px;
    color: #666; /* input text color */
    border: 1px solid #ddd;
    background: #fff;
    resize: vertical;
    box-sizing: border-box;
}
.amerisentrade-quote-form textarea::placeholder{ color: #9b9b9b; font-weight: 400; opacity: 1; }
/* vendor placeholders */
.amerisentrade-quote-form textarea::-webkit-input-placeholder{ color:#9b9b9b }
.amerisentrade-quote-form textarea:-ms-input-placeholder{ color:#9b9b9b }
.amerisentrade-quote-form textarea::-ms-input-placeholder{ color:#9b9b9b }
.amerisentrade-quote-form textarea::-moz-placeholder{ color:#9b9b9b }
.amerisentrade-quote-form textarea:-moz-placeholder{ color:#9b9b9b }

/* Loader styles for the submit button */
.amerisentrade-quote-form .btn-loader{
    display:inline-block;vertical-align:middle;width:18px;height:18px;margin-left:8px;border-radius:50%;border:2px solid rgba(0,0,0,0.1);border-top-color:#333;animation:amerisentrade-spin .7s linear infinite;}
@keyframes amerisentrade-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.amerisentrade-quote-form button[disabled]{opacity:0.6;cursor:not-allowed}

/* Invalid field styling */
.amerisentrade-quote-form .field-error{outline:2px solid rgba(220,53,69,0.15);box-shadow:0 0 0 3px rgba(220,53,69,0.05);}
.amerisentrade-quote-form .field-error::placeholder{color:#d9534f}