.abcclaim-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-right: 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* Keep the claim/reclaim header action visually aligned with HumHub Space header
   buttons such as Join, Follow and Invite. Do not use btn-sm here. */
.profile-header .abcclaim-header-action,
.space-header .abcclaim-header-action,
.controls-header .abcclaim-header-action {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 20px;
}

.abcclaim-header-icon,
.abcclaim-shield {
    display: inline-flex;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.abcclaim-header-icon svg,
.abcclaim-shield {
    width: 18px;
    height: 18px;
}

.abcclaim-header-icon svg path:first-child,
.abcclaim-shield path:first-child {
    fill: currentColor;
}

.abcclaim-header-mark,
.abcclaim-shield-mark {
    fill: #fff;
}

.abcclaim-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    background: rgba(0, 0, 0, .06);
}

.abcclaim-badge-verified {
    color: #18864b;
}

.abcclaim-badge-claim_pending,
.abcclaim-badge-reclaim_pending {
    color: #a66b00;
}

.abcclaim-badge-verification_expired,
.abcclaim-badge-verification_revoked {
    color: #666;
}

.abcclaim-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.abcclaim-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.abcclaim-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.abcclaim-stat-label {
    color: #6b7280;
    font-size: 13px;
}

.abcclaim-privacy-note {
    padding: 12px;
    border-left: 4px solid #21a9c9;
    background: #f3fbfd;
    margin-bottom: 15px;
}

.abcclaim-header-action-server {
    vertical-align: middle;
}

.controls-header > .abcclaim-header-action {
    margin-left: 0;
    margin-right: 8px;
}

.abcclaim-header-action.disabled {
    pointer-events: auto;
    cursor: default;
}

.abcclaim-header-action-js {
    margin-left: 8px;
    margin-right: 0;
}

.abcclaim-header-fallback {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 5;
}

.profile-header,
.space-header {
    position: relative;
}

@media (max-width: 767px) {
    .abcclaim-header-label {
        display: inline;
    }

    .abcclaim-header-fallback {
        position: static;
        margin-top: 10px;
        text-align: right;
    }
}
