/**
 * Gogodigital EU Vat Validation Frontend CSS
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to a commercial license
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://gogodigital.it
 *
 * @author Gogodigital S.r.l.s. <info@gogodigital.it>
 * @copyright Gogodigital S.r.l.s.
 * @license Commercial License
 */

/* VAT Validation Messages */
.vat-validation-message {
    display: block;
    margin-top: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.vat-validation-loading {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
}

.vat-validation-loading i {
    margin-right: 5px;
}

.vat-validation-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vat-validation-success i {
    color: #28a745;
    margin-right: 5px;
}

.vat-validation-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.vat-validation-error i {
    color: #dc3545;
    margin-right: 5px;
}

/* VAT Input States */
input.vat-valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

input.vat-invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.icon-spinner:before {
    content: "\f110";
}
