/*
 * AWEB Licensing HostBill client-area UI
 * Version 0.6.4
 * All selectors are namespaced. No HostBill core/theme selector is modified.
 */
.aweb-license-client-card {
    --aweb-border: rgba(15,23,42,.12);
    --aweb-muted: #667085;
    --aweb-success-bg: #ecfdf3;
    --aweb-success-text: #027a48;
    --aweb-warning-bg: #fffaeb;
    --aweb-warning-text: #b54708;
    --aweb-danger-bg: #fef3f2;
    --aweb-danger-text: #b42318;
}

.aweb-license-client__key-tools {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin-left: 10px !important;
}

.aweb-license-client__copy,
.aweb-license-client__action {
    appearance: none;
    border: 1px solid var(--aweb-border);
    background: #fff;
    border-radius: 6px;
    padding: 7px 11px;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    color: #344054;
}
.aweb-license-client__copy { cursor: pointer; }
.aweb-license-client__copy:hover,
.aweb-license-client__copy:focus { background: #f8fafc; outline: none; }

.aweb-license-client__status {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px;
    margin-left: 10px !important;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    background: #f2f4f7;
    color: #475467;
}
.aweb-license-client__status[data-state="active"] { background: var(--aweb-success-bg); color: var(--aweb-success-text); }
.aweb-license-client__status[data-state="suspended"] { background: var(--aweb-warning-bg); color: var(--aweb-warning-text); }
.aweb-license-client__status[data-state="terminated"],
.aweb-license-client__status[data-state="revoked"] { background: var(--aweb-danger-bg); color: var(--aweb-danger-text); }

.aweb-license-client__management {
    display: block !important;
    width: 100% !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--aweb-border) !important;
}
.aweb-license-client__management-title {
    margin: 0 0 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #344054 !important;
}
.aweb-license-client__management-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.aweb-license-client__action[disabled] {
    cursor: not-allowed;
    opacity: .58;
    background: #f8fafc;
}

@media (max-width:720px) {
    .aweb-license-client__key-tools { margin-left: 6px !important; }
    .aweb-license-client__management-actions { width: 100% !important; }
}
