/**
 * iFlows Order Checkout Styles
 *
 * @package iFlows_for_WooCommerce
 * @since 1.0.0
 */

.iflows-field-error {
    display: block;
    color: #e2401c;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.woocommerce-invalid.form-row {
    border-color: #e2401c;
}

.woocommerce-invalid.form-row input,
.woocommerce-invalid.form-row select {
    border-color: #e2401c;
    box-shadow: 0 0 0 1px #e2401c;
}

.iflows-helper-message {
    background: #f0f8ff;
    border: 1px solid #0073aa;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.iflows-helper-message span {
    color: #0073aa;
    display: block;
}

/* Info icon for helper messages */
.iflows-helper-message::before {
    content: "ⓘ ";
    font-weight: bold;
    margin-right: 4px;
}

.iflows-company-field,
.iflows-person-field {
    transition: opacity 0.3s ease, height 0.3s ease;
}

.iflows-company-field.hidden,
.iflows-person-field.hidden {
    display: none;
}

.validate-required label abbr.required {
    color: #e2401c;
    text-decoration: none;
    border: none;
}

.iflows-field-valid input {
    border-color: #46b450;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

#billing_customer_type_field select {
    font-weight: 500;
    cursor: pointer;
}

#billing_customer_type_field label {
    font-weight: 600;
}

#billing_cnp {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

#billing_cui {
    text-transform: uppercase;
}

#billing_reg_no {
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}
