.steasy-company-results {
    position: fixed !important;
    z-index: 2147483647 !important;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    min-width: 280px;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(20, 34, 52, .16);
}

.steasy-company-results[hidden] { display: none !important; }

.steasy-company-result {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0;
    background: #fff;
    color: #172231;
    text-align: left;
    cursor: pointer;
}

.steasy-company-result:last-child { border-bottom: 0; }
.steasy-company-result:hover,
.steasy-company-result:focus,
.steasy-company-result.is-active {
    background: #f2f8fb;
    outline: none;
}

.steasy-company-name,
.steasy-company-address,
.steasy-company-number { display: block; }

.steasy-company-name { margin-bottom: 3px; font-size: 15px; }
.steasy-company-address { color: #526174; font-size: 13px; line-height: 1.35; }
.steasy-company-number { margin-top: 4px; color: #007fa3; font-size: 12px; font-weight: 600; }
.steasy-company-message { padding: 13px 14px; color: #526174; font-size: 13px; }
.steasy-company-message.is-error { color: #a32525; }

/* Empêche la liste Google Places de recouvrir celle des entreprises sur ce champ. */
body.steasy-company-active .pac-container { display: none !important; }

.steasy-company-results,
.steasy-company-results * {
    box-sizing: border-box !important;
}
.steasy-company-results {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
.steasy-company-result {
    min-height: 62px !important;
    white-space: normal !important;
}


/* Validation du numéro de TVA intracommunautaire WooCommerce. */
.steasy-vat-message {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}
.steasy-vat-message.steasy-vat-ok { color: #25843a; }
.steasy-vat-message.steasy-vat-error { color: #b42318; }
.steasy-vat-valid {
    border-color: #25843a !important;
    box-shadow: 0 0 0 1px #25843a inset !important;
}
.steasy-vat-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 1px #b42318 inset !important;
}


/* Validation du SIRET : aucun style tant que le champ est vide. */
.steasy-company-validation-message {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}
.steasy-company-validation-message.steasy-company-ok { color: #25843a; }
.steasy-company-validation-message.steasy-company-error { color: #b42318; }
.steasy-company-valid {
    border-color: #25843a !important;
    box-shadow: 0 0 0 1px #25843a inset !important;
}
.steasy-company-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 1px #b42318 inset !important;
}


/* Intégration visuelle Steasy */
.steasy-company-results {
  border-radius: 18px;
  border-color: rgba(12,159,190,.20);
  box-shadow: 0 20px 55px rgba(16,25,35,.15);
  overflow: hidden;
}
.steasy-company-result { padding: 14px 16px; }
.steasy-company-result:hover,
.steasy-company-result:focus,
.steasy-company-result.is-active { background: linear-gradient(135deg,#f0fbfd,#e7f7fb); }
.steasy-company-number { color: #0c9fbe; }
.steasy-company-valid,
.steasy-vat-valid { background-color: #f1fbf4 !important; }
.steasy-company-invalid,
.steasy-vat-invalid { background-color: #fff5f5 !important; }
