/**
 * Admin styles for Autocomplete Address for WooCommerce.
 *
 * Replaces the inline styles previously emitted by the admin settings tab,
 * the network settings page, and the Maps health notice.
 */

/* Wide text inputs (API key, license key). */
.cpai-field-wide {
    width: 400px;
}

/* License key input + button + badge on one line. */
.cpai-license-control {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* API key input + Verify button on one line. */
.cpai-api-key-control {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* AJAX status message next to the Verify button. */
.cpai-verify-message {
    margin-top: 5px;
    display: block;
}

/* License status badge. */
.cpai-license-badge {
    display: inline-block;
    padding: 6px 10px;
    line-height: 2.15384615;
    min-height: 30px;
    box-sizing: border-box;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    vertical-align: middle;
    background: #666;
}

.cpai-license-badge--licensed {
    padding: 0;
    min-height: 0;
    background: none;
    color: #4ab866;
    font-weight: 600;
    font-size: 14px;
}

.cpai-license-badge--expired {
    background: #cc1818;
}

.cpai-license-badge--none {
    background: transparent;
    color: #cc1818;
    font-weight: 600;
    font-size: 14px;
}

/* License type chip (Agency / Single Site) shown next to an active badge. */
.cpai-license-badge--type {
    padding: 2px 8px;
    min-height: 0;
    line-height: 1.6;
    background: #2271b1;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* "Managed via network" note next to the badge. */
.cpai-license-managed-note {
    margin-left: 6px;
    color: #666;
    font-style: italic;
    vertical-align: middle;
}

/* Description shown when a subsite inherits the network license. */
.cpai-license-override-desc {
    margin: 0 0 8px;
}

/* AJAX status message next to the activate/deactivate button. */
.cpai-license-message {
    margin-top: 5px;
    display:block
}

/* Inline warning flagging the shipping toggle as inactive. */
.cpai-inactive-warning {
    color: #cc1818;
    display: block;
    margin-top: 5px;
}

/* "Pro" badge in the label cell flagging premium-only rows when no license is active. */
.cpai-pro-row th.titledesc::after {
    content: "Pro";
    display: inline-block;
    padding: 1px 7px;
    margin-left: 6px;
    border-radius: 3px;
    background: #fad54f;
    color: #4f4e4e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
.cpai-pro-row #cpai_autocomplete_enable_for_shipping{
    background: rgb(187, 187, 187);
    border-color: rgb(187, 187, 187)
    
}
.cpai-pro-row td fieldset{
    color:#b2b2b2

}

/* Maps auth-failure notice. */
.cpai-maps-notice-list {
    list-style: disc;
    margin-left: 20px;
}

.cpai-maps-notice-docs {
    margin-left: 8px;
}
